mil::tatrc::physiology::datamodel::GasSubstanceQuantityData Class Reference

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

#include <SubstanceQuantity.hxx>

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

Public Member Functions

virtual ~GasSubstanceQuantityData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::SubstanceQuantityData
virtual ~SubstanceQuantityData ()
 Destructor. More...
 
const Substance_typeSubstance () const
 Return a read-only (constant) reference to the element. More...
 
Substance_typeSubstance ()
 Return a read-write reference to the element. More...
 
void Substance (const Substance_type &x)
 Set the element value. More...
 
void Substance (::std::unique_ptr< Substance_type > p)
 Set the element value without copying. More...
 
 SubstanceQuantityData ()
 Default constructor. More...
 
 SubstanceQuantityData (const Substance_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 SubstanceQuantityData (::std::unique_ptr< Substance_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 SubstanceQuantityData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 SubstanceQuantityData (const SubstanceQuantityData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
SubstanceQuantityDataoperator= (const SubstanceQuantityData &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...
 

PartialPressure

Accessor and modifier functions for the PartialPressure optional element.

typedef ::mil::tatrc::physiology::datamodel::ScalarPressureData PartialPressure_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< PartialPressure_typePartialPressure_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< PartialPressure_type, char > PartialPressure_traits
 Element traits type. More...
 
const PartialPressure_optionalPartialPressure () const
 Return a read-only (constant) reference to the element container. More...
 
PartialPressure_optionalPartialPressure ()
 Return a read-write reference to the element container. More...
 
void PartialPressure (const PartialPressure_type &x)
 Set the element value. More...
 
void PartialPressure (const PartialPressure_optional &x)
 Set the element value. More...
 
void PartialPressure (::std::unique_ptr< PartialPressure_type > p)
 Set the element value without copying. More...
 

Volume

Accessor and modifier functions for the Volume optional element.

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

VolumeFraction

Accessor and modifier functions for the VolumeFraction optional element.

typedef ::mil::tatrc::physiology::datamodel::ScalarFractionData VolumeFraction_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< VolumeFraction_typeVolumeFraction_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< VolumeFraction_type, char > VolumeFraction_traits
 Element traits type. More...
 
const VolumeFraction_optionalVolumeFraction () const
 Return a read-only (constant) reference to the element container. More...
 
VolumeFraction_optionalVolumeFraction ()
 Return a read-write reference to the element container. More...
 
void VolumeFraction (const VolumeFraction_type &x)
 Set the element value. More...
 
void VolumeFraction (const VolumeFraction_optional &x)
 Set the element value. More...
 
void VolumeFraction (::std::unique_ptr< VolumeFraction_type > p)
 Set the element value without copying. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::SubstanceQuantityData
typedef ::xml_schema::string Substance_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Substance_type, char > Substance_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 GasSubstanceQuantityData schema type.

Member Typedef Documentation

Element optional container type.

Element optional container type.

Element traits type.

Element optional container type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::GasSubstanceQuantityData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::GasSubstanceQuantityData ( const Substance_type Substance)

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

mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::GasSubstanceQuantityData ( ::std::unique_ptr< 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::GasSubstanceQuantityData::GasSubstanceQuantityData ( 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::GasSubstanceQuantityData::GasSubstanceQuantityData ( const GasSubstanceQuantityData 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::GasSubstanceQuantityData::~GasSubstanceQuantityData ( )
virtual

Destructor.

Member Function Documentation

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

GasSubstanceQuantityData & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::operator= ( const GasSubstanceQuantityData 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 GasSubstanceQuantityData::PartialPressure_optional & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::PartialPressure ( ) const

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

Returns
A constant reference to the optional container.
GasSubstanceQuantityData::PartialPressure_optional & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::PartialPressure ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::PartialPressure ( const PartialPressure_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::GasSubstanceQuantityData::PartialPressure ( const PartialPressure_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::GasSubstanceQuantityData::PartialPressure ( ::std::unique_ptr< PartialPressure_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 GasSubstanceQuantityData::Volume_optional & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::Volume ( ) const

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

Returns
A constant reference to the optional container.
GasSubstanceQuantityData::Volume_optional & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::Volume ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::Volume ( const Volume_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::GasSubstanceQuantityData::Volume ( const Volume_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::GasSubstanceQuantityData::Volume ( ::std::unique_ptr< Volume_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 GasSubstanceQuantityData::VolumeFraction_optional & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::VolumeFraction ( ) const

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

Returns
A constant reference to the optional container.
GasSubstanceQuantityData::VolumeFraction_optional & mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::VolumeFraction ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::GasSubstanceQuantityData::VolumeFraction ( const VolumeFraction_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::GasSubstanceQuantityData::VolumeFraction ( const VolumeFraction_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::GasSubstanceQuantityData::VolumeFraction ( ::std::unique_ptr< VolumeFraction_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.