mil::tatrc::physiology::datamodel::DoubleArray Class Reference

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

#include <Properties.hxx>

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

Public Member Functions

virtual ~DoubleArray ()
 Destructor. More...
 

DoubleList

Accessor and modifier functions for the DoubleList required element.

typedef ::mil::tatrc::physiology::datamodel::DoubleList DoubleList_type
 Element type. More...
 
typedef ::xsd::cxx::tree::traits< DoubleList_type, char > DoubleList_traits
 Element traits type. More...
 
const DoubleList_typeDoubleList () const
 Return a read-only (constant) reference to the element. More...
 
DoubleList_typeDoubleList ()
 Return a read-write reference to the element. More...
 
void DoubleList (const DoubleList_type &x)
 Set the element value. More...
 
void DoubleList (::std::unique_ptr< DoubleList_type > p)
 Set the element value without copying. More...
 

Constructors

 DoubleArray ()
 Default constructor. More...
 
 DoubleArray (const DoubleList_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes. More...
 
 DoubleArray (::std::unique_ptr< DoubleList_type >)
 Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More...
 
 DoubleArray (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 DoubleArray (const DoubleArray &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual DoubleArray_clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const
 Copy the instance polymorphically. More...
 
DoubleArrayoperator= (const DoubleArray &x)
 Copy assignment operator. More...
 

Detailed Description

Class corresponding to the DoubleArray schema type.

Member Typedef Documentation

Element traits type.

Constructor & Destructor Documentation

mil::tatrc::physiology::datamodel::DoubleArray::DoubleArray ( )

Default constructor.

Note that this constructor leaves required elements and attributes uninitialized.

mil::tatrc::physiology::datamodel::DoubleArray::DoubleArray ( const DoubleList_type DoubleList)

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

mil::tatrc::physiology::datamodel::DoubleArray::DoubleArray ( ::std::unique_ptr< DoubleList_type DoubleList)

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::DoubleArray::DoubleArray ( 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::DoubleArray::DoubleArray ( const DoubleArray 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::DoubleArray::~DoubleArray ( )
virtual

Destructor.

Member Function Documentation

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

const DoubleArray::DoubleList_type & mil::tatrc::physiology::datamodel::DoubleArray::DoubleList ( ) const

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

Returns
A constant reference to the element.
DoubleArray::DoubleList_type & mil::tatrc::physiology::datamodel::DoubleArray::DoubleList ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void mil::tatrc::physiology::datamodel::DoubleArray::DoubleList ( const DoubleList_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::DoubleArray::DoubleList ( ::std::unique_ptr< DoubleList_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.

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