Class corresponding to the GastrointestinalSystemData schema type. More...
#include <Physiology.hxx>
Public Member Functions | |
virtual | ~GastrointestinalSystemData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::SystemData | |
virtual | ~SystemData () |
Destructor. More... | |
SystemData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
SystemData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
SystemData (const SystemData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::ObjectData | |
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... | |
ChymeAbsorptionRate | |
Accessor and modifier functions for the ChymeAbsorptionRate optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData | ChymeAbsorptionRate_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< ChymeAbsorptionRate_type > | ChymeAbsorptionRate_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< ChymeAbsorptionRate_type, char > | ChymeAbsorptionRate_traits |
Element traits type. More... | |
const ChymeAbsorptionRate_optional & | ChymeAbsorptionRate () const |
Return a read-only (constant) reference to the element container. More... | |
ChymeAbsorptionRate_optional & | ChymeAbsorptionRate () |
Return a read-write reference to the element container. More... | |
void | ChymeAbsorptionRate (const ChymeAbsorptionRate_type &x) |
Set the element value. More... | |
void | ChymeAbsorptionRate (const ChymeAbsorptionRate_optional &x) |
Set the element value. More... | |
void | ChymeAbsorptionRate (::std::unique_ptr< ChymeAbsorptionRate_type > p) |
Set the element value without copying. More... | |
StomachContents | |
Accessor and modifier functions for the StomachContents optional element. | |
typedef ::mil::tatrc::physiology::datamodel::NutritionData | StomachContents_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< StomachContents_type > | StomachContents_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< StomachContents_type, char > | StomachContents_traits |
Element traits type. More... | |
const StomachContents_optional & | StomachContents () const |
Return a read-only (constant) reference to the element container. More... | |
StomachContents_optional & | StomachContents () |
Return a read-write reference to the element container. More... | |
void | StomachContents (const StomachContents_type &x) |
Set the element value. More... | |
void | StomachContents (const StomachContents_optional &x) |
Set the element value. More... | |
void | StomachContents (::std::unique_ptr< StomachContents_type > p) |
Set the element value without copying. More... | |
DrugTransitStates | |
Accessor and modifier functions for the DrugTransitStates sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::DrugTransitStateData | DrugTransitStates_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< DrugTransitStates_type > | DrugTransitStates_sequence |
Element sequence container type. More... | |
typedef DrugTransitStates_sequence::iterator | DrugTransitStates_iterator |
Element iterator type. More... | |
typedef DrugTransitStates_sequence::const_iterator | DrugTransitStates_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< DrugTransitStates_type, char > | DrugTransitStates_traits |
Element traits type. More... | |
const DrugTransitStates_sequence & | DrugTransitStates () const |
Return a read-only (constant) reference to the element sequence. More... | |
DrugTransitStates_sequence & | DrugTransitStates () |
Return a read-write reference to the element sequence. More... | |
void | DrugTransitStates (const DrugTransitStates_sequence &s) |
Copy elements from a given sequence. More... | |
Constructors | |
GastrointestinalSystemData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
GastrointestinalSystemData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
GastrointestinalSystemData (const GastrointestinalSystemData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual GastrointestinalSystemData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
GastrointestinalSystemData & | operator= (const GastrointestinalSystemData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
Public Types inherited from mil::tatrc::physiology::datamodel::ObjectData | |
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 GastrointestinalSystemData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< ChymeAbsorptionRate_type > mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< ChymeAbsorptionRate_type, char > mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate_type |
Element type.
typedef DrugTransitStates_sequence::const_iterator mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates_const_iterator |
Element constant iterator type.
typedef DrugTransitStates_sequence::iterator mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< DrugTransitStates_type > mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< DrugTransitStates_type, char > mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::DrugTransitStateData mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates_type |
Element type.
typedef ::xsd::cxx::tree::optional< StomachContents_type > mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< StomachContents_type, char > mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::NutritionData mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::GastrointestinalSystemData::GastrointestinalSystemData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::GastrointestinalSystemData::GastrointestinalSystemData | ( | 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::GastrointestinalSystemData::GastrointestinalSystemData | ( | const GastrointestinalSystemData & | 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::SystemData.
Reimplemented in mil::tatrc::physiology::datamodel::BioGearsGastrointestinalSystemData.
const GastrointestinalSystemData::ChymeAbsorptionRate_optional & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
GastrointestinalSystemData::ChymeAbsorptionRate_optional & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate | ( | const ChymeAbsorptionRate_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::GastrointestinalSystemData::ChymeAbsorptionRate | ( | const ChymeAbsorptionRate_optional & | x | ) |
Set the element 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 element. Otherwise the element container is set the 'not present' state.
void mil::tatrc::physiology::datamodel::GastrointestinalSystemData::ChymeAbsorptionRate | ( | ::std::unique_ptr< ChymeAbsorptionRate_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.
const GastrointestinalSystemData::DrugTransitStates_sequence & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
GastrointestinalSystemData::DrugTransitStates_sequence & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::GastrointestinalSystemData::DrugTransitStates | ( | const DrugTransitStates_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.
GastrointestinalSystemData & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::operator= | ( | const GastrointestinalSystemData & | 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 GastrointestinalSystemData::StomachContents_optional & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
GastrointestinalSystemData::StomachContents_optional & mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents | ( | const StomachContents_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::GastrointestinalSystemData::StomachContents | ( | const StomachContents_optional & | x | ) |
Set the element 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 element. Otherwise the element container is set the 'not present' state.
void mil::tatrc::physiology::datamodel::GastrointestinalSystemData::StomachContents | ( | ::std::unique_ptr< StomachContents_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.