mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData Class Reference

Class corresponding to the AnesthesiaMachineChamberData schema type. More...

#include <Anesthesia.hxx>

Inheritance diagram for mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData:

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_typeState_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< State_type, char > State_traits
 Element traits type. More...
 
const State_optionalState () const
 Return a read-only (constant) reference to the element container. More...
 
State_optionalState ()
 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_typeSubstanceFraction_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< SubstanceFraction_type, char > SubstanceFraction_traits
 Element traits type. More...
 
const SubstanceFraction_optionalSubstanceFraction () const
 Return a read-only (constant) reference to the element container. More...
 
SubstanceFraction_optionalSubstanceFraction ()
 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_typeSubstance_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Substance_type, char > Substance_traits
 Element traits type. More...
 
const Substance_optionalSubstance () const
 Return a read-only (constant) reference to the element container. More...
 
Substance_optionalSubstance ()
 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...
 
AnesthesiaMachineChamberDataoperator= (const AnesthesiaMachineChamberData &x)
 Copy assignment operator. More...
 

Detailed Description

Class corresponding to the AnesthesiaMachineChamberData schema type.

Member Typedef Documentation

Element optional container type.

Element traits type.

Element optional container type.

Element traits 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
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA 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
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::~AnesthesiaMachineChamberData ( )
virtual

Destructor.

Member Function Documentation

AnesthesiaMachineChamberData * mil::tatrc::physiology::datamodel::AnesthesiaMachineChamberData::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA 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
xAn 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
xA 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
xAn 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
pA 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
xA 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
xAn 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
pA 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
xA 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
xAn 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
pA new value to use.

This function will try to use the passed value directly instead of making a copy.