Class corresponding to the ChronicAnemiaData schema type. More...
#include <PatientConditions.hxx>
Public Member Functions | |
virtual | ~ChronicAnemiaData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::PatientConditionData | |
virtual | ~PatientConditionData () |
Destructor. More... | |
PatientConditionData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
PatientConditionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
PatientConditionData (const PatientConditionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::ConditionData | |
virtual | ~ConditionData () |
Destructor. More... | |
const Comment_optional & | Comment () const |
Return a read-only (constant) reference to the element container. More... | |
Comment_optional & | Comment () |
Return a read-write reference to the element container. More... | |
void | Comment (const Comment_type &x) |
Set the element value. More... | |
void | Comment (const Comment_optional &x) |
Set the element value. More... | |
void | Comment (::std::unique_ptr< Comment_type > p) |
Set the element value without copying. More... | |
ConditionData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ConditionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ConditionData (const ConditionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ConditionData & | operator= (const ConditionData &x) |
Copy assignment operator. More... | |
ReductionFactor | |
Accessor and modifier functions for the ReductionFactor required element. | |
typedef ::mil::tatrc::physiology::datamodel::Scalar0To1Data | ReductionFactor_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< ReductionFactor_type, char > | ReductionFactor_traits |
Element traits type. More... | |
const ReductionFactor_type & | ReductionFactor () const |
Return a read-only (constant) reference to the element. More... | |
ReductionFactor_type & | ReductionFactor () |
Return a read-write reference to the element. More... | |
void | ReductionFactor (const ReductionFactor_type &x) |
Set the element value. More... | |
void | ReductionFactor (::std::unique_ptr< ReductionFactor_type > p) |
Set the element value without copying. More... | |
Constructors | |
ChronicAnemiaData () | |
Default constructor. More... | |
ChronicAnemiaData (const ReductionFactor_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ChronicAnemiaData (::std::unique_ptr< ReductionFactor_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
ChronicAnemiaData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ChronicAnemiaData (const ChronicAnemiaData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ChronicAnemiaData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ChronicAnemiaData & | operator= (const ChronicAnemiaData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
Public Types inherited from mil::tatrc::physiology::datamodel::ConditionData | |
typedef ::xml_schema::string | Comment_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Comment_type > | Comment_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Comment_type, char > | Comment_traits |
Element traits type. More... | |
Detailed Description
Class corresponding to the ChronicAnemiaData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< ReductionFactor_type, char > mil::tatrc::physiology::datamodel::ChronicAnemiaData::ReductionFactor_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::Scalar0To1Data mil::tatrc::physiology::datamodel::ChronicAnemiaData::ReductionFactor_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ChronicAnemiaData::ChronicAnemiaData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::ChronicAnemiaData::ChronicAnemiaData | ( | const ReductionFactor_type & | ReductionFactor | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ChronicAnemiaData::ChronicAnemiaData | ( | ::std::unique_ptr< ReductionFactor_type > | ReductionFactor | ) |
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::ChronicAnemiaData::ChronicAnemiaData | ( | 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::ChronicAnemiaData::ChronicAnemiaData | ( | const ChronicAnemiaData & | 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::PatientConditionData.
ChronicAnemiaData & mil::tatrc::physiology::datamodel::ChronicAnemiaData::operator= | ( | const ChronicAnemiaData & | 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 ChronicAnemiaData::ReductionFactor_type & mil::tatrc::physiology::datamodel::ChronicAnemiaData::ReductionFactor | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
ChronicAnemiaData::ReductionFactor_type & mil::tatrc::physiology::datamodel::ChronicAnemiaData::ReductionFactor | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::ChronicAnemiaData::ReductionFactor | ( | const ReductionFactor_type & | x | ) |
Set the element 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 element.
void mil::tatrc::physiology::datamodel::ChronicAnemiaData::ReductionFactor | ( | ::std::unique_ptr< ReductionFactor_type > | p | ) |
Set the element 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.