mil::tatrc::physiology::datamodel::ConsciousRespirationData Class Reference

Class corresponding to the ConsciousRespirationData schema type. More...

#include <PatientActions.hxx>

Inheritance diagram for mil::tatrc::physiology::datamodel::ConsciousRespirationData:

Public Member Functions

virtual ~ConsciousRespirationData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::PatientActionData
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...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::ActionData
virtual ~ActionData ()
 Destructor. More...
 
const Comment_optionalComment () const
 Return a read-only (constant) reference to the element container. More...
 
Comment_optionalComment ()
 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_optionalOccurs () const
 Return a read-only (constant) reference to the element container. More...
 
Occurs_optionalOccurs ()
 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_optionalDuration () const
 Return a read-only (constant) reference to the element container. More...
 
Duration_optionalDuration ()
 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...
 
ActionDataoperator= (const ActionData &x)
 Copy assignment operator. More...
 

Command

Accessor and modifier functions for the Command sequence element.

typedef ::mil::tatrc::physiology::datamodel::ConsciousRespirationCommandData Command_type
 Element type. More...
 
typedef ::xsd::cxx::tree::sequence< Command_typeCommand_sequence
 Element sequence container type. More...
 
typedef Command_sequence::iterator Command_iterator
 Element iterator type. More...
 
typedef Command_sequence::const_iterator Command_const_iterator
 Element constant iterator type. More...
 
typedef ::xsd::cxx::tree::traits< Command_type, char > Command_traits
 Element traits type. More...
 
const Command_sequenceCommand () const
 Return a read-only (constant) reference to the element sequence. More...
 
Command_sequenceCommand ()
 Return a read-write reference to the element sequence. More...
 
void Command (const Command_sequence &s)
 Copy elements from a given sequence. More...
 

AppendToPrevious

Accessor and modifier functions for the AppendToPrevious required attribute.

typedef ::xml_schema::boolean AppendToPrevious_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< AppendToPrevious_type, char > AppendToPrevious_traits
 Attribute traits type. More...
 
const AppendToPrevious_typeAppendToPrevious () const
 Return a read-only (constant) reference to the attribute. More...
 
AppendToPrevious_typeAppendToPrevious ()
 Return a read-write reference to the attribute. More...
 
void AppendToPrevious (const AppendToPrevious_type &x)
 Set the attribute value. More...
 

Constructors

 ConsciousRespirationData ()
 Default constructor. More...
 
 ConsciousRespirationData (const AppendToPrevious_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 ConsciousRespirationData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 ConsciousRespirationData (const ConsciousRespirationData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual ConsciousRespirationData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
ConsciousRespirationDataoperator= (const ConsciousRespirationData &x)
 Copy assignment operator. More...
 

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::ActionData
typedef ::xml_schema::string Comment_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< Comment_typeComment_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_typeOccurs_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_typeDuration_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 ConsciousRespirationData schema type.

Member Typedef Documentation

Element constant iterator type.

Element iterator type.

Element sequence container type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::ConsciousRespirationData::ConsciousRespirationData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::ConsciousRespirationData::ConsciousRespirationData ( const AppendToPrevious_type AppendToPrevious)

Create an instance from the ultimate base and initializers for required elements and attributes.

mil::tatrc::physiology::datamodel::ConsciousRespirationData::ConsciousRespirationData ( const ::xercesc::DOMElement &  e,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM element.

Parameters
eA DOM element to extract the data from.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.
mil::tatrc::physiology::datamodel::ConsciousRespirationData::ConsciousRespirationData ( const ConsciousRespirationData x,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Copy constructor.

Parameters
xAn instance to make a copy of.
fFlags to create the copy with.
cA pointer to the object that will contain the copy.

For polymorphic object models use the _clone function instead.

mil::tatrc::physiology::datamodel::ConsciousRespirationData::~ConsciousRespirationData ( )
virtual

Destructor.

Member Function Documentation

ConsciousRespirationData * mil::tatrc::physiology::datamodel::ConsciousRespirationData::_clone ( ::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
) const
virtual

Copy the instance polymorphically.

Parameters
fFlags to create the copy with.
cA 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 ConsciousRespirationData::AppendToPrevious_type & mil::tatrc::physiology::datamodel::ConsciousRespirationData::AppendToPrevious ( ) const

Return a read-only (constant) reference to the attribute.

Returns
A constant reference to the attribute.
ConsciousRespirationData::AppendToPrevious_type & mil::tatrc::physiology::datamodel::ConsciousRespirationData::AppendToPrevious ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.
void mil::tatrc::physiology::datamodel::ConsciousRespirationData::AppendToPrevious ( const AppendToPrevious_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

const ConsciousRespirationData::Command_sequence & mil::tatrc::physiology::datamodel::ConsciousRespirationData::Command ( ) const

Return a read-only (constant) reference to the element sequence.

Returns
A constant reference to the sequence container.
ConsciousRespirationData::Command_sequence & mil::tatrc::physiology::datamodel::ConsciousRespirationData::Command ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.
void mil::tatrc::physiology::datamodel::ConsciousRespirationData::Command ( const Command_sequence s)

Copy elements from a given sequence.

Parameters
sA 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.

ConsciousRespirationData & mil::tatrc::physiology::datamodel::ConsciousRespirationData::operator= ( const ConsciousRespirationData x)

Copy assignment operator.

Parameters
xAn instance to make a copy of.
Returns
A reference to itself.

For polymorphic object models use the _clone function instead.