mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData Class Reference

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

#include <PatientActions.hxx>

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

Public Member Functions

virtual ~SubstanceCompoundInfusionData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::SubstanceAdministrationData
virtual ~SubstanceAdministrationData ()
 Destructor. More...
 
 SubstanceAdministrationData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 SubstanceAdministrationData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 SubstanceAdministrationData (const SubstanceAdministrationData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::PatientActionData
virtual ~PatientActionData ()
 Destructor. More...
 
 PatientActionData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 PatientActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 PatientActionData (const PatientActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::ActionData
virtual ~ActionData ()
 Destructor. More...
 
const Comment_optionalComment () const
 Return a read-only (constant) reference to the element container. More...
 
Comment_optionalComment ()
 Return a read-write reference to the element container. More...
 
void Comment (const Comment_type &x)
 Set the element value. More...
 
void Comment (const Comment_optional &x)
 Set the element value. More...
 
void Comment (::std::unique_ptr< Comment_type > p)
 Set the element value without copying. More...
 
const Occurs_optionalOccurs () const
 Return a read-only (constant) reference to the element container. More...
 
Occurs_optionalOccurs ()
 Return a read-write reference to the element container. More...
 
void Occurs (const Occurs_type &x)
 Set the element value. More...
 
void Occurs (const Occurs_optional &x)
 Set the element value. More...
 
const Duration_optionalDuration () const
 Return a read-only (constant) reference to the element container. More...
 
Duration_optionalDuration ()
 Return a read-write reference to the element container. More...
 
void Duration (const Duration_type &x)
 Set the element value. More...
 
void Duration (const Duration_optional &x)
 Set the element value. More...
 
 ActionData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 ActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ActionData (const ActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
ActionDataoperator= (const ActionData &x)
 Copy assignment operator. More...
 

SubstanceCompound

Accessor and modifier functions for the SubstanceCompound required element.

typedef ::xml_schema::string SubstanceCompound_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< SubstanceCompound_type, char > SubstanceCompound_traits
 Element traits type. More...
 
const SubstanceCompound_typeSubstanceCompound () const
 Return a read-only (constant) reference to the element. More...
 
SubstanceCompound_typeSubstanceCompound ()
 Return a read-write reference to the element. More...
 
void SubstanceCompound (const SubstanceCompound_type &x)
 Set the element value. More...
 
void SubstanceCompound (::std::unique_ptr< SubstanceCompound_type > p)
 Set the element value without copying. More...
 

BagVolume

Accessor and modifier functions for the BagVolume required element.

typedef ::mil::tatrc::physiology::datamodel::ScalarVolumeData BagVolume_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< BagVolume_type, char > BagVolume_traits
 Element traits type. More...
 
const BagVolume_typeBagVolume () const
 Return a read-only (constant) reference to the element. More...
 
BagVolume_typeBagVolume ()
 Return a read-write reference to the element. More...
 
void BagVolume (const BagVolume_type &x)
 Set the element value. More...
 
void BagVolume (::std::unique_ptr< BagVolume_type > p)
 Set the element value without copying. More...
 

Rate

Accessor and modifier functions for the Rate required element.

typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData Rate_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Rate_type, char > Rate_traits
 Element traits type. More...
 
const Rate_typeRate () const
 Return a read-only (constant) reference to the element. More...
 
Rate_typeRate ()
 Return a read-write reference to the element. More...
 
void Rate (const Rate_type &x)
 Set the element value. More...
 
void Rate (::std::unique_ptr< Rate_type > p)
 Set the element value without copying. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::ActionData
typedef ::xml_schema::string Comment_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Comment_typeComment_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Comment_type, char > Comment_traits
 Element traits type. More...
 
typedef ::xml_schema::double_ Occurs_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Occurs_typeOccurs_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Occurs_type, char,::xsd::cxx::tree::schema_type::double_ > Occurs_traits
 Element traits type. More...
 
typedef ::xml_schema::double_ Duration_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Duration_typeDuration_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Duration_type, char,::xsd::cxx::tree::schema_type::double_ > Duration_traits
 Element traits type. More...
 

Detailed Description

Class corresponding to the SubstanceCompoundInfusionData schema type.

Member Typedef Documentation

Element traits type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::SubstanceCompoundInfusionData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::SubstanceCompoundInfusionData ( const SubstanceCompound_type SubstanceCompound,
const BagVolume_type BagVolume,
const Rate_type Rate 
)

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

mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::SubstanceCompoundInfusionData ( const SubstanceCompound_type SubstanceCompound,
::std::unique_ptr< BagVolume_type BagVolume,
::std::unique_ptr< Rate_type Rate 
)

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::SubstanceCompoundInfusionData::SubstanceCompoundInfusionData ( ::std::unique_ptr< SubstanceCompound_type SubstanceCompound,
::std::unique_ptr< BagVolume_type BagVolume,
::std::unique_ptr< Rate_type Rate 
)

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

Destructor.

Member Function Documentation

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

const SubstanceCompoundInfusionData::BagVolume_type & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::BagVolume ( ) const

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

Returns
A constant reference to the element.
SubstanceCompoundInfusionData::BagVolume_type & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::BagVolume ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::BagVolume ( const BagVolume_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::SubstanceCompoundInfusionData::BagVolume ( ::std::unique_ptr< BagVolume_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.

SubstanceCompoundInfusionData & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::operator= ( const SubstanceCompoundInfusionData 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 SubstanceCompoundInfusionData::Rate_type & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::Rate ( ) const

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

Returns
A constant reference to the element.
SubstanceCompoundInfusionData::Rate_type & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::Rate ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::Rate ( const Rate_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::SubstanceCompoundInfusionData::Rate ( ::std::unique_ptr< Rate_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 SubstanceCompoundInfusionData::SubstanceCompound_type & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::SubstanceCompound ( ) const

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

Returns
A constant reference to the element.
SubstanceCompoundInfusionData::SubstanceCompound_type & mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::SubstanceCompound ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::SubstanceCompoundInfusionData::SubstanceCompound ( const SubstanceCompound_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::SubstanceCompoundInfusionData::SubstanceCompound ( ::std::unique_ptr< SubstanceCompound_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.