Class corresponding to the SubstanceDataRequestData schema type. More...
#include <Scenario.hxx>

Public Member Functions | |
virtual | ~SubstanceDataRequestData () |
Destructor. More... | |
![]() | |
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... | |
![]() | |
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... | |
Substance | |
Accessor and modifier functions for the Substance required attribute. | |
typedef ::xml_schema::string | Substance_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< Substance_type, char > | Substance_traits |
Attribute traits type. More... | |
const Substance_type & | Substance () const |
Return a read-only (constant) reference to the attribute. More... | |
Substance_type & | Substance () |
Return a read-write reference to the attribute. More... | |
void | Substance (const Substance_type &x) |
Set the attribute value. More... | |
void | Substance (::std::unique_ptr< Substance_type > p) |
Set the attribute value without copying. More... | |
Compartment | |
Accessor and modifier functions for the Compartment optional attribute. | |
typedef ::xml_schema::string | Compartment_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< Compartment_type > | Compartment_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Compartment_type, char > | Compartment_traits |
Attribute traits type. More... | |
const Compartment_optional & | Compartment () const |
Return a read-only (constant) reference to the attribute container. More... | |
Compartment_optional & | Compartment () |
Return a read-write reference to the attribute container. More... | |
void | Compartment (const Compartment_type &x) |
Set the attribute value. More... | |
void | Compartment (const Compartment_optional &x) |
Set the attribute value. More... | |
void | Compartment (::std::unique_ptr< Compartment_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
SubstanceDataRequestData () | |
Default constructor. More... | |
SubstanceDataRequestData (const Name_type &, const Substance_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
SubstanceDataRequestData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
SubstanceDataRequestData (const SubstanceDataRequestData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual SubstanceDataRequestData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
SubstanceDataRequestData & | operator= (const SubstanceDataRequestData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
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 SubstanceDataRequestData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< Compartment_type > mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Compartment_optional |
Attribute optional container type.
typedef ::xsd::cxx::tree::traits< Compartment_type, char > mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Compartment_traits |
Attribute traits type.
typedef ::xml_schema::string mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Compartment_type |
Attribute type.
typedef ::xsd::cxx::tree::traits< Substance_type, char > mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Substance_traits |
Attribute traits type.
typedef ::xml_schema::string mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Substance_type |
Attribute type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::SubstanceDataRequestData::SubstanceDataRequestData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::SubstanceDataRequestData::SubstanceDataRequestData | ( | const Name_type & | Name, |
const Substance_type & | Substance | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::SubstanceDataRequestData::SubstanceDataRequestData | ( | 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::SubstanceDataRequestData::SubstanceDataRequestData | ( | const SubstanceDataRequestData & | 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.
const SubstanceDataRequestData::Compartment_optional & mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Compartment | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
- Returns
- A constant reference to the optional container.
SubstanceDataRequestData::Compartment_optional & mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Compartment | ( | ) |
Return a read-write reference to the attribute container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::SubstanceDataRequestData::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::SubstanceDataRequestData::Compartment | ( | const Compartment_optional & | x | ) |
Set the attribute value.
- Parameters
-
x An 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 attribute. Otherwise the attribute container is set the 'not present' state.
void mil::tatrc::physiology::datamodel::SubstanceDataRequestData::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.
SubstanceDataRequestData & mil::tatrc::physiology::datamodel::SubstanceDataRequestData::operator= | ( | const SubstanceDataRequestData & | 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.
const SubstanceDataRequestData::Substance_type & mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Substance | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
SubstanceDataRequestData::Substance_type & mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Substance | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::SubstanceDataRequestData::Substance | ( | const Substance_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::SubstanceDataRequestData::Substance | ( | ::std::unique_ptr< Substance_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.