Class corresponding to the ExerciseData schema type. More...
#include <PatientActions.hxx>
Public Member Functions | |
virtual | ~ExerciseData () |
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_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... | |
GenericExercise | |
Accessor and modifier functions for the GenericExercise optional element. | |
typedef ::mil::tatrc::physiology::datamodel::GenericExerciseData | GenericExercise_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< GenericExercise_type > | GenericExercise_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< GenericExercise_type, char > | GenericExercise_traits |
Element traits type. More... | |
const GenericExercise_optional & | GenericExercise () const |
Return a read-only (constant) reference to the element container. More... | |
GenericExercise_optional & | GenericExercise () |
Return a read-write reference to the element container. More... | |
void | GenericExercise (const GenericExercise_type &x) |
Set the element value. More... | |
void | GenericExercise (const GenericExercise_optional &x) |
Set the element value. More... | |
void | GenericExercise (::std::unique_ptr< GenericExercise_type > p) |
Set the element value without copying. More... | |
RunningExercise | |
Accessor and modifier functions for the RunningExercise optional element. | |
typedef ::mil::tatrc::physiology::datamodel::RunningExerciseData | RunningExercise_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< RunningExercise_type > | RunningExercise_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< RunningExercise_type, char > | RunningExercise_traits |
Element traits type. More... | |
const RunningExercise_optional & | RunningExercise () const |
Return a read-only (constant) reference to the element container. More... | |
RunningExercise_optional & | RunningExercise () |
Return a read-write reference to the element container. More... | |
void | RunningExercise (const RunningExercise_type &x) |
Set the element value. More... | |
void | RunningExercise (const RunningExercise_optional &x) |
Set the element value. More... | |
void | RunningExercise (::std::unique_ptr< RunningExercise_type > p) |
Set the element value without copying. More... | |
CyclingExercise | |
Accessor and modifier functions for the CyclingExercise optional element. | |
typedef ::mil::tatrc::physiology::datamodel::CyclingExerciseData | CyclingExercise_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< CyclingExercise_type > | CyclingExercise_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< CyclingExercise_type, char > | CyclingExercise_traits |
Element traits type. More... | |
const CyclingExercise_optional & | CyclingExercise () const |
Return a read-only (constant) reference to the element container. More... | |
CyclingExercise_optional & | CyclingExercise () |
Return a read-write reference to the element container. More... | |
void | CyclingExercise (const CyclingExercise_type &x) |
Set the element value. More... | |
void | CyclingExercise (const CyclingExercise_optional &x) |
Set the element value. More... | |
void | CyclingExercise (::std::unique_ptr< CyclingExercise_type > p) |
Set the element value without copying. More... | |
StrengthExercise | |
Accessor and modifier functions for the StrengthExercise optional element. | |
typedef ::mil::tatrc::physiology::datamodel::StrengthExerciseData | StrengthExercise_type |
Element type. More... | |
typedef ::xsd::cxx::tree::optional< StrengthExercise_type > | StrengthExercise_optional |
Element optional container type. More... | |
typedef ::xsd::cxx::tree::traits< StrengthExercise_type, char > | StrengthExercise_traits |
Element traits type. More... | |
const StrengthExercise_optional & | StrengthExercise () const |
Return a read-only (constant) reference to the element container. More... | |
StrengthExercise_optional & | StrengthExercise () |
Return a read-write reference to the element container. More... | |
void | StrengthExercise (const StrengthExercise_type &x) |
Set the element value. More... | |
void | StrengthExercise (const StrengthExercise_optional &x) |
Set the element value. More... | |
void | StrengthExercise (::std::unique_ptr< StrengthExercise_type > p) |
Set the element value without copying. More... | |
Constructors | |
ExerciseData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ExerciseData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ExerciseData (const ExerciseData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ExerciseData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ExerciseData & | operator= (const ExerciseData &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_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 ExerciseData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::optional< CyclingExercise_type > mil::tatrc::physiology::datamodel::ExerciseData::CyclingExercise_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< CyclingExercise_type, char > mil::tatrc::physiology::datamodel::ExerciseData::CyclingExercise_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::CyclingExerciseData mil::tatrc::physiology::datamodel::ExerciseData::CyclingExercise_type |
Element type.
typedef ::xsd::cxx::tree::optional< GenericExercise_type > mil::tatrc::physiology::datamodel::ExerciseData::GenericExercise_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< GenericExercise_type, char > mil::tatrc::physiology::datamodel::ExerciseData::GenericExercise_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::GenericExerciseData mil::tatrc::physiology::datamodel::ExerciseData::GenericExercise_type |
Element type.
typedef ::xsd::cxx::tree::optional< RunningExercise_type > mil::tatrc::physiology::datamodel::ExerciseData::RunningExercise_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< RunningExercise_type, char > mil::tatrc::physiology::datamodel::ExerciseData::RunningExercise_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::RunningExerciseData mil::tatrc::physiology::datamodel::ExerciseData::RunningExercise_type |
Element type.
typedef ::xsd::cxx::tree::optional< StrengthExercise_type > mil::tatrc::physiology::datamodel::ExerciseData::StrengthExercise_optional |
Element optional container type.
typedef ::xsd::cxx::tree::traits< StrengthExercise_type, char > mil::tatrc::physiology::datamodel::ExerciseData::StrengthExercise_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::StrengthExerciseData mil::tatrc::physiology::datamodel::ExerciseData::StrengthExercise_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ExerciseData::ExerciseData | ( | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ExerciseData::ExerciseData | ( | 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::ExerciseData::ExerciseData | ( | const ExerciseData & | 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 ExerciseData::CyclingExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::CyclingExercise | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ExerciseData::CyclingExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::CyclingExercise | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ExerciseData::CyclingExercise | ( | const CyclingExercise_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::ExerciseData::CyclingExercise | ( | const CyclingExercise_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::ExerciseData::CyclingExercise | ( | ::std::unique_ptr< CyclingExercise_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 ExerciseData::GenericExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::GenericExercise | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ExerciseData::GenericExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::GenericExercise | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ExerciseData::GenericExercise | ( | const GenericExercise_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::ExerciseData::GenericExercise | ( | const GenericExercise_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::ExerciseData::GenericExercise | ( | ::std::unique_ptr< GenericExercise_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.
ExerciseData & mil::tatrc::physiology::datamodel::ExerciseData::operator= | ( | const ExerciseData & | 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 ExerciseData::RunningExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::RunningExercise | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ExerciseData::RunningExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::RunningExercise | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ExerciseData::RunningExercise | ( | const RunningExercise_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::ExerciseData::RunningExercise | ( | const RunningExercise_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::ExerciseData::RunningExercise | ( | ::std::unique_ptr< RunningExercise_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 ExerciseData::StrengthExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::StrengthExercise | ( | ) | const |
Return a read-only (constant) reference to the element container.
- Returns
- A constant reference to the optional container.
ExerciseData::StrengthExercise_optional & mil::tatrc::physiology::datamodel::ExerciseData::StrengthExercise | ( | ) |
Return a read-write reference to the element container.
- Returns
- A reference to the optional container.
void mil::tatrc::physiology::datamodel::ExerciseData::StrengthExercise | ( | const StrengthExercise_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::ExerciseData::StrengthExercise | ( | const StrengthExercise_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::ExerciseData::StrengthExercise | ( | ::std::unique_ptr< StrengthExercise_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.