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

Public Member Functions | |
virtual | ~BreathHoldData () |
Destructor. More... | |
![]() | |
virtual | ~ConsciousRespirationCommandData () |
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... | |
ConsciousRespirationCommandData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ConsciousRespirationCommandData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ConsciousRespirationCommandData (const ConsciousRespirationCommandData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ConsciousRespirationCommandData & | operator= (const ConsciousRespirationCommandData &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... | |
Period | |
Accessor and modifier functions for the Period required element. | |
typedef ::mil::tatrc::physiology::datamodel::ScalarTimeData | Period_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Period_type, char > | Period_traits |
Element traits type. More... | |
const Period_type & | Period () const |
Return a read-only (constant) reference to the element. More... | |
Period_type & | Period () |
Return a read-write reference to the element. More... | |
void | Period (const Period_type &x) |
Set the element value. More... | |
void | Period (::std::unique_ptr< Period_type > p) |
Set the element value without copying. More... | |
Constructors | |
BreathHoldData () | |
Default constructor. More... | |
BreathHoldData (const Period_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
BreathHoldData (::std::unique_ptr< Period_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
BreathHoldData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
BreathHoldData (const BreathHoldData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual BreathHoldData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
BreathHoldData & | operator= (const BreathHoldData &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::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 BreathHoldData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< Period_type, char > mil::tatrc::physiology::datamodel::BreathHoldData::Period_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::ScalarTimeData mil::tatrc::physiology::datamodel::BreathHoldData::Period_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::BreathHoldData::BreathHoldData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::BreathHoldData::BreathHoldData | ( | const Period_type & | Period | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::BreathHoldData::BreathHoldData | ( | ::std::unique_ptr< Period_type > | Period | ) |
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::BreathHoldData::BreathHoldData | ( | 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::BreathHoldData::BreathHoldData | ( | const BreathHoldData & | 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::ConsciousRespirationCommandData.
BreathHoldData & mil::tatrc::physiology::datamodel::BreathHoldData::operator= | ( | const BreathHoldData & | 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 BreathHoldData::Period_type & mil::tatrc::physiology::datamodel::BreathHoldData::Period | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
BreathHoldData::Period_type & mil::tatrc::physiology::datamodel::BreathHoldData::Period | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::BreathHoldData::Period | ( | const Period_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::BreathHoldData::Period | ( | ::std::unique_ptr< Period_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.