Class corresponding to the RunningAverageData schema type. More...
#include <Properties.hxx>

Public Member Functions | |
virtual | ~RunningAverageData () |
Destructor. More... | |
![]() | |
virtual | ~PropertyData () |
Destructor. More... | |
PropertyData () | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
PropertyData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
PropertyData (const ::xercesc::DOMAttr &a,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM attribute. More... | |
PropertyData (const ::std::string &s, const ::xercesc::DOMElement *e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a string fragment. More... | |
PropertyData (const PropertyData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
sum | |
Accessor and modifier functions for the sum required attribute. | |
typedef ::xml_schema::double_ | sum_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< sum_type, char,::xsd::cxx::tree::schema_type::double_ > | sum_traits |
Attribute traits type. More... | |
const sum_type & | sum () const |
Return a read-only (constant) reference to the attribute. More... | |
sum_type & | sum () |
Return a read-write reference to the attribute. More... | |
void | sum (const sum_type &x) |
Set the attribute value. More... | |
numSamples | |
Accessor and modifier functions for the numSamples required attribute. | |
typedef ::xml_schema::unsigned_int | numSamples_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::traits< numSamples_type, char > | numSamples_traits |
Attribute traits type. More... | |
const numSamples_type & | numSamples () const |
Return a read-only (constant) reference to the attribute. More... | |
numSamples_type & | numSamples () |
Return a read-write reference to the attribute. More... | |
void | numSamples (const numSamples_type &x) |
Set the attribute value. More... | |
Constructors | |
RunningAverageData () | |
Default constructor. More... | |
RunningAverageData (const sum_type &, const numSamples_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
RunningAverageData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
RunningAverageData (const RunningAverageData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual RunningAverageData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
RunningAverageData & | operator= (const RunningAverageData &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the RunningAverageData schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< numSamples_type, char > mil::tatrc::physiology::datamodel::RunningAverageData::numSamples_traits |
Attribute traits type.
typedef ::xml_schema::unsigned_int mil::tatrc::physiology::datamodel::RunningAverageData::numSamples_type |
Attribute type.
typedef ::xsd::cxx::tree::traits< sum_type, char, ::xsd::cxx::tree::schema_type::double_ > mil::tatrc::physiology::datamodel::RunningAverageData::sum_traits |
Attribute traits type.
Attribute type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::RunningAverageData::RunningAverageData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::RunningAverageData::RunningAverageData | ( | const sum_type & | sum, |
const numSamples_type & | numSamples | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::RunningAverageData::RunningAverageData | ( | 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::RunningAverageData::RunningAverageData | ( | const RunningAverageData & | 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::PropertyData.
const RunningAverageData::numSamples_type & mil::tatrc::physiology::datamodel::RunningAverageData::numSamples | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
RunningAverageData::numSamples_type & mil::tatrc::physiology::datamodel::RunningAverageData::numSamples | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::RunningAverageData::numSamples | ( | const numSamples_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.
RunningAverageData & mil::tatrc::physiology::datamodel::RunningAverageData::operator= | ( | const RunningAverageData & | 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 RunningAverageData::sum_type & mil::tatrc::physiology::datamodel::RunningAverageData::sum | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
RunningAverageData::sum_type & mil::tatrc::physiology::datamodel::RunningAverageData::sum | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::RunningAverageData::sum | ( | const sum_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.