mil::tatrc::physiology::datamodel::ErrorData Class Reference

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

#include <Properties.hxx>

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

Public Member Functions

virtual ~ErrorData ()
 Destructor. More...
 

value

Accessor and modifier functions for the value required attribute.

typedef ::xml_schema::double_ value_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< value_type, char,::xsd::cxx::tree::schema_type::double_ > value_traits
 Attribute traits type. More...
 
const value_typevalue () const
 Return a read-only (constant) reference to the attribute. More...
 
value_typevalue ()
 Return a read-write reference to the attribute. More...
 
void value (const value_type &x)
 Set the attribute value. More...
 

type

Accessor and modifier functions for the type required attribute.

typedef ::mil::tatrc::physiology::datamodel::enumErrorType type_type
 Attribute type. More...
 
typedef ::xsd::cxx::tree::traits< type_type, char > type_traits
 Attribute traits type. More...
 
const type_typetype () const
 Return a read-only (constant) reference to the attribute. More...
 
type_typetype ()
 Return a read-write reference to the attribute. More...
 
void type (const type_type &x)
 Set the attribute value. More...
 
void type (::std::unique_ptr< type_type > p)
 Set the attribute value without copying. More...
 

Constructors

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

Detailed Description

Class corresponding to the ErrorData schema type.

Member Typedef Documentation

typedef ::xsd::cxx::tree::traits< type_type, char > mil::tatrc::physiology::datamodel::ErrorData::type_traits

Attribute traits type.

typedef ::xsd::cxx::tree::traits< value_type, char, ::xsd::cxx::tree::schema_type::double_ > mil::tatrc::physiology::datamodel::ErrorData::value_traits

Attribute traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::ErrorData::ErrorData ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::ErrorData::ErrorData ( const value_type value,
const type_type type 
)

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

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

Destructor.

Member Function Documentation

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

ErrorData & mil::tatrc::physiology::datamodel::ErrorData::operator= ( const ErrorData 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 ErrorData::type_type & mil::tatrc::physiology::datamodel::ErrorData::type ( ) const

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

Returns
A constant reference to the attribute.
ErrorData::type_type & mil::tatrc::physiology::datamodel::ErrorData::type ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.
void mil::tatrc::physiology::datamodel::ErrorData::type ( const type_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::ErrorData::type ( ::std::unique_ptr< type_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 ErrorData::value_type & mil::tatrc::physiology::datamodel::ErrorData::value ( ) const

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

Returns
A constant reference to the attribute.
ErrorData::value_type & mil::tatrc::physiology::datamodel::ErrorData::value ( )

Return a read-write reference to the attribute.

Returns
A reference to the attribute.
void mil::tatrc::physiology::datamodel::ErrorData::value ( const value_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.