Class corresponding to the NasalStateData schema type. More...
#include <PatientActions.hxx>

Public Member Functions | |
virtual | ~NasalStateData () |
Destructor. More... | |
![]() | |
virtual | ~ObjectData () |
Destructor. More... | |
const contentVersion_optional & | contentVersion () const |
Return a read-only (constant) reference to the attribute container. More... | |
contentVersion_optional & | contentVersion () |
Return a read-write reference to the attribute container. More... | |
void | contentVersion (const contentVersion_type &x) |
Set the attribute value. More... | |
void | contentVersion (const contentVersion_optional &x) |
Set the attribute value. More... | |
void | contentVersion (::std::unique_ptr< contentVersion_type > p) |
Set the attribute value without copying. More... | |
ObjectData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ObjectData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ObjectData (const ObjectData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ObjectData & | operator= (const ObjectData &x) |
Copy assignment operator. More... | |
TotalNasalDose | |
Accessor and modifier functions for the TotalNasalDose required element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarMassData | TotalNasalDose_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< TotalNasalDose_type, char > | TotalNasalDose_traits |
Element traits type. More... | |
const TotalNasalDose_type & | TotalNasalDose () const |
Return a read-only (constant) reference to the element. More... | |
TotalNasalDose_type & | TotalNasalDose () |
Return a read-write reference to the element. More... | |
void | TotalNasalDose (const TotalNasalDose_type &x) |
Set the element value. More... | |
void | TotalNasalDose (::std::unique_ptr< TotalNasalDose_type > p) |
Set the element value without copying. More... | |
UnreleasedDrugMasses | |
Accessor and modifier functions for the UnreleasedDrugMasses sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarMassData | UnreleasedDrugMasses_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< UnreleasedDrugMasses_type > | UnreleasedDrugMasses_sequence |
Element sequence container type. More... | |
typedef UnreleasedDrugMasses_sequence::iterator | UnreleasedDrugMasses_iterator |
Element iterator type. More... | |
typedef UnreleasedDrugMasses_sequence::const_iterator | UnreleasedDrugMasses_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< UnreleasedDrugMasses_type, char > | UnreleasedDrugMasses_traits |
Element traits type. More... | |
const UnreleasedDrugMasses_sequence & | UnreleasedDrugMasses () const |
Return a read-only (constant) reference to the element sequence. More... | |
UnreleasedDrugMasses_sequence & | UnreleasedDrugMasses () |
Return a read-write reference to the element sequence. More... | |
void | UnreleasedDrugMasses (const UnreleasedDrugMasses_sequence &s) |
Copy elements from a given sequence. More... | |
ReleasedDrugMasses | |
Accessor and modifier functions for the ReleasedDrugMasses sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarMassData | ReleasedDrugMasses_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< ReleasedDrugMasses_type > | ReleasedDrugMasses_sequence |
Element sequence container type. More... | |
typedef ReleasedDrugMasses_sequence::iterator | ReleasedDrugMasses_iterator |
Element iterator type. More... | |
typedef ReleasedDrugMasses_sequence::const_iterator | ReleasedDrugMasses_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< ReleasedDrugMasses_type, char > | ReleasedDrugMasses_traits |
Element traits type. More... | |
const ReleasedDrugMasses_sequence & | ReleasedDrugMasses () const |
Return a read-only (constant) reference to the element sequence. More... | |
ReleasedDrugMasses_sequence & | ReleasedDrugMasses () |
Return a read-write reference to the element sequence. More... | |
void | ReleasedDrugMasses (const ReleasedDrugMasses_sequence &s) |
Copy elements from a given sequence. More... | |
Substance | |
Accessor and modifier functions for the Substance required attribute. | |
typedef ::xml_schema::string | Substance_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Substance_type, char > | Substance_traits |
Attribute traits type. More... | |
const Substance_type & | Substance () const |
Return a read-only (constant) reference to the attribute. More... | |
Substance_type & | Substance () |
Return a read-write reference to the attribute. More... | |
void | Substance (const Substance_type &x) |
Set the attribute value. More... | |
void | Substance (::std::unique_ptr< Substance_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
NasalStateData () | |
Default constructor. More... | |
NasalStateData (const TotalNasalDose_type &, const Substance_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
NasalStateData (::std::unique_ptr< TotalNasalDose_type >, const Substance_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
NasalStateData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
NasalStateData (const NasalStateData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual NasalStateData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
NasalStateData & | operator= (const NasalStateData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
![]() | |
typedef ::xml_schema::string | contentVersion_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< contentVersion_type > | contentVersion_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< contentVersion_type, char > | contentVersion_traits |
Attribute traits type. More... | |
Detailed Description
Class corresponding to the NasalStateData schema type.
Member Typedef Documentation
typedef ReleasedDrugMasses_sequence::const_iterator mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses_const_iterator |
Element constant iterator type.
typedef ReleasedDrugMasses_sequence::iterator mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< ReleasedDrugMasses_type > mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< ReleasedDrugMasses_type, char > mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarMassData mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses_type |
Element type.
typedef ::xsd::cxx::tree::traits< Substance_type, char > mil::tatrc::physiology::datamodel::NasalStateData::Substance_traits |
Attribute traits type.
Attribute type.
typedef ::xsd::cxx::tree::traits< TotalNasalDose_type, char > mil::tatrc::physiology::datamodel::NasalStateData::TotalNasalDose_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarMassData mil::tatrc::physiology::datamodel::NasalStateData::TotalNasalDose_type |
Element type.
typedef UnreleasedDrugMasses_sequence::const_iterator mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses_const_iterator |
Element constant iterator type.
typedef UnreleasedDrugMasses_sequence::iterator mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< UnreleasedDrugMasses_type > mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< UnreleasedDrugMasses_type, char > mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarMassData mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::NasalStateData::NasalStateData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::NasalStateData::NasalStateData | ( | const TotalNasalDose_type & | TotalNasalDose, |
const Substance_type & | Substance | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::NasalStateData::NasalStateData | ( | ::std::unique_ptr< TotalNasalDose_type > | TotalNasalDose, |
const Substance_type & | Substance | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version).
This constructor will try to use the passed values directly instead of making copies.
mil::tatrc::physiology::datamodel::NasalStateData::NasalStateData | ( | const ::xercesc::DOMElement & | e, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Create an instance from a DOM element.
- Parameters
-
e A DOM element to extract the data from. f Flags to create the new instance with. c A pointer to the object that will contain the new instance.
mil::tatrc::physiology::datamodel::NasalStateData::NasalStateData | ( | const NasalStateData & | x, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Copy constructor.
- Parameters
-
x An instance to make a copy of. f Flags to create the copy with. c A pointer to the object that will contain the copy.
For polymorphic object models use the _clone
function instead.
|
virtual |
Destructor.
Member Function Documentation
|
virtual |
Copy the instance polymorphically.
- Parameters
-
f Flags to create the copy with. c A pointer to the object that will contain the copy.
- Returns
- A pointer to the dynamically allocated copy.
This function ensures that the dynamic type of the instance is used for copying and should be used for polymorphic object models instead of the copy constructor.
Reimplemented from mil::tatrc::physiology::datamodel::ObjectData.
NasalStateData & mil::tatrc::physiology::datamodel::NasalStateData::operator= | ( | const NasalStateData & | x | ) |
Copy assignment operator.
- Parameters
-
x An instance to make a copy of.
- Returns
- A reference to itself.
For polymorphic object models use the _clone
function instead.
const NasalStateData::ReleasedDrugMasses_sequence & mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
NasalStateData::ReleasedDrugMasses_sequence & mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::NasalStateData::ReleasedDrugMasses | ( | const ReleasedDrugMasses_sequence & | s | ) |
Copy elements from a given sequence.
- Parameters
-
s A sequence to copy elements from.
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.
const NasalStateData::Substance_type & mil::tatrc::physiology::datamodel::NasalStateData::Substance | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
NasalStateData::Substance_type & mil::tatrc::physiology::datamodel::NasalStateData::Substance | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::NasalStateData::Substance | ( | const Substance_type & | x | ) |
Set the attribute value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the attribute.
void mil::tatrc::physiology::datamodel::NasalStateData::Substance | ( | ::std::unique_ptr< Substance_type > | p | ) |
Set the attribute value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const NasalStateData::TotalNasalDose_type & mil::tatrc::physiology::datamodel::NasalStateData::TotalNasalDose | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
NasalStateData::TotalNasalDose_type & mil::tatrc::physiology::datamodel::NasalStateData::TotalNasalDose | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::NasalStateData::TotalNasalDose | ( | const TotalNasalDose_type & | x | ) |
Set the element value.
- Parameters
-
x A new value to set.
This function makes a copy of its argument and sets it as the new value of the element.
void mil::tatrc::physiology::datamodel::NasalStateData::TotalNasalDose | ( | ::std::unique_ptr< TotalNasalDose_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
const NasalStateData::UnreleasedDrugMasses_sequence & mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
NasalStateData::UnreleasedDrugMasses_sequence & mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::NasalStateData::UnreleasedDrugMasses | ( | const UnreleasedDrugMasses_sequence & | s | ) |
Copy elements from a given sequence.
- Parameters
-
s A sequence to copy elements from.
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.