Class corresponding to the MechanicalVentilationData schema type. More...
#include <PatientActions.hxx>

Public Member Functions | |
virtual | ~MechanicalVentilationData () |
Destructor. More... | |
![]() | |
virtual | ~PatientActionData () |
Destructor. More... | |
PatientActionData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
PatientActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
PatientActionData (const PatientActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
![]() | |
virtual | ~ActionData () |
Destructor. More... | |
const Comment_optional & | Comment () const |
Return a read-only (constant) reference to the element container. More... | |
Comment_optional & | Comment () |
Return a read-write reference to the element container. More... | |
void | Comment (const Comment_type &x) |
Set the element value. More... | |
void | Comment (const Comment_optional &x) |
Set the element value. More... | |
void | Comment (::std::unique_ptr< Comment_type > p) |
Set the element value without copying. More... | |
const Occurs_optional & | Occurs () const |
Return a read-only (constant) reference to the element container. More... | |
Occurs_optional & | Occurs () |
Return a read-write reference to the element container. More... | |
void | Occurs (const Occurs_type &x) |
Set the element value. More... | |
void | Occurs (const Occurs_optional &x) |
Set the element value. More... | |
const Duration_optional & | Duration () const |
Return a read-only (constant) reference to the element container. More... | |
Duration_optional & | Duration () |
Return a read-write reference to the element container. More... | |
void | Duration (const Duration_type &x) |
Set the element value. More... | |
void | Duration (const Duration_optional &x) |
Set the element value. More... | |
ActionData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ActionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ActionData (const ActionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ActionData & | operator= (const ActionData &x) |
Copy assignment operator. More... | |
Pressure | |
Accessor and modifier functions for the Pressure optional element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarPressureData | Pressure_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Pressure_type > | Pressure_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Pressure_type, char > | Pressure_traits |
Element traits type. More... | |
const Pressure_optional & | Pressure () const |
Return a read-only (constant) reference to the element container. More... | |
Pressure_optional & | Pressure () |
Return a read-write reference to the element container. More... | |
void | Pressure (const Pressure_type &x) |
Set the element value. More... | |
void | Pressure (const Pressure_optional &x) |
Set the element value. More... | |
void | Pressure (::std::unique_ptr< Pressure_type > p) |
Set the element value without copying. More... | |
Flow | |
Accessor and modifier functions for the Flow optional element. | |
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... | |
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... | |
GasFraction | |
Accessor and modifier functions for the GasFraction sequence element. | |
typedef ::mil::tatrc::physiology::datamodel::SubstanceFractionData | GasFraction_type |
Element type. More... | |
typedef ::xsd::cxx::tree::sequence< GasFraction_type > | GasFraction_sequence |
Element sequence container type. More... | |
typedef GasFraction_sequence::iterator | GasFraction_iterator |
Element iterator type. More... | |
typedef GasFraction_sequence::const_iterator | GasFraction_const_iterator |
Element constant iterator type. More... | |
typedef ::xsd::cxx::tree::traits< GasFraction_type, char > | GasFraction_traits |
Element traits type. More... | |
const GasFraction_sequence & | GasFraction () const |
Return a read-only (constant) reference to the element sequence. More... | |
GasFraction_sequence & | GasFraction () |
Return a read-write reference to the element sequence. More... | |
void | GasFraction (const GasFraction_sequence &s) |
Copy elements from a given sequence. More... | |
State | |
Accessor and modifier functions for the State required attribute. | |
typedef ::mil::tatrc::physiology::datamodel::enumOnOff | State_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< State_type, char > | State_traits |
Attribute traits type. More... | |
const State_type & | State () const |
Return a read-only (constant) reference to the attribute. More... | |
State_type & | State () |
Return a read-write reference to the attribute. More... | |
void | State (const State_type &x) |
Set the attribute value. More... | |
void | State (::std::unique_ptr< State_type > p) |
Set the attribute value without copying. More... | |
Constructors | |
MechanicalVentilationData () | |
Default constructor. More... | |
MechanicalVentilationData (const State_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
MechanicalVentilationData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
MechanicalVentilationData (const MechanicalVentilationData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual MechanicalVentilationData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
MechanicalVentilationData & | operator= (const MechanicalVentilationData &x) |
Copy assignment operator. More... | |
Additional Inherited Members | |
![]() | |
typedef ::xml_schema::string | Comment_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Comment_type > | Comment_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Comment_type, char > | Comment_traits |
Element traits type. More... | |
typedef ::xml_schema::double_ | Occurs_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Occurs_type > | Occurs_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Occurs_type, char,::xsd::cxx::tree::schema_type::double_ > | Occurs_traits |
Element traits type. More... | |
typedef ::xml_schema::double_ | Duration_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< Duration_type > | Duration_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< Duration_type, char,::xsd::cxx::tree::schema_type::double_ > | Duration_traits |
Element traits type. More... | |
Detailed Description
Class corresponding to the MechanicalVentilationData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< Flow_type > mil::tatrc::physiology::datamodel::MechanicalVentilationData::Flow_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Flow_type, char > mil::tatrc::physiology::datamodel::MechanicalVentilationData::Flow_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarVolumePerTimeData mil::tatrc::physiology::datamodel::MechanicalVentilationData::Flow_type |
Element type.
typedef GasFraction_sequence::const_iterator mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction_const_iterator |
Element constant iterator type.
typedef GasFraction_sequence::iterator mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction_iterator |
Element iterator type.
typedef ::xsd::cxx::tree::sequence< GasFraction_type > mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction_sequence |
Element sequence container type.
typedef ::xsd::cxx::tree::traits< GasFraction_type, char > mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::SubstanceFractionData mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction_type |
Element type.
typedef ::xsd::cxx::tree::optional< Pressure_type > mil::tatrc::physiology::datamodel::MechanicalVentilationData::Pressure_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< Pressure_type, char > mil::tatrc::physiology::datamodel::MechanicalVentilationData::Pressure_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarPressureData mil::tatrc::physiology::datamodel::MechanicalVentilationData::Pressure_type |
Element type.
typedef ::xsd::cxx::tree::traits< State_type, char > mil::tatrc::physiology::datamodel::MechanicalVentilationData::State_traits |
Attribute traits type.
typedef ::mil::tatrc::physiology::datamodel::enumOnOff mil::tatrc::physiology::datamodel::MechanicalVentilationData::State_type |
Attribute type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::MechanicalVentilationData::MechanicalVentilationData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::MechanicalVentilationData::MechanicalVentilationData | ( | const State_type & | State | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::MechanicalVentilationData::MechanicalVentilationData | ( | 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::MechanicalVentilationData::MechanicalVentilationData | ( | const MechanicalVentilationData & | 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::PatientActionData.
const MechanicalVentilationData::Flow_optional & mil::tatrc::physiology::datamodel::MechanicalVentilationData::Flow | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
MechanicalVentilationData::Flow_optional & mil::tatrc::physiology::datamodel::MechanicalVentilationData::Flow | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::MechanicalVentilationData::Flow | ( | const Flow_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::MechanicalVentilationData::Flow | ( | const Flow_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::MechanicalVentilationData::Flow | ( | ::std::unique_ptr< Flow_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 MechanicalVentilationData::GasFraction_sequence & mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction | ( | ) | const |
Return a read-only (constant) reference to the element sequence.
- Returns
- A constant reference to the sequence container.
MechanicalVentilationData::GasFraction_sequence & mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction | ( | ) |
Return a read-write reference to the element sequence.
- Returns
- A reference to the sequence container.
void mil::tatrc::physiology::datamodel::MechanicalVentilationData::GasFraction | ( | const GasFraction_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.
MechanicalVentilationData & mil::tatrc::physiology::datamodel::MechanicalVentilationData::operator= | ( | const MechanicalVentilationData & | 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 MechanicalVentilationData::Pressure_optional & mil::tatrc::physiology::datamodel::MechanicalVentilationData::Pressure | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
MechanicalVentilationData::Pressure_optional & mil::tatrc::physiology::datamodel::MechanicalVentilationData::Pressure | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::MechanicalVentilationData::Pressure | ( | const Pressure_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::MechanicalVentilationData::Pressure | ( | const Pressure_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::MechanicalVentilationData::Pressure | ( | ::std::unique_ptr< Pressure_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 MechanicalVentilationData::State_type & mil::tatrc::physiology::datamodel::MechanicalVentilationData::State | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
MechanicalVentilationData::State_type & mil::tatrc::physiology::datamodel::MechanicalVentilationData::State | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::MechanicalVentilationData::State | ( | const State_type & | x | ) |
Set the attribute 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 attribute.
void mil::tatrc::physiology::datamodel::MechanicalVentilationData::State | ( | ::std::unique_ptr< State_type > | p | ) |
Set the attribute 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.