Class corresponding to the DecimalFormatData schema type. More...
#include <Properties.hxx>

Public Member Functions | |
virtual | ~DecimalFormatData () |
Destructor. More... | |
DecimalFormat | |
Accessor and modifier functions for the DecimalFormat optional attribute. | |
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... | |
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... | |
Precision | |
Accessor and modifier functions for the Precision optional attribute. | |
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... | |
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... | |
Constructors | |
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... | |
virtual DecimalFormatData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
DecimalFormatData & | operator= (const DecimalFormatData &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the DecimalFormatData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< DecimalFormat_type > mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormat_optional |
Attribute optional container type.
typedef ::xsd::cxx::tree::traits< DecimalFormat_type, char > mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormat_traits |
Attribute traits type.
typedef ::mil::tatrc::physiology::datamodel::enumDecimalFormat mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormat_type |
Attribute type.
typedef ::xsd::cxx::tree::optional< Precision_type > mil::tatrc::physiology::datamodel::DecimalFormatData::Precision_optional |
Attribute optional container type.
typedef ::xsd::cxx::tree::traits< Precision_type, char > mil::tatrc::physiology::datamodel::DecimalFormatData::Precision_traits |
Attribute traits type.
typedef ::xml_schema::unsigned_int mil::tatrc::physiology::datamodel::DecimalFormatData::Precision_type |
Attribute type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormatData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormatData | ( | 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::DecimalFormatData::DecimalFormatData | ( | const DecimalFormatData & | 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 in mil::tatrc::physiology::datamodel::SubstanceDataRequestData, mil::tatrc::physiology::datamodel::TissueCompartmentDataRequestData, mil::tatrc::physiology::datamodel::ThermalCompartmentDataRequestData, mil::tatrc::physiology::datamodel::LiquidCompartmentDataRequestData, mil::tatrc::physiology::datamodel::GasCompartmentDataRequestData, mil::tatrc::physiology::datamodel::CompartmentSubstanceDataRequestData, mil::tatrc::physiology::datamodel::CompartmentDataRequestData, mil::tatrc::physiology::datamodel::EquipmentDataRequestData, mil::tatrc::physiology::datamodel::EnvironmentDataRequestData, mil::tatrc::physiology::datamodel::PhysiologyDataRequestData, mil::tatrc::physiology::datamodel::PatientDataRequestData, and mil::tatrc::physiology::datamodel::DataRequestData.
const DecimalFormatData::DecimalFormat_optional & mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormat | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
- Returns
- A constant reference to the optional container.
DecimalFormatData::DecimalFormat_optional & mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormat | ( | ) |
Return a read-write reference to the attribute container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::DecimalFormatData::DecimalFormat | ( | const DecimalFormat_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::DecimalFormatData::DecimalFormat | ( | const DecimalFormat_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::DecimalFormatData::DecimalFormat | ( | ::std::unique_ptr< DecimalFormat_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.
DecimalFormatData & mil::tatrc::physiology::datamodel::DecimalFormatData::operator= | ( | const DecimalFormatData & | 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 DecimalFormatData::Precision_optional & mil::tatrc::physiology::datamodel::DecimalFormatData::Precision | ( | ) | const |
Return a read-only (constant) reference to the attribute container.
- Returns
- A constant reference to the optional container.
DecimalFormatData::Precision_optional & mil::tatrc::physiology::datamodel::DecimalFormatData::Precision | ( | ) |
Return a read-write reference to the attribute container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::DecimalFormatData::Precision | ( | const Precision_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::DecimalFormatData::Precision | ( | const Precision_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.