Class corresponding to the CompartmentDataRequestData schema type. More...
#include <Scenario.hxx>
Public Member Functions | |
virtual | ~CompartmentDataRequestData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::DataRequestData | |
virtual | ~DataRequestData () |
Destructor. More... | |
const Name_type & | Name () const |
Return a read-only (constant) reference to the attribute. More... | |
Name_type & | Name () |
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_optional & | Unit () const |
Return a read-only (constant) reference to the attribute container. More... | |
Unit_optional & | Unit () |
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... | |
DataRequestData & | operator= (const DataRequestData &x) |
Copy assignment operator. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::DecimalFormatData | |
virtual | ~DecimalFormatData () |
Destructor. More... | |
const DecimalFormat_optional & | DecimalFormat () const |
Return a read-only (constant) reference to the attribute container. More... | |
DecimalFormat_optional & | DecimalFormat () |
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_optional & | Precision () const |
Return a read-only (constant) reference to the attribute container. More... | |
Precision_optional & | Precision () |
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... | |
DecimalFormatData & | operator= (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_type & | Compartment () const |
Return a read-only (constant) reference to the attribute. More... | |
Compartment_type & | Compartment () |
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... | |
CompartmentDataRequestData & | operator= (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_type > | Unit_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_type > | DecimalFormat_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_type > | Precision_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
typedef ::xsd::cxx::tree::traits< Compartment_type, char > mil::tatrc::physiology::datamodel::CompartmentDataRequestData::Compartment_traits |
Attribute traits type.
typedef ::xml_schema::string mil::tatrc::physiology::datamodel::CompartmentDataRequestData::Compartment_type |
Attribute 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
-
e A DOM element to extract the data from. f Flags to create the new instance with. c A 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
-
x An instance to make a copy of. f Flags to create the copy with. c A pointer to the object that will contain the copy.
For polymorphic object models use the _clone
function instead.
|
virtual |
Destructor.
Member Function Documentation
|
virtual |
Copy the instance polymorphically.
- Parameters
-
f Flags to create the copy with. c A 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
-
x A 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
-
p A 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
-
x An instance to make a copy of.
- Returns
- A reference to itself.
For polymorphic object models use the _clone
function instead.