mil::tatrc::physiology::datamodel::GasCompartmentData Class Reference

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

#include <Compartment.hxx>

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

Public Member Functions

virtual ~GasCompartmentData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::FluidCompartmentData
virtual ~FluidCompartmentData ()
 Destructor. More...
 
const InFlow_optionalInFlow () const
 Return a read-only (constant) reference to the element container. More...
 
InFlow_optionalInFlow ()
 Return a read-write reference to the element container. More...
 
void InFlow (const InFlow_type &x)
 Set the element value. More...
 
void InFlow (const InFlow_optional &x)
 Set the element value. More...
 
void InFlow (::std::unique_ptr< InFlow_type > p)
 Set the element value without copying. More...
 
const OutFlow_optionalOutFlow () const
 Return a read-only (constant) reference to the element container. More...
 
OutFlow_optionalOutFlow ()
 Return a read-write reference to the element container. More...
 
void OutFlow (const OutFlow_type &x)
 Set the element value. More...
 
void OutFlow (const OutFlow_optional &x)
 Set the element value. More...
 
void OutFlow (::std::unique_ptr< OutFlow_type > p)
 Set the element value without copying. More...
 
const Pressure_optionalPressure () const
 Return a read-only (constant) reference to the element container. More...
 
Pressure_optionalPressure ()
 Return a read-write reference to the element container. More...
 
void Pressure (const Pressure_type &x)
 Set the element value. More...
 
void Pressure (const Pressure_optional &x)
 Set the element value. More...
 
void Pressure (::std::unique_ptr< Pressure_type > p)
 Set the element value without copying. More...
 
const Volume_optionalVolume () const
 Return a read-only (constant) reference to the element container. More...
 
Volume_optionalVolume ()
 Return a read-write reference to the element container. More...
 
void Volume (const Volume_type &x)
 Set the element value. More...
 
void Volume (const Volume_optional &x)
 Set the element value. More...
 
void Volume (::std::unique_ptr< Volume_type > p)
 Set the element value without copying. More...
 
 FluidCompartmentData ()
 Default constructor. More...
 
 FluidCompartmentData (const Name_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 FluidCompartmentData (::std::unique_ptr< Name_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 FluidCompartmentData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 FluidCompartmentData (const FluidCompartmentData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
FluidCompartmentDataoperator= (const FluidCompartmentData &x)
 Copy assignment operator. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::CompartmentData
virtual ~CompartmentData ()
 Destructor. More...
 
const Name_typeName () const
 Return a read-only (constant) reference to the element. More...
 
Name_typeName ()
 Return a read-write reference to the element. More...
 
void Name (const Name_type &x)
 Set the element value. More...
 
void Name (::std::unique_ptr< Name_type > p)
 Set the element value without copying. More...
 
const Node_sequenceNode () const
 Return a read-only (constant) reference to the element sequence. More...
 
Node_sequenceNode ()
 Return a read-write reference to the element sequence. More...
 
void Node (const Node_sequence &s)
 Copy elements from a given sequence. More...
 
const Child_sequenceChild () const
 Return a read-only (constant) reference to the element sequence. More...
 
Child_sequenceChild ()
 Return a read-write reference to the element sequence. More...
 
void Child (const Child_sequence &s)
 Copy elements from a given sequence. More...
 
 CompartmentData ()
 Default constructor. More...
 
 CompartmentData (const Name_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 CompartmentData (::std::unique_ptr< Name_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 CompartmentData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 CompartmentData (const CompartmentData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
CompartmentDataoperator= (const CompartmentData &x)
 Copy assignment operator. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::ObjectData
virtual ~ObjectData ()
 Destructor. More...
 
const contentVersion_optionalcontentVersion () const
 Return a read-only (constant) reference to the attribute container. More...
 
contentVersion_optionalcontentVersion ()
 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...
 
ObjectDataoperator= (const ObjectData &x)
 Copy assignment operator. More...
 

SubstanceQuantity

Accessor and modifier functions for the SubstanceQuantity sequence element.

typedef ::mil::tatrc::physiology::datamodel::GasSubstanceQuantityData SubstanceQuantity_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< SubstanceQuantity_typeSubstanceQuantity_sequence
 Element sequence container type. More...
 
typedef SubstanceQuantity_sequence::iterator SubstanceQuantity_iterator
 Element iterator type. More...
 
typedef SubstanceQuantity_sequence::const_iterator SubstanceQuantity_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< SubstanceQuantity_type, char > SubstanceQuantity_traits
 Element traits type. More...
 
const SubstanceQuantity_sequenceSubstanceQuantity () const
 Return a read-only (constant) reference to the element sequence. More...
 
SubstanceQuantity_sequenceSubstanceQuantity ()
 Return a read-write reference to the element sequence. More...
 
void SubstanceQuantity (const SubstanceQuantity_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

 GasCompartmentData ()
 Default constructor. More...
 
 GasCompartmentData (const Name_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 GasCompartmentData (::std::unique_ptr< Name_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 GasCompartmentData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 GasCompartmentData (const GasCompartmentData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual GasCompartmentData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
GasCompartmentDataoperator= (const GasCompartmentData &x)
 Copy assignment operator. More...
 

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::FluidCompartmentData
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData InFlow_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< InFlow_typeInFlow_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< InFlow_type, char > InFlow_traits
 Element traits type. More...
 
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData OutFlow_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< OutFlow_typeOutFlow_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< OutFlow_type, char > OutFlow_traits
 Element traits type. More...
 
typedef ::mil::tatrc::physiology::datamodel::ScalarPressureData Pressure_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Pressure_typePressure_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Pressure_type, char > Pressure_traits
 Element traits type. More...
 
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumeData Volume_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Volume_typeVolume_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Volume_type, char > Volume_traits
 Element traits type. More...
 
- Public Types inherited from mil::tatrc::physiology::datamodel::CompartmentData
typedef ::xml_schema::string Name_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits
 Element traits type. More...
 
typedef ::xml_schema::string Node_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Node_typeNode_sequence
 Element sequence container type. More...
 
typedef Node_sequence::iterator Node_iterator
 Element iterator type. More...
 
typedef Node_sequence::const_iterator Node_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Node_type, char > Node_traits
 Element traits type. More...
 
typedef ::xml_schema::string Child_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Child_typeChild_sequence
 Element sequence container type. More...
 
typedef Child_sequence::iterator Child_iterator
 Element iterator type. More...
 
typedef Child_sequence::const_iterator Child_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Child_type, char > Child_traits
 Element traits type. More...
 
- Public Types inherited from mil::tatrc::physiology::datamodel::ObjectData
typedef ::xml_schema::string contentVersion_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< contentVersion_typecontentVersion_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 GasCompartmentData schema type.

Member Typedef Documentation

Element constant iterator type.

Element iterator type.

Element sequence container type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::GasCompartmentData::GasCompartmentData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::GasCompartmentData::GasCompartmentData ( const Name_type Name)

Create an instance from the ultimate base and initializers for required elements and attributes.

mil::tatrc::physiology::datamodel::GasCompartmentData::GasCompartmentData ( ::std::unique_ptr< Name_type Name)

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::GasCompartmentData::GasCompartmentData ( 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::GasCompartmentData::GasCompartmentData ( const GasCompartmentData 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::GasCompartmentData::~GasCompartmentData ( )
virtual

Destructor.

Member Function Documentation

GasCompartmentData * mil::tatrc::physiology::datamodel::GasCompartmentData::_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.

Reimplemented from mil::tatrc::physiology::datamodel::FluidCompartmentData.

GasCompartmentData & mil::tatrc::physiology::datamodel::GasCompartmentData::operator= ( const GasCompartmentData 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 GasCompartmentData::SubstanceQuantity_sequence & mil::tatrc::physiology::datamodel::GasCompartmentData::SubstanceQuantity ( ) const

Return a read-only (constant) reference to the element sequence.

Returns
A constant reference to the sequence container.
GasCompartmentData::SubstanceQuantity_sequence & mil::tatrc::physiology::datamodel::GasCompartmentData::SubstanceQuantity ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.
void mil::tatrc::physiology::datamodel::GasCompartmentData::SubstanceQuantity ( const SubstanceQuantity_sequence s)

Copy elements from a given sequence.

Parameters
sA 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.