Class corresponding to the LiquidCompartmentLinkData schema type. More...
#include <Compartment.hxx>

Public Member Functions | |
virtual | ~LiquidCompartmentLinkData () |
Destructor. More... | |
![]() | |
virtual | ~FluidCompartmentLinkData () |
Destructor. More... | |
const Flow_optional & | Flow () const |
Return a read-only (constant) reference to the element container. More... | |
Flow_optional & | Flow () |
Return a read-write reference to the element container. More... | |
void | Flow (const Flow_type &x) |
Set the element value. More... | |
void | Flow (const Flow_optional &x) |
Set the element value. More... | |
void | Flow (::std::unique_ptr< Flow_type > p) |
Set the element value without copying. More... | |
FluidCompartmentLinkData () | |
Default constructor. More... | |
FluidCompartmentLinkData (const Name_type &, const SourceCompartment_type &, const TargetCompartment_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
FluidCompartmentLinkData (::std::unique_ptr< Name_type >,::std::unique_ptr< SourceCompartment_type >,::std::unique_ptr< TargetCompartment_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
FluidCompartmentLinkData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
FluidCompartmentLinkData (const FluidCompartmentLinkData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
FluidCompartmentLinkData & | operator= (const FluidCompartmentLinkData &x) |
Copy assignment operator. More... | |
![]() | |
virtual | ~CompartmentLinkData () |
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 Path_optional & | Path () const |
Return a read-only (constant) reference to the element container. More... | |
Path_optional & | Path () |
Return a read-write reference to the element container. More... | |
void | Path (const Path_type &x) |
Set the element value. More... | |
void | Path (const Path_optional &x) |
Set the element value. More... | |
void | Path (::std::unique_ptr< Path_type > p) |
Set the element value without copying. More... | |
const SourceCompartment_type & | SourceCompartment () const |
Return a read-only (constant) reference to the element. More... | |
SourceCompartment_type & | SourceCompartment () |
Return a read-write reference to the element. More... | |
void | SourceCompartment (const SourceCompartment_type &x) |
Set the element value. More... | |
void | SourceCompartment (::std::unique_ptr< SourceCompartment_type > p) |
Set the element value without copying. More... | |
const TargetCompartment_type & | TargetCompartment () const |
Return a read-only (constant) reference to the element. More... | |
TargetCompartment_type & | TargetCompartment () |
Return a read-write reference to the element. More... | |
void | TargetCompartment (const TargetCompartment_type &x) |
Set the element value. More... | |
void | TargetCompartment (::std::unique_ptr< TargetCompartment_type > p) |
Set the element value without copying. More... | |
CompartmentLinkData () | |
Default constructor. More... | |
CompartmentLinkData (const Name_type &, const SourceCompartment_type &, const TargetCompartment_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
CompartmentLinkData (::std::unique_ptr< Name_type >,::std::unique_ptr< SourceCompartment_type >,::std::unique_ptr< TargetCompartment_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
CompartmentLinkData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
CompartmentLinkData (const CompartmentLinkData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
CompartmentLinkData & | operator= (const CompartmentLinkData &x) |
Copy assignment operator. More... | |
![]() | |
virtual | ~ObjectData () |
Destructor. More... | |
const contentVersion_optional & | contentVersion () const |
Return a read-only (constant) reference to the attribute container. More... | |
contentVersion_optional & | contentVersion () |
Return a read-write reference to the attribute container. More... | |
void | contentVersion (const contentVersion_type &x) |
Set the attribute value. More... | |
void | contentVersion (const contentVersion_optional &x) |
Set the attribute value. More... | |
void | contentVersion (::std::unique_ptr< contentVersion_type > p) |
Set the attribute value without copying. More... | |
ObjectData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ObjectData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ObjectData (const ObjectData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ObjectData & | operator= (const ObjectData &x) |
Copy assignment operator. More... | |
Constructors | |
LiquidCompartmentLinkData () | |
Default constructor. More... | |
LiquidCompartmentLinkData (const Name_type &, const SourceCompartment_type &, const TargetCompartment_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
LiquidCompartmentLinkData (::std::unique_ptr< Name_type >,::std::unique_ptr< SourceCompartment_type >,::std::unique_ptr< TargetCompartment_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
LiquidCompartmentLinkData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
LiquidCompartmentLinkData (const LiquidCompartmentLinkData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual LiquidCompartmentLinkData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Additional Inherited Members | |
![]() | |
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData | Flow_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Flow_type > | Flow_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Flow_type, char > | Flow_traits |
Element traits type. More... | |
![]() | |
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 | Path_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Path_type > | Path_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Path_type, char > | Path_traits |
Element traits type. More... | |
typedef ::xml_schema::string | SourceCompartment_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< SourceCompartment_type, char > | SourceCompartment_traits |
Element traits type. More... | |
typedef ::xml_schema::string | TargetCompartment_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< TargetCompartment_type, char > | TargetCompartment_traits |
Element traits type. More... | |
![]() | |
typedef ::xml_schema::string | contentVersion_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< contentVersion_type > | contentVersion_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< contentVersion_type, char > | contentVersion_traits |
Attribute traits type. More... | |
Detailed Description
Class corresponding to the LiquidCompartmentLinkData schema type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::LiquidCompartmentLinkData::LiquidCompartmentLinkData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::LiquidCompartmentLinkData::LiquidCompartmentLinkData | ( | const Name_type & | Name, |
const SourceCompartment_type & | SourceCompartment, | ||
const TargetCompartment_type & | TargetCompartment | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::LiquidCompartmentLinkData::LiquidCompartmentLinkData | ( | ::std::unique_ptr< Name_type > | Name, |
::std::unique_ptr< SourceCompartment_type > | SourceCompartment, | ||
::std::unique_ptr< TargetCompartment_type > | TargetCompartment | ||
) |
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::LiquidCompartmentLinkData::LiquidCompartmentLinkData | ( | 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::LiquidCompartmentLinkData::LiquidCompartmentLinkData | ( | const LiquidCompartmentLinkData & | 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::FluidCompartmentLinkData.