Class corresponding to the AnesthesiaMachineChamberData schema type. More...
#include <Anesthesia.hxx>
Public Member Functions | |
virtual | ~AnesthesiaMachineChamberData () |
Destructor. More... | |
State | |
Accessor and modifier functions for the State optional element. | |
typedef ::mil::tatrc::physiology::datamodel::enumOnOff | State_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< State_type > | State_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< State_type, char > | State_traits |
Element traits type. More... | |
const State_optional & | State () const |
Return a read-only (constant) reference to the element container. More... | |
State_optional & | State () |
Return a read-write reference to the element container. More... | |
void | State (const State_type &x) |
Set the element value. More... | |
void | State (const State_optional &x) |
Set the element value. More... | |
void | State (::std::unique_ptr< State_type > p) |
Set the element value without copying. More... | |
SubstanceFraction | |
Accessor and modifier functions for the SubstanceFraction optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarFractionData | SubstanceFraction_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< SubstanceFraction_type > | SubstanceFraction_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< SubstanceFraction_type, char > | SubstanceFraction_traits |
Element traits type. More... | |
const SubstanceFraction_optional & | SubstanceFraction () const |
Return a read-only (constant) reference to the element container. More... | |
SubstanceFraction_optional & | SubstanceFraction () |
Return a read-write reference to the element container. More... | |
void | SubstanceFraction (const SubstanceFraction_type &x) |
Set the element value. More... | |
void | SubstanceFraction (const SubstanceFraction_optional &x) |
Set the element value. More... | |
void | SubstanceFraction (::std::unique_ptr< SubstanceFraction_type > p) |
Set the element value without copying. More... | |
Substance | |
Accessor and modifier functions for the Substance optional element. | |
typedef ::xml_schema::string | Substance_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Substance_type > | Substance_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Substance_type, char > | Substance_traits |
Element traits type. More... | |
const Substance_optional & | Substance () const |
Return a read-only (constant) reference to the element container. More... | |
Substance_optional & | Substance () |
Return a read-write reference to the element container. More... | |
void | Substance (const Substance_type &x) |
Set the element value. More... | |
void | Substance (const Substance_optional &x) |
Set the element value. More... | |
void | Substance (::std::unique_ptr< Substance_type > p) |
Set the element value without copying. More... | |
Constructors | |
AnesthesiaMachineChamberData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
AnesthesiaMachineChamberData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
AnesthesiaMachineChamberData (const AnesthesiaMachineChamberData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual AnesthesiaMachineChamberData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
AnesthesiaMachineChamberData & | operator= (const AnesthesiaMachineChamberData &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the AnesthesiaMachineChamberData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< State_type > mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< State_type, char > mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::enumOnOff mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State_type |
Element type.
typedef ::xsd::cxx::tree::optional< Substance_type > mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Substance_type, char > mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance_traits |
Element traits type.
typedef ::xml_schema::string mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance_type |
Element type.
typedef ::xsd::cxx::tree::optional< SubstanceFraction_type > mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< SubstanceFraction_type, char > mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarFractionData mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::AnesthesiaMachineChamberData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::AnesthesiaMachineChamberData | ( | 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::AnesthesiaMachineChamberData::AnesthesiaMachineChamberData | ( | const AnesthesiaMachineChamberData & | 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.
AnesthesiaMachineChamberData & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::operator= | ( | const AnesthesiaMachineChamberData & | 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 AnesthesiaMachineChamberData::State_optional & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
AnesthesiaMachineChamberData::State_optional & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State | ( | const State_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::AnesthesiaMachineChamberData::State | ( | const State_optional & | x | ) |
Set the element value.
- Parameters
-
x An optional container with the new value to set.
If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.
void mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::State | ( | ::std::unique_ptr< State_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 AnesthesiaMachineChamberData::Substance_optional & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
AnesthesiaMachineChamberData::Substance_optional & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance | ( | const Substance_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::AnesthesiaMachineChamberData::Substance | ( | const Substance_optional & | x | ) |
Set the element value.
- Parameters
-
x An optional container with the new value to set.
If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.
void mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::Substance | ( | ::std::unique_ptr< Substance_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 AnesthesiaMachineChamberData::SubstanceFraction_optional & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
AnesthesiaMachineChamberData::SubstanceFraction_optional & mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction | ( | const SubstanceFraction_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::AnesthesiaMachineChamberData::SubstanceFraction | ( | const SubstanceFraction_optional & | x | ) |
Set the element value.
- Parameters
-
x An optional container with the new value to set.
If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.
void mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::SubstanceFraction | ( | ::std::unique_ptr< SubstanceFraction_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.