mil::tatrc::physiology::datamodel::FunctionData Class Reference

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

#include <Properties.hxx>

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

Public Member Functions

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

Dependent

Accessor and modifier functions for the Dependent required element.

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...
 
const Dependent_typeDependent () const
 Return a read-only (constant) reference to the element. More...
 
Dependent_typeDependent ()
 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...
 

Independent

Accessor and modifier functions for the Independent required element.

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...
 
const Independent_typeIndependent () const
 Return a read-only (constant) reference to the element. More...
 
Independent_typeIndependent ()
 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...
 

DependentUnit

Accessor and modifier functions for the DependentUnit optional attribute.

typedef ::xml_schema::string DependentUnit_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< DependentUnit_typeDependentUnit_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< DependentUnit_type, char > DependentUnit_traits
 Attribute traits type. More...
 
const DependentUnit_optionalDependentUnit () const
 Return a read-only (constant) reference to the attribute container. More...
 
DependentUnit_optionalDependentUnit ()
 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...
 

IndependentUnit

Accessor and modifier functions for the IndependentUnit optional attribute.

typedef ::xml_schema::string IndependentUnit_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< IndependentUnit_typeIndependentUnit_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< IndependentUnit_type, char > IndependentUnit_traits
 Attribute traits type. More...
 
const IndependentUnit_optionalIndependentUnit () const
 Return a read-only (constant) reference to the attribute container. More...
 
IndependentUnit_optionalIndependentUnit ()
 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...
 

Constructors

 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...
 
virtual FunctionData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
FunctionDataoperator= (const FunctionData &x)
 Copy assignment operator. More...
 

Detailed Description

Class corresponding to the FunctionData schema type.

Member Typedef Documentation

Element traits type.

Attribute optional container type.

Attribute traits type.

Element traits type.

Attribute optional container type.

Attribute traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::FunctionData::FunctionData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::FunctionData::FunctionData ( 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::FunctionData::FunctionData ( ::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::FunctionData::FunctionData ( 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::FunctionData::FunctionData ( const FunctionData 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::FunctionData::~FunctionData ( )
virtual

Destructor.

Member Function Documentation

FunctionData * mil::tatrc::physiology::datamodel::FunctionData::_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::PropertyData.

Reimplemented in mil::tatrc::physiology::datamodel::HistogramFractionVsLengthData, mil::tatrc::physiology::datamodel::HistogramData, mil::tatrc::physiology::datamodel::FunctionElectricPotentialVsTimeData, and mil::tatrc::physiology::datamodel::FunctionVolumeVsTimeData.

const FunctionData::Dependent_type & mil::tatrc::physiology::datamodel::FunctionData::Dependent ( ) const

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

Returns
A constant reference to the element.
FunctionData::Dependent_type & mil::tatrc::physiology::datamodel::FunctionData::Dependent ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::FunctionData::Dependent ( const Dependent_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::FunctionData::Dependent ( ::std::unique_ptr< Dependent_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 FunctionData::DependentUnit_optional & mil::tatrc::physiology::datamodel::FunctionData::DependentUnit ( ) const

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

Returns
A constant reference to the optional container.
FunctionData::DependentUnit_optional & mil::tatrc::physiology::datamodel::FunctionData::DependentUnit ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::FunctionData::DependentUnit ( const DependentUnit_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

void mil::tatrc::physiology::datamodel::FunctionData::DependentUnit ( const DependentUnit_optional x)

Set the attribute 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 attribute. Otherwise the attribute container is set the 'not present' state.

void mil::tatrc::physiology::datamodel::FunctionData::DependentUnit ( ::std::unique_ptr< DependentUnit_type p)

Set the attribute 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 FunctionData::Independent_type & mil::tatrc::physiology::datamodel::FunctionData::Independent ( ) const

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

Returns
A constant reference to the element.
FunctionData::Independent_type & mil::tatrc::physiology::datamodel::FunctionData::Independent ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::FunctionData::Independent ( const Independent_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::FunctionData::Independent ( ::std::unique_ptr< Independent_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 FunctionData::IndependentUnit_optional & mil::tatrc::physiology::datamodel::FunctionData::IndependentUnit ( ) const

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

Returns
A constant reference to the optional container.
FunctionData::IndependentUnit_optional & mil::tatrc::physiology::datamodel::FunctionData::IndependentUnit ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::FunctionData::IndependentUnit ( const IndependentUnit_type x)

Set the attribute value.

Parameters
xA new value to set.

This function makes a copy of its argument and sets it as the new value of the attribute.

void mil::tatrc::physiology::datamodel::FunctionData::IndependentUnit ( const IndependentUnit_optional x)

Set the attribute 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 attribute. Otherwise the attribute container is set the 'not present' state.

void mil::tatrc::physiology::datamodel::FunctionData::IndependentUnit ( ::std::unique_ptr< IndependentUnit_type p)

Set the attribute value without copying.

Parameters
pA new value to use.

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

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