mil::tatrc::physiology::datamodel::enumDecimalFormat Class Reference

Enumeration class corresponding to the enumDecimalFormat schema type. More...

#include <Properties.hxx>

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

Public Types

enum  value { FixedMantissa, SignificantDigits }
 Underlying enum type. More...
 

Public Member Functions

 enumDecimalFormat ()
 Default constructor. More...
 
 enumDecimalFormat (value v)
 Create an instance from the underlying enum value. More...
 
 enumDecimalFormat (const char *v)
 Create an instance from a C string. More...
 
 enumDecimalFormat (const ::std::string &v)
 Create an instance from a string. More...
 
 enumDecimalFormat (const ::xml_schema::string &v)
 Create an instance from the base value. More...
 
 enumDecimalFormat (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 enumDecimalFormat (const ::xercesc::DOMAttr &a,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM attribute. More...
 
 enumDecimalFormat (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...
 
 enumDecimalFormat (const enumDecimalFormat &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual enumDecimalFormat_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
enumDecimalFormatoperator= (value v)
 Assign the underlying enum value. More...
 
virtual operator value () const
 Implicit conversion operator to the underlying enum value. More...
 

Detailed Description

Enumeration class corresponding to the enumDecimalFormat schema type.

Member Enumeration Documentation

Underlying enum type.

Enumerator
FixedMantissa 
SignificantDigits 

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( )

Default constructor.

Note that this constructor may leave the instance in an invalid state.

mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( value  v)

Create an instance from the underlying enum value.

Parameters
vA enum value.
mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( const char *  v)

Create an instance from a C string.

Parameters
vA string value.
mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( const ::std::string &  v)

Create an instance from a string.

Parameters
vA string value.
mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( const ::xml_schema::string v)

Create an instance from the base value.

Parameters
vA base value.
mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( 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::enumDecimalFormat::enumDecimalFormat ( const ::xercesc::DOMAttr &  a,
::xml_schema::flags  f = 0,
::xml_schema::container c = 0 
)

Create an instance from a DOM attribute.

Parameters
aA DOM attribute 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::enumDecimalFormat::enumDecimalFormat ( 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.

Parameters
sA string fragment to extract the data from.
eA pointer to DOM element containing the string fragment.
fFlags to create the new instance with.
cA pointer to the object that will contain the new instance.
mil::tatrc::physiology::datamodel::enumDecimalFormat::enumDecimalFormat ( const enumDecimalFormat 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.

Member Function Documentation

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

virtual mil::tatrc::physiology::datamodel::enumDecimalFormat::operator value ( ) const
inlinevirtual

Implicit conversion operator to the underlying enum value.

Returns
A enum value.
enumDecimalFormat & mil::tatrc::physiology::datamodel::enumDecimalFormat::operator= ( value  v)

Assign the underlying enum value.

Parameters
vA enum value.
Returns
A refernce to the instance.