Class corresponding to the FluidCompartmentGraphData schema type. More...
#include <Compartment.hxx>
Public Member Functions | |
virtual | ~FluidCompartmentGraphData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::CompartmentGraphData | |
virtual | ~CompartmentGraphData () |
Destructor. More... | |
const Name_type & | Name () const |
Return a read-only (constant) reference to the element. More... | |
Name_type & | Name () |
Return a read-write reference to the element. More... | |
void | Name (const Name_type &x) |
Set the element value. More... | |
void | Name (::std::unique_ptr< Name_type > p) |
Set the element value without copying. More... | |
const Compartment_sequence & | Compartment () const |
Return a read-only (constant) reference to the element sequence. More... | |
Compartment_sequence & | Compartment () |
Return a read-write reference to the element sequence. More... | |
void | Compartment (const Compartment_sequence &s) |
Copy elements from a given sequence. More... | |
const Link_sequence & | Link () const |
Return a read-only (constant) reference to the element sequence. More... | |
Link_sequence & | Link () |
Return a read-write reference to the element sequence. More... | |
void | Link (const Link_sequence &s) |
Copy elements from a given sequence. More... | |
CompartmentGraphData () | |
Default constructor. More... | |
CompartmentGraphData (const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
CompartmentGraphData (::std::unique_ptr< Name_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
CompartmentGraphData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
CompartmentGraphData (const CompartmentGraphData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
CompartmentGraphData & | operator= (const CompartmentGraphData &x) |
Copy assignment operator. More... | |
Constructors | |
FluidCompartmentGraphData () | |
Default constructor. More... | |
FluidCompartmentGraphData (const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
FluidCompartmentGraphData (::std::unique_ptr< Name_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
FluidCompartmentGraphData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
FluidCompartmentGraphData (const FluidCompartmentGraphData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual FluidCompartmentGraphData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Additional Inherited Members | |
Public Types inherited from mil::tatrc::physiology::datamodel::CompartmentGraphData | |
typedef ::xml_schema::string | Name_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Name_type, char > | Name_traits |
Element traits type. More... | |
typedef ::xml_schema::string | Compartment_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Compartment_type > | Compartment_sequence |
Element sequence container type. More... | |
typedef Compartment_sequence::iterator | Compartment_iterator |
Element iterator type. More... | |
typedef Compartment_sequence::const_iterator | Compartment_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Compartment_type, char > | Compartment_traits |
Element traits type. More... | |
typedef ::xml_schema::string | Link_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Link_type > | Link_sequence |
Element sequence container type. More... | |
typedef Link_sequence::iterator | Link_iterator |
Element iterator type. More... | |
typedef Link_sequence::const_iterator | Link_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Link_type, char > | Link_traits |
Element traits type. More... | |
Detailed Description
Class corresponding to the FluidCompartmentGraphData schema type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::FluidCompartmentGraphData::FluidCompartmentGraphData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::FluidCompartmentGraphData::FluidCompartmentGraphData | ( | const Name_type & | Name | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::FluidCompartmentGraphData::FluidCompartmentGraphData | ( | ::std::unique_ptr< Name_type > | Name | ) |
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::FluidCompartmentGraphData::FluidCompartmentGraphData | ( | 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::FluidCompartmentGraphData::FluidCompartmentGraphData | ( | const FluidCompartmentGraphData & | 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::CompartmentGraphData.
Reimplemented in mil::tatrc::physiology::datamodel::LiquidCompartmentGraphData, and mil::tatrc::physiology::datamodel::GasCompartmentGraphData.