mil::tatrc::physiology::datamodel::SubstanceCompoundData Class Reference

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

#include <Substance.hxx>

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

Public Member Functions

virtual ~SubstanceCompoundData ()
 Destructor. 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...
 

Name

Accessor and modifier functions for the Name required element.

typedef ::xml_schema::string Name_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits
 Element traits type. 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...
 

Classification

Accessor and modifier functions for the Classification optional element.

typedef ::mil::tatrc::physiology::datamodel::enumSubstanceClass Classification_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Classification_typeClassification_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Classification_type, char > Classification_traits
 Element traits type. More...
 
const Classification_optionalClassification () const
 Return a read-only (constant) reference to the element container. More...
 
Classification_optionalClassification ()
 Return a read-write reference to the element container. More...
 
void Classification (const Classification_type &x)
 Set the element value. More...
 
void Classification (const Classification_optional &x)
 Set the element value. More...
 
void Classification (::std::unique_ptr< Classification_type > p)
 Set the element value without copying. More...
 

BloodRHFactor

Accessor and modifier functions for the BloodRHFactor optional element.

typedef ::xml_schema::boolean BloodRHFactor_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< BloodRHFactor_typeBloodRHFactor_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< BloodRHFactor_type, char > BloodRHFactor_traits
 Element traits type. More...
 
const BloodRHFactor_optionalBloodRHFactor () const
 Return a read-only (constant) reference to the element container. More...
 
BloodRHFactor_optionalBloodRHFactor ()
 Return a read-write reference to the element container. More...
 
void BloodRHFactor (const BloodRHFactor_type &x)
 Set the element value. More...
 
void BloodRHFactor (const BloodRHFactor_optional &x)
 Set the element value. More...
 

Component

Accessor and modifier functions for the Component sequence element.

typedef ::mil::tatrc::physiology::datamodel::SubstanceConcentrationData Component_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Component_typeComponent_sequence
 Element sequence container type. More...
 
typedef Component_sequence::iterator Component_iterator
 Element iterator type. More...
 
typedef Component_sequence::const_iterator Component_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Component_type, char > Component_traits
 Element traits type. More...
 
const Component_sequenceComponent () const
 Return a read-only (constant) reference to the element sequence. More...
 
Component_sequenceComponent ()
 Return a read-write reference to the element sequence. More...
 
void Component (const Component_sequence &s)
 Copy elements from a given sequence. More...
 

Constructors

 SubstanceCompoundData ()
 Default constructor. More...
 
 SubstanceCompoundData (const Name_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 SubstanceCompoundData (::std::unique_ptr< Name_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 SubstanceCompoundData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 SubstanceCompoundData (const SubstanceCompoundData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual SubstanceCompoundData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
SubstanceCompoundDataoperator= (const SubstanceCompoundData &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 SubstanceCompoundData schema type.

Member Typedef Documentation

Element optional container type.

Element traits type.

Element optional container type.

Element traits type.

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::SubstanceCompoundData::SubstanceCompoundData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

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

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

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

Destructor.

Member Function Documentation

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

const SubstanceCompoundData::BloodRHFactor_optional & mil::tatrc::physiology::datamodel::SubstanceCompoundData::BloodRHFactor ( ) const

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

Returns
A constant reference to the optional container.
SubstanceCompoundData::BloodRHFactor_optional & mil::tatrc::physiology::datamodel::SubstanceCompoundData::BloodRHFactor ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::SubstanceCompoundData::BloodRHFactor ( const BloodRHFactor_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::SubstanceCompoundData::BloodRHFactor ( const BloodRHFactor_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.

const SubstanceCompoundData::Classification_optional & mil::tatrc::physiology::datamodel::SubstanceCompoundData::Classification ( ) const

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

Returns
A constant reference to the optional container.
SubstanceCompoundData::Classification_optional & mil::tatrc::physiology::datamodel::SubstanceCompoundData::Classification ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::SubstanceCompoundData::Classification ( const Classification_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::SubstanceCompoundData::Classification ( const Classification_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::SubstanceCompoundData::Classification ( ::std::unique_ptr< Classification_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 SubstanceCompoundData::Component_sequence & mil::tatrc::physiology::datamodel::SubstanceCompoundData::Component ( ) const

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

Returns
A constant reference to the sequence container.
SubstanceCompoundData::Component_sequence & mil::tatrc::physiology::datamodel::SubstanceCompoundData::Component ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.
void mil::tatrc::physiology::datamodel::SubstanceCompoundData::Component ( const Component_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.

const SubstanceCompoundData::Name_type & mil::tatrc::physiology::datamodel::SubstanceCompoundData::Name ( ) const

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

Returns
A constant reference to the element.
SubstanceCompoundData::Name_type & mil::tatrc::physiology::datamodel::SubstanceCompoundData::Name ( )

Return a read-write reference to the element.

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

SubstanceCompoundData & mil::tatrc::physiology::datamodel::SubstanceCompoundData::operator= ( const SubstanceCompoundData 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.