mil::tatrc::physiology::datamodel::CyclingExerciseData Class Reference

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

#include <PatientActions.hxx>

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

Public Member Functions

virtual ~CyclingExerciseData ()
 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...
 

Cadence

Accessor and modifier functions for the Cadence required element.

typedef ::mil::tatrc::physiology::datamodel::ScalarFrequencyData Cadence_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Cadence_type, char > Cadence_traits
 Element traits type. More...
 
const Cadence_typeCadence () const
 Return a read-only (constant) reference to the element. More...
 
Cadence_typeCadence ()
 Return a read-write reference to the element. More...
 
void Cadence (const Cadence_type &x)
 Set the element value. More...
 
void Cadence (::std::unique_ptr< Cadence_type > p)
 Set the element value without copying. More...
 

Power

Accessor and modifier functions for the Power required element.

typedef ::mil::tatrc::physiology::datamodel::ScalarPowerData Power_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< Power_type, char > Power_traits
 Element traits type. More...
 
const Power_typePower () const
 Return a read-only (constant) reference to the element. More...
 
Power_typePower ()
 Return a read-write reference to the element. More...
 
void Power (const Power_type &x)
 Set the element value. More...
 
void Power (::std::unique_ptr< Power_type > p)
 Set the element value without copying. More...
 

AddedWeight

Accessor and modifier functions for the AddedWeight optional element.

typedef ::mil::tatrc::physiology::datamodel::ScalarMassData AddedWeight_type
 Element type. More...
 
typedef ::xsd::cxx::tree::optional< AddedWeight_typeAddedWeight_optional
 Element optional container type. More...
 
typedef ::xsd::cxx::tree::traits< AddedWeight_type, char > AddedWeight_traits
 Element traits type. More...
 
const AddedWeight_optionalAddedWeight () const
 Return a read-only (constant) reference to the element container. More...
 
AddedWeight_optionalAddedWeight ()
 Return a read-write reference to the element container. More...
 
void AddedWeight (const AddedWeight_type &x)
 Set the element value. More...
 
void AddedWeight (const AddedWeight_optional &x)
 Set the element value. More...
 
void AddedWeight (::std::unique_ptr< AddedWeight_type > p)
 Set the element value without copying. More...
 

Constructors

 CyclingExerciseData ()
 Default constructor. More...
 
 CyclingExerciseData (const Cadence_type &, const Power_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 CyclingExerciseData (::std::unique_ptr< Cadence_type >,::std::unique_ptr< Power_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 CyclingExerciseData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 CyclingExerciseData (const CyclingExerciseData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual CyclingExerciseData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
CyclingExerciseDataoperator= (const CyclingExerciseData &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 CyclingExerciseData schema type.

Member Typedef Documentation

Element optional container type.

Element traits type.

Element traits type.

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::CyclingExerciseData::CyclingExerciseData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::CyclingExerciseData::CyclingExerciseData ( const Cadence_type Cadence,
const Power_type Power 
)

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

mil::tatrc::physiology::datamodel::CyclingExerciseData::CyclingExerciseData ( ::std::unique_ptr< Cadence_type Cadence,
::std::unique_ptr< Power_type Power 
)

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::CyclingExerciseData::CyclingExerciseData ( 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::CyclingExerciseData::CyclingExerciseData ( const CyclingExerciseData 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::CyclingExerciseData::~CyclingExerciseData ( )
virtual

Destructor.

Member Function Documentation

CyclingExerciseData * mil::tatrc::physiology::datamodel::CyclingExerciseData::_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 CyclingExerciseData::AddedWeight_optional & mil::tatrc::physiology::datamodel::CyclingExerciseData::AddedWeight ( ) const

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

Returns
A constant reference to the optional container.
CyclingExerciseData::AddedWeight_optional & mil::tatrc::physiology::datamodel::CyclingExerciseData::AddedWeight ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::CyclingExerciseData::AddedWeight ( const AddedWeight_type x)

Set the element value.

Parameters
xA 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::CyclingExerciseData::AddedWeight ( const AddedWeight_optional x)

Set the element value.

Parameters
xAn 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::CyclingExerciseData::AddedWeight ( ::std::unique_ptr< AddedWeight_type p)

Set the element value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

const CyclingExerciseData::Cadence_type & mil::tatrc::physiology::datamodel::CyclingExerciseData::Cadence ( ) const

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

Returns
A constant reference to the element.
CyclingExerciseData::Cadence_type & mil::tatrc::physiology::datamodel::CyclingExerciseData::Cadence ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::CyclingExerciseData::Cadence ( const Cadence_type x)

Set the element value.

Parameters
xA 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::CyclingExerciseData::Cadence ( ::std::unique_ptr< Cadence_type p)

Set the element value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.

CyclingExerciseData & mil::tatrc::physiology::datamodel::CyclingExerciseData::operator= ( const CyclingExerciseData 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.

const CyclingExerciseData::Power_type & mil::tatrc::physiology::datamodel::CyclingExerciseData::Power ( ) const

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

Returns
A constant reference to the element.
CyclingExerciseData::Power_type & mil::tatrc::physiology::datamodel::CyclingExerciseData::Power ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::CyclingExerciseData::Power ( const Power_type x)

Set the element value.

Parameters
xA 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::CyclingExerciseData::Power ( ::std::unique_ptr< Power_type p)

Set the element value without copying.

Parameters
pA new value to use.

This function will try to use the passed value directly instead of making a copy.