Class corresponding to the HistogramData schema type. More...
#include <Properties.hxx>
Public Member Functions | |
virtual | ~HistogramData () |
Destructor. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::FunctionData | |
virtual | ~FunctionData () |
Destructor. More... | |
const Dependent_type & | Dependent () const |
Return a read-only (constant) reference to the element. More... | |
Dependent_type & | Dependent () |
Return a read-write reference to the element. More... | |
void | Dependent (const Dependent_type &x) |
Set the element value. More... | |
void | Dependent (::std::unique_ptr< Dependent_type > p) |
Set the element value without copying. More... | |
const Independent_type & | Independent () const |
Return a read-only (constant) reference to the element. More... | |
Independent_type & | Independent () |
Return a read-write reference to the element. More... | |
void | Independent (const Independent_type &x) |
Set the element value. More... | |
void | Independent (::std::unique_ptr< Independent_type > p) |
Set the element value without copying. More... | |
const DependentUnit_optional & | DependentUnit () const |
Return a read-only (constant) reference to the attribute container. More... | |
DependentUnit_optional & | DependentUnit () |
Return a read-write reference to the attribute container. More... | |
void | DependentUnit (const DependentUnit_type &x) |
Set the attribute value. More... | |
void | DependentUnit (const DependentUnit_optional &x) |
Set the attribute value. More... | |
void | DependentUnit (::std::unique_ptr< DependentUnit_type > p) |
Set the attribute value without copying. More... | |
const IndependentUnit_optional & | IndependentUnit () const |
Return a read-only (constant) reference to the attribute container. More... | |
IndependentUnit_optional & | IndependentUnit () |
Return a read-write reference to the attribute container. More... | |
void | IndependentUnit (const IndependentUnit_type &x) |
Set the attribute value. More... | |
void | IndependentUnit (const IndependentUnit_optional &x) |
Set the attribute value. More... | |
void | IndependentUnit (::std::unique_ptr< IndependentUnit_type > p) |
Set the attribute value without copying. More... | |
FunctionData () | |
Default constructor. More... | |
FunctionData (const Dependent_type &, const Independent_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
FunctionData (::std::unique_ptr< Dependent_type >,::std::unique_ptr< Independent_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
FunctionData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
FunctionData (const FunctionData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
FunctionData & | operator= (const FunctionData &x) |
Copy assignment operator. More... | |
Public Member Functions inherited from mil::tatrc::physiology::datamodel::PropertyData | |
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 | |
HistogramData () | |
Default constructor. More... | |
HistogramData (const Dependent_type &, const Independent_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
HistogramData (::std::unique_ptr< Dependent_type >,::std::unique_ptr< Independent_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
HistogramData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
HistogramData (const HistogramData &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual HistogramData * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
Additional Inherited Members | |
Public Types inherited from mil::tatrc::physiology::datamodel::FunctionData | |
typedef ::mil::tatrc::physiology::datamodel::DoubleArray | Dependent_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Dependent_type, char > | Dependent_traits |
Element traits type. More... | |
typedef ::mil::tatrc::physiology::datamodel::DoubleArray | Independent_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Independent_type, char > | Independent_traits |
Element traits type. More... | |
typedef ::xml_schema::string | DependentUnit_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< DependentUnit_type > | DependentUnit_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< DependentUnit_type, char > | DependentUnit_traits |
Attribute traits type. More... | |
typedef ::xml_schema::string | IndependentUnit_type |
Attribute type. More... | |
typedef ::xsd::cxx::tree::optional< IndependentUnit_type > | IndependentUnit_optional |
Attribute optional container type. More... | |
typedef ::xsd::cxx::tree::traits< IndependentUnit_type, char > | IndependentUnit_traits |
Attribute traits type. More... | |
Detailed Description
Class corresponding to the HistogramData schema type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::HistogramData::HistogramData | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::HistogramData::HistogramData | ( | const Dependent_type & | Dependent, |
const Independent_type & | Independent | ||
) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::HistogramData::HistogramData | ( | ::std::unique_ptr< Dependent_type > | Dependent, |
::std::unique_ptr< Independent_type > | Independent | ||
) |
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::HistogramData::HistogramData | ( | 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::HistogramData::HistogramData | ( | const HistogramData & | 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::FunctionData.
Reimplemented in mil::tatrc::physiology::datamodel::HistogramFractionVsLengthData.