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

Public Member Functions | |
virtual | ~ArrayTimeData () |
Destructor. More... | |
![]() | |
virtual | ~ArrayData () |
Destructor. More... | |
const Value_type & | Value () const |
Return a read-only (constant) reference to the element. More... | |
Value_type & | Value () |
Return a read-write reference to the element. More... | |
void | Value (const Value_type &x) |
Set the element value. More... | |
void | Value (::std::unique_ptr< Value_type > p) |
Set the element value without copying. More... | |
const unit_optional & | unit () const |
Return a read-only (constant) reference to the attribute container. More... | |
unit_optional & | unit () |
Return a read-write reference to the attribute container. More... | |
void | unit (const unit_type &x) |
Set the attribute value. More... | |
void | unit (const unit_optional &x) |
Set the attribute value. More... | |
void | unit (::std::unique_ptr< unit_type > p) |
Set the attribute value without copying. More... | |
ArrayData () | |
Default constructor. More... | |
ArrayData (const Value_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ArrayData (::std::unique_ptr< Value_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
ArrayData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ArrayData (const ArrayData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
ArrayData & | operator= (const ArrayData &x) |
Copy assignment operator. 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... | |
Constructors | |
ArrayTimeData () | |
Default constructor. More... | |
ArrayTimeData (const Value_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ArrayTimeData (::std::unique_ptr< Value_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
ArrayTimeData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ArrayTimeData (const ArrayTimeData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ArrayTimeData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Additional Inherited Members | |
![]() | |
typedef ::mil::tatrc::physiology::datamodel::DoubleArray | Value_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Value_type, char > | Value_traits |
Element traits type. More... | |
typedef ::xml_schema::string | unit_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< unit_type > | unit_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< unit_type, char > | unit_traits |
Attribute traits type. More... | |
Detailed Description
Class corresponding to the ArrayTimeData schema type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ArrayTimeData::ArrayTimeData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::ArrayTimeData::ArrayTimeData | ( | const Value_type & | Value | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::ArrayTimeData::ArrayTimeData | ( | ::std::unique_ptr< Value_type > | Value | ) |
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::ArrayTimeData::ArrayTimeData | ( | 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::ArrayTimeData::ArrayTimeData | ( | const ArrayTimeData & | 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::ArrayData.