Class corresponding to the ThermalCompartmentData schema type. More...
#include <Compartment.hxx>
Public Member Functions | |
virtual | ~ThermalCompartmentData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::CompartmentData | |
virtual | ~CompartmentData () |
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 Node_sequence & | Node () const |
Return a read-only (constant) reference to the element sequence. More... | |
Node_sequence & | Node () |
Return a read-write reference to the element sequence. More... | |
void | Node (const Node_sequence &s) |
Copy elements from a given sequence. More... | |
const Child_sequence & | Child () const |
Return a read-only (constant) reference to the element sequence. More... | |
Child_sequence & | Child () |
Return a read-write reference to the element sequence. More... | |
void | Child (const Child_sequence &s) |
Copy elements from a given sequence. More... | |
CompartmentData () | |
Default constructor. More... | |
CompartmentData (const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
CompartmentData (::std::unique_ptr< Name_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
CompartmentData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
CompartmentData (const CompartmentData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
CompartmentData & | operator= (const CompartmentData &x) |
Copy assignment operator. 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... | |
HeatTransferRateIn | |
Accessor and modifier functions for the HeatTransferRateIn optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarPowerData | HeatTransferRateIn_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< HeatTransferRateIn_type > | HeatTransferRateIn_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< HeatTransferRateIn_type, char > | HeatTransferRateIn_traits |
Element traits type. More... | |
const HeatTransferRateIn_optional & | HeatTransferRateIn () const |
Return a read-only (constant) reference to the element container. More... | |
HeatTransferRateIn_optional & | HeatTransferRateIn () |
Return a read-write reference to the element container. More... | |
void | HeatTransferRateIn (const HeatTransferRateIn_type &x) |
Set the element value. More... | |
void | HeatTransferRateIn (const HeatTransferRateIn_optional &x) |
Set the element value. More... | |
void | HeatTransferRateIn (::std::unique_ptr< HeatTransferRateIn_type > p) |
Set the element value without copying. More... | |
HeatTransferRateOut | |
Accessor and modifier functions for the HeatTransferRateOut optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarPowerData | HeatTransferRateOut_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< HeatTransferRateOut_type > | HeatTransferRateOut_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< HeatTransferRateOut_type, char > | HeatTransferRateOut_traits |
Element traits type. More... | |
const HeatTransferRateOut_optional & | HeatTransferRateOut () const |
Return a read-only (constant) reference to the element container. More... | |
HeatTransferRateOut_optional & | HeatTransferRateOut () |
Return a read-write reference to the element container. More... | |
void | HeatTransferRateOut (const HeatTransferRateOut_type &x) |
Set the element value. More... | |
void | HeatTransferRateOut (const HeatTransferRateOut_optional &x) |
Set the element value. More... | |
void | HeatTransferRateOut (::std::unique_ptr< HeatTransferRateOut_type > p) |
Set the element value without copying. More... | |
Temperature | |
Accessor and modifier functions for the Temperature optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarTemperatureData | Temperature_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Temperature_type > | Temperature_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Temperature_type, char > | Temperature_traits |
Element traits type. More... | |
const Temperature_optional & | Temperature () const |
Return a read-only (constant) reference to the element container. More... | |
Temperature_optional & | Temperature () |
Return a read-write reference to the element container. More... | |
void | Temperature (const Temperature_type &x) |
Set the element value. More... | |
void | Temperature (const Temperature_optional &x) |
Set the element value. More... | |
void | Temperature (::std::unique_ptr< Temperature_type > p) |
Set the element value without copying. More... | |
Heat | |
Accessor and modifier functions for the Heat optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarEnergyData | Heat_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Heat_type > | Heat_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Heat_type, char > | Heat_traits |
Element traits type. More... | |
const Heat_optional & | Heat () const |
Return a read-only (constant) reference to the element container. More... | |
Heat_optional & | Heat () |
Return a read-write reference to the element container. More... | |
void | Heat (const Heat_type &x) |
Set the element value. More... | |
void | Heat (const Heat_optional &x) |
Set the element value. More... | |
void | Heat (::std::unique_ptr< Heat_type > p) |
Set the element value without copying. More... | |
Constructors | |
ThermalCompartmentData () | |
Default constructor. More... | |
ThermalCompartmentData (const Name_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ThermalCompartmentData (::std::unique_ptr< Name_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
ThermalCompartmentData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ThermalCompartmentData (const ThermalCompartmentData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ThermalCompartmentData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ThermalCompartmentData & | operator= (const ThermalCompartmentData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
Public Types inherited from mil::tatrc::physiology::datamodel::CompartmentData | |
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 | Node_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Node_type > | Node_sequence |
Element sequence container type. More... | |
typedef Node_sequence::iterator | Node_iterator |
Element iterator type. More... | |
typedef Node_sequence::const_iterator | Node_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Node_type, char > | Node_traits |
Element traits type. More... | |
typedef ::xml_schema::string | Child_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< Child_type > | Child_sequence |
Element sequence container type. More... | |
typedef Child_sequence::iterator | Child_iterator |
Element iterator type. More... | |
typedef Child_sequence::const_iterator | Child_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< Child_type, char > | Child_traits |
Element traits type. More... | |
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 ThermalCompartmentData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< Heat_type > mil::tatrc::physiology::datamodel::ThermalCompartmentData::Heat_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Heat_type, char > mil::tatrc::physiology::datamodel::ThermalCompartmentData::Heat_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarEnergyData mil::tatrc::physiology::datamodel::ThermalCompartmentData::Heat_type |
Element type.
typedef ::xsd::cxx::tree::optional< HeatTransferRateIn_type > mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateIn_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< HeatTransferRateIn_type, char > mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateIn_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarPowerData mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateIn_type |
Element type.
typedef ::xsd::cxx::tree::optional< HeatTransferRateOut_type > mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateOut_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< HeatTransferRateOut_type, char > mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateOut_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarPowerData mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateOut_type |
Element type.
typedef ::xsd::cxx::tree::optional< Temperature_type > mil::tatrc::physiology::datamodel::ThermalCompartmentData::Temperature_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Temperature_type, char > mil::tatrc::physiology::datamodel::ThermalCompartmentData::Temperature_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarTemperatureData mil::tatrc::physiology::datamodel::ThermalCompartmentData::Temperature_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ThermalCompartmentData::ThermalCompartmentData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::ThermalCompartmentData::ThermalCompartmentData | ( | const Name_type & | Name | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ThermalCompartmentData::ThermalCompartmentData | ( | ::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::ThermalCompartmentData::ThermalCompartmentData | ( | 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::ThermalCompartmentData::ThermalCompartmentData | ( | const ThermalCompartmentData & | 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::CompartmentData.
const ThermalCompartmentData::Heat_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::Heat | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ThermalCompartmentData::Heat_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::Heat | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ThermalCompartmentData::Heat | ( | const Heat_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::ThermalCompartmentData::Heat | ( | const Heat_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::ThermalCompartmentData::Heat | ( | ::std::unique_ptr< Heat_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 ThermalCompartmentData::HeatTransferRateIn_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateIn | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ThermalCompartmentData::HeatTransferRateIn_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateIn | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateIn | ( | const HeatTransferRateIn_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::ThermalCompartmentData::HeatTransferRateIn | ( | const HeatTransferRateIn_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::ThermalCompartmentData::HeatTransferRateIn | ( | ::std::unique_ptr< HeatTransferRateIn_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 ThermalCompartmentData::HeatTransferRateOut_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateOut | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ThermalCompartmentData::HeatTransferRateOut_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateOut | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ThermalCompartmentData::HeatTransferRateOut | ( | const HeatTransferRateOut_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::ThermalCompartmentData::HeatTransferRateOut | ( | const HeatTransferRateOut_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::ThermalCompartmentData::HeatTransferRateOut | ( | ::std::unique_ptr< HeatTransferRateOut_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.
ThermalCompartmentData & mil::tatrc::physiology::datamodel::ThermalCompartmentData::operator= | ( | const ThermalCompartmentData & | 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 ThermalCompartmentData::Temperature_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::Temperature | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ThermalCompartmentData::Temperature_optional & mil::tatrc::physiology::datamodel::ThermalCompartmentData::Temperature | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ThermalCompartmentData::Temperature | ( | const Temperature_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::ThermalCompartmentData::Temperature | ( | const Temperature_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::ThermalCompartmentData::Temperature | ( | ::std::unique_ptr< Temperature_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.