mil::tatrc::physiology::datamodel::CompartmentDataRequestData Class Reference

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

#include <Scenario.hxx>

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

Public Member Functions

virtual ~CompartmentDataRequestData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::DataRequestData
virtual ~DataRequestData ()
 Destructor. More...
 
const Name_typeName () const
 Return a read-only (constant) reference to the attribute. More...
 
Name_typeName ()
 Return a read-write reference to the attribute. More...
 
void Name (const Name_type &x)
 Set the attribute value. More...
 
void Name (::std::unique_ptr< Name_type > p)
 Set the attribute value without copying. More...
 
const Unit_optionalUnit () const
 Return a read-only (constant) reference to the attribute container. More...
 
Unit_optionalUnit ()
 Return a read-write reference to the attribute container. More...
 
void Unit (const Unit_type &x)
 Set the attribute value. More...
 
void Unit (const Unit_optional &x)
 Set the attribute value. More...
 
void Unit (::std::unique_ptr< Unit_type > p)
 Set the attribute value without copying. More...
 
 DataRequestData ()
 Default constructor. More...
 
 DataRequestData (const Name_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 DataRequestData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 DataRequestData (const DataRequestData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
DataRequestDataoperator= (const DataRequestData &x)
 Copy assignment operator. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::DecimalFormatData
virtual ~DecimalFormatData ()
 Destructor. More...
 
const DecimalFormat_optionalDecimalFormat () const
 Return a read-only (constant) reference to the attribute container. More...
 
DecimalFormat_optionalDecimalFormat ()
 Return a read-write reference to the attribute container. More...
 
void DecimalFormat (const DecimalFormat_type &x)
 Set the attribute value. More...
 
void DecimalFormat (const DecimalFormat_optional &x)
 Set the attribute value. More...
 
void DecimalFormat (::std::unique_ptr< DecimalFormat_type > p)
 Set the attribute value without copying. More...
 
const Precision_optionalPrecision () const
 Return a read-only (constant) reference to the attribute container. More...
 
Precision_optionalPrecision ()
 Return a read-write reference to the attribute container. More...
 
void Precision (const Precision_type &x)
 Set the attribute value. More...
 
void Precision (const Precision_optional &x)
 Set the attribute value. More...
 
 DecimalFormatData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 DecimalFormatData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 DecimalFormatData (const DecimalFormatData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
DecimalFormatDataoperator= (const DecimalFormatData &x)
 Copy assignment operator. More...
 

Compartment

Accessor and modifier functions for the Compartment required attribute.

typedef ::xml_schema::string Compartment_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< Compartment_type, char > Compartment_traits
 Attribute traits type. More...
 
const Compartment_typeCompartment () const
 Return a read-only (constant) reference to the attribute. More...
 
Compartment_typeCompartment ()
 Return a read-write reference to the attribute. More...
 
void Compartment (const Compartment_type &x)
 Set the attribute value. More...
 
void Compartment (::std::unique_ptr< Compartment_type > p)
 Set the attribute value without copying. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::DataRequestData
typedef ::xml_schema::string Name_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits
 Attribute traits type. More...
 
typedef ::xml_schema::string Unit_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< Unit_typeUnit_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Unit_type, char > Unit_traits
 Attribute traits type. More...
 
- Public Types inherited from mil::tatrc::physiology::datamodel::DecimalFormatData
typedef ::mil::tatrc::physiology::datamodel::enumDecimalFormat DecimalFormat_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< DecimalFormat_typeDecimalFormat_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< DecimalFormat_type, char > DecimalFormat_traits
 Attribute traits type. More...
 
typedef ::xml_schema::unsigned_int Precision_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< Precision_typePrecision_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Precision_type, char > Precision_traits
 Attribute traits type. More...
 

Detailed Description

Class corresponding to the CompartmentDataRequestData schema type.

Member Typedef Documentation

Attribute traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::CompartmentDataRequestData::CompartmentDataRequestData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::CompartmentDataRequestData::CompartmentDataRequestData ( const Name_type Name,
const Compartment_type Compartment 
)

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

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

Destructor.

Member Function Documentation

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

Reimplemented in mil::tatrc::physiology::datamodel::TissueCompartmentDataRequestData, mil::tatrc::physiology::datamodel::ThermalCompartmentDataRequestData, mil::tatrc::physiology::datamodel::LiquidCompartmentDataRequestData, mil::tatrc::physiology::datamodel::GasCompartmentDataRequestData, and mil::tatrc::physiology::datamodel::CompartmentSubstanceDataRequestData.

const CompartmentDataRequestData::Compartment_type & mil::tatrc::physiology::datamodel::CompartmentDataRequestData::Compartment ( ) const

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

Returns
A constant reference to the attribute.
CompartmentDataRequestData::Compartment_type & mil::tatrc::physiology::datamodel::CompartmentDataRequestData::Compartment ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.
void mil::tatrc::physiology::datamodel::CompartmentDataRequestData::Compartment ( const Compartment_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

void mil::tatrc::physiology::datamodel::CompartmentDataRequestData::Compartment ( ::std::unique_ptr< Compartment_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

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