mil::tatrc::physiology::datamodel::DataRequestData Class Reference

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

#include <Scenario.hxx>

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

Public Member Functions

virtual ~DataRequestData ()
 Destructor. More...
 
- Public Member Functions inherited from mil::tatrc::physiology::datamodel::DecimalFormatData
virtual ~DecimalFormatData ()
 Destructor. More...
 
const DecimalFormat_optionalDecimalFormat () const
 Return a read-only (constant) reference to the attribute container. More...
 
DecimalFormat_optionalDecimalFormat ()
 Return a read-write reference to the attribute container. More...
 
void DecimalFormat (const DecimalFormat_type &x)
 Set the attribute value. More...
 
void DecimalFormat (const DecimalFormat_optional &x)
 Set the attribute value. More...
 
void DecimalFormat (::std::unique_ptr< DecimalFormat_type > p)
 Set the attribute value without copying. More...
 
const Precision_optionalPrecision () const
 Return a read-only (constant) reference to the attribute container. More...
 
Precision_optionalPrecision ()
 Return a read-write reference to the attribute container. More...
 
void Precision (const Precision_type &x)
 Set the attribute value. More...
 
void Precision (const Precision_optional &x)
 Set the attribute value. More...
 
 DecimalFormatData ()
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 DecimalFormatData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 DecimalFormatData (const DecimalFormatData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
DecimalFormatDataoperator= (const DecimalFormatData &x)
 Copy assignment operator. More...
 

Name

Accessor and modifier functions for the Name required attribute.

typedef ::xml_schema::string Name_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< Name_type, char > Name_traits
 Attribute traits type. More...
 
const Name_typeName () const
 Return a read-only (constant) reference to the attribute. More...
 
Name_typeName ()
 Return a read-write reference to the attribute. More...
 
void Name (const Name_type &x)
 Set the attribute value. More...
 
void Name (::std::unique_ptr< Name_type > p)
 Set the attribute value without copying. More...
 

Unit

Accessor and modifier functions for the Unit optional attribute.

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

Constructors

 DataRequestData ()
 Default constructor. More...
 
 DataRequestData (const Name_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 DataRequestData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 DataRequestData (const DataRequestData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual DataRequestData_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
DataRequestDataoperator= (const DataRequestData &x)
 Copy assignment operator. More...
 

Additional Inherited Members

- Public Types inherited from mil::tatrc::physiology::datamodel::DecimalFormatData
typedef ::mil::tatrc::physiology::datamodel::enumDecimalFormat DecimalFormat_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< DecimalFormat_typeDecimalFormat_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< DecimalFormat_type, char > DecimalFormat_traits
 Attribute traits type. More...
 
typedef ::xml_schema::unsigned_int Precision_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::optional< Precision_typePrecision_optional
 Attribute optional container type. More...
 
typedef ::xsd::cxx::tree::traits< Precision_type, char > Precision_traits
 Attribute traits type. More...
 

Detailed Description

Class corresponding to the DataRequestData schema type.

Member Typedef Documentation

Attribute traits type.

Attribute optional container type.

Attribute traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::DataRequestData::DataRequestData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::DataRequestData::DataRequestData ( const Name_type Name)

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

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

Destructor.

Member Function Documentation

const DataRequestData::Name_type & mil::tatrc::physiology::datamodel::DataRequestData::Name ( ) const

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

Returns
A constant reference to the attribute.
DataRequestData::Name_type & mil::tatrc::physiology::datamodel::DataRequestData::Name ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.
void mil::tatrc::physiology::datamodel::DataRequestData::Name ( const Name_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::DataRequestData::Name ( ::std::unique_ptr< Name_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.

DataRequestData & mil::tatrc::physiology::datamodel::DataRequestData::operator= ( const DataRequestData 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 DataRequestData::Unit_optional & mil::tatrc::physiology::datamodel::DataRequestData::Unit ( ) const

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

Returns
A constant reference to the optional container.
DataRequestData::Unit_optional & mil::tatrc::physiology::datamodel::DataRequestData::Unit ( )

Return a read-write reference to the attribute container.

Returns
A reference to the optional container.
void mil::tatrc::physiology::datamodel::DataRequestData::Unit ( const Unit_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::DataRequestData::Unit ( const Unit_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::DataRequestData::Unit ( ::std::unique_ptr< Unit_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.