Class corresponding to the ConditionListData schema type. More...
#include <Scenario.hxx>
Public Member Functions | |
virtual | ~ConditionListData () |
Destructor. More... | |
Condition | |
Accessor and modifier functions for the Condition sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::ConditionData | Condition_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Condition_type > | Condition_sequence |
Element sequence container type. More... | |
typedef Condition_sequence::iterator | Condition_iterator |
Element iterator type. More... | |
typedef Condition_sequence::const_iterator | Condition_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Condition_type, char > | Condition_traits |
Element traits type. More... | |
const Condition_sequence & | Condition () const |
Return a read-only (constant) reference to the element sequence. More... | |
Condition_sequence & | Condition () |
Return a read-write reference to the element sequence. More... | |
void | Condition (const Condition_sequence &s) |
Copy elements from a given sequence. More... | |
Constructors | |
ConditionListData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ConditionListData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ConditionListData (const ConditionListData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ConditionListData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ConditionListData & | operator= (const ConditionListData &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the ConditionListData schema type.
Member Typedef Documentation
typedef Condition_sequence::const_iterator mil::tatrc::physiology::datamodel::ConditionListData::Condition_const_iterator |
Element constant iterator type.
typedef Condition_sequence::iterator mil::tatrc::physiology::datamodel::ConditionListData::Condition_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< Condition_type > mil::tatrc::physiology::datamodel::ConditionListData::Condition_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< Condition_type, char > mil::tatrc::physiology::datamodel::ConditionListData::Condition_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ConditionData mil::tatrc::physiology::datamodel::ConditionListData::Condition_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ConditionListData::ConditionListData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ConditionListData::ConditionListData | ( | 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::ConditionListData::ConditionListData | ( | const ConditionListData & | 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.
const ConditionListData::Condition_sequence & mil::tatrc::physiology::datamodel::ConditionListData::Condition | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
ConditionListData::Condition_sequence & mil::tatrc::physiology::datamodel::ConditionListData::Condition | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::ConditionListData::Condition | ( | const Condition_sequence & | s | ) |
Copy elements from a given sequence.
- Parameters
-
s A sequence to copy elements from.
For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.
ConditionListData & mil::tatrc::physiology::datamodel::ConditionListData::operator= | ( | const ConditionListData & | 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.