mil::tatrc::physiology::datamodel::InhalerData Class Reference

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

#include <Inhaler.hxx>

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

Public Member Functions

virtual ~InhalerData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::SystemData
virtual ~SystemData ()
 Destructor. More...
 
 SystemData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 SystemData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 SystemData (const SystemData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. 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...
 

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

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

MeteredDose

Accessor and modifier functions for the MeteredDose optional element.

typedef ::mil::tatrc::physiology::datamodel::ScalarMassData MeteredDose_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< MeteredDose_typeMeteredDose_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< MeteredDose_type, char > MeteredDose_traits
 Element traits type. More...
 
const MeteredDose_optionalMeteredDose () const
 Return a read-only (constant) reference to the element container. More...
 
MeteredDose_optionalMeteredDose ()
 Return a read-write reference to the element container. More...
 
void MeteredDose (const MeteredDose_type &x)
 Set the element value. More...
 
void MeteredDose (const MeteredDose_optional &x)
 Set the element value. More...
 
void MeteredDose (::std::unique_ptr< MeteredDose_type > p)
 Set the element value without copying. More...
 

NozzleLoss

Accessor and modifier functions for the NozzleLoss optional element.

typedef ::mil::tatrc::physiology::datamodel::ScalarFractionData NozzleLoss_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< NozzleLoss_typeNozzleLoss_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< NozzleLoss_type, char > NozzleLoss_traits
 Element traits type. More...
 
const NozzleLoss_optionalNozzleLoss () const
 Return a read-only (constant) reference to the element container. More...
 
NozzleLoss_optionalNozzleLoss ()
 Return a read-write reference to the element container. More...
 
void NozzleLoss (const NozzleLoss_type &x)
 Set the element value. More...
 
void NozzleLoss (const NozzleLoss_optional &x)
 Set the element value. More...
 
void NozzleLoss (::std::unique_ptr< NozzleLoss_type > p)
 Set the element value without copying. More...
 

SpacerVolume

Accessor and modifier functions for the SpacerVolume optional element.

typedef ::mil::tatrc::physiology::datamodel::ScalarVolumeData SpacerVolume_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< SpacerVolume_typeSpacerVolume_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< SpacerVolume_type, char > SpacerVolume_traits
 Element traits type. More...
 
const SpacerVolume_optionalSpacerVolume () const
 Return a read-only (constant) reference to the element container. More...
 
SpacerVolume_optionalSpacerVolume ()
 Return a read-write reference to the element container. More...
 
void SpacerVolume (const SpacerVolume_type &x)
 Set the element value. More...
 
void SpacerVolume (const SpacerVolume_optional &x)
 Set the element value. More...
 
void SpacerVolume (::std::unique_ptr< SpacerVolume_type > p)
 Set the element value without copying. More...
 

Constructors

 InhalerData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 InhalerData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 InhalerData (const InhalerData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual InhalerData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
InhalerDataoperator= (const InhalerData &x)
 Copy assignment operator. More...
 

Additional Inherited Members

- 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 InhalerData schema type.

Member Typedef Documentation

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::InhalerData::InhalerData ( )

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

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

Destructor.

Member Function Documentation

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

Reimplemented in mil::tatrc::physiology::datamodel::BioGearsInhalerData.

const InhalerData::MeteredDose_optional & mil::tatrc::physiology::datamodel::InhalerData::MeteredDose ( ) const

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

Returns
A constant reference to the optional container.
InhalerData::MeteredDose_optional & mil::tatrc::physiology::datamodel::InhalerData::MeteredDose ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::InhalerData::MeteredDose ( const MeteredDose_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::InhalerData::MeteredDose ( const MeteredDose_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::InhalerData::MeteredDose ( ::std::unique_ptr< MeteredDose_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 InhalerData::NozzleLoss_optional & mil::tatrc::physiology::datamodel::InhalerData::NozzleLoss ( ) const

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

Returns
A constant reference to the optional container.
InhalerData::NozzleLoss_optional & mil::tatrc::physiology::datamodel::InhalerData::NozzleLoss ( )

Return a read-write reference to the element container.

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

InhalerData & mil::tatrc::physiology::datamodel::InhalerData::operator= ( const InhalerData 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 InhalerData::SpacerVolume_optional & mil::tatrc::physiology::datamodel::InhalerData::SpacerVolume ( ) const

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

Returns
A constant reference to the optional container.
InhalerData::SpacerVolume_optional & mil::tatrc::physiology::datamodel::InhalerData::SpacerVolume ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::InhalerData::SpacerVolume ( const SpacerVolume_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::InhalerData::SpacerVolume ( const SpacerVolume_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::InhalerData::SpacerVolume ( ::std::unique_ptr< SpacerVolume_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 InhalerData::State_optional & mil::tatrc::physiology::datamodel::InhalerData::State ( ) const

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

Returns
A constant reference to the optional container.
InhalerData::State_optional & mil::tatrc::physiology::datamodel::InhalerData::State ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::InhalerData::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::InhalerData::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::InhalerData::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 InhalerData::Substance_optional & mil::tatrc::physiology::datamodel::InhalerData::Substance ( ) const

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

Returns
A constant reference to the optional container.
InhalerData::Substance_optional & mil::tatrc::physiology::datamodel::InhalerData::Substance ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::InhalerData::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::InhalerData::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::InhalerData::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.