Class corresponding to the IntegerArray schema type. More...
#include <Properties.hxx>
Public Member Functions | |
virtual | ~IntegerArray () |
Destructor. More... | |
IntegerList | |
Accessor and modifier functions for the IntegerList required element. | |
typedef ::mil::tatrc::physiology::datamodel::IntegerList | IntegerList_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< IntegerList_type, char > | IntegerList_traits |
Element traits type. More... | |
const IntegerList_type & | IntegerList () const |
Return a read-only (constant) reference to the element. More... | |
IntegerList_type & | IntegerList () |
Return a read-write reference to the element. More... | |
void | IntegerList (const IntegerList_type &x) |
Set the element value. More... | |
void | IntegerList (::std::unique_ptr< IntegerList_type > p) |
Set the element value without copying. More... | |
Constructors | |
IntegerArray () | |
Default constructor. More... | |
IntegerArray (const IntegerList_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
IntegerArray (::std::unique_ptr< IntegerList_type >) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
IntegerArray (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
IntegerArray (const IntegerArray &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual IntegerArray * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
IntegerArray & | operator= (const IntegerArray &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the IntegerArray schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< IntegerList_type, char > mil::tatrc::physiology::datamodel::IntegerArray::IntegerList_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::IntegerList mil::tatrc::physiology::datamodel::IntegerArray::IntegerList_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::IntegerArray::IntegerArray | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::IntegerArray::IntegerArray | ( | const IntegerList_type & | IntegerList | ) |
Create an instance from the ultimate base and initializers for required elements and attributes.
mil::tatrc::physiology::datamodel::IntegerArray::IntegerArray | ( | ::std::unique_ptr< IntegerList_type > | IntegerList | ) |
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::IntegerArray::IntegerArray | ( | const ::xercesc::DOMElement & | e, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Create an instance from a DOM element.
- Parameters
-
e A DOM element to extract the data from. f Flags to create the new instance with. c A pointer to the object that will contain the new instance.
mil::tatrc::physiology::datamodel::IntegerArray::IntegerArray | ( | const IntegerArray & | x, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Copy constructor.
- Parameters
-
x An instance to make a copy of. f Flags to create the copy with. c A pointer to the object that will contain the copy.
For polymorphic object models use the _clone
function instead.
|
virtual |
Destructor.
Member Function Documentation
|
virtual |
Copy the instance polymorphically.
- Parameters
-
f Flags to create the copy with. c A 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 IntegerArray::IntegerList_type & mil::tatrc::physiology::datamodel::IntegerArray::IntegerList | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
IntegerArray::IntegerList_type & mil::tatrc::physiology::datamodel::IntegerArray::IntegerList | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::IntegerArray::IntegerList | ( | const IntegerList_type & | x | ) |
Set the element value.
- Parameters
-
x A 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::IntegerArray::IntegerList | ( | ::std::unique_ptr< IntegerList_type > | p | ) |
Set the element value without copying.
- Parameters
-
p A new value to use.
This function will try to use the passed value directly instead of making a copy.
IntegerArray & mil::tatrc::physiology::datamodel::IntegerArray::operator= | ( | const IntegerArray & | x | ) |
Copy assignment operator.
- Parameters
-
x An instance to make a copy of.
- Returns
- A reference to itself.
For polymorphic object models use the _clone
function instead.