Class corresponding to the ErrorList schema type. More...
#include <Properties.hxx>
Public Member Functions | |
virtual | ~ErrorList () |
Destructor. More... | |
Value | |
Accessor and modifier functions for the Value required element. | |
typedef ::mil::tatrc::physiology::datamodel::DoubleArray | Value_type |
Element type. More... | |
typedef ::xsd::cxx::tree::traits< Value_type, char > | Value_traits |
Element traits type. More... | |
const Value_type & | Value () const |
Return a read-only (constant) reference to the element. More... | |
Value_type & | Value () |
Return a read-write reference to the element. More... | |
void | Value (const Value_type &x) |
Set the element value. More... | |
void | Value (::std::unique_ptr< Value_type > p) |
Set the element value without copying. 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_type & | type () const |
Return a read-only (constant) reference to the attribute. More... | |
type_type & | type () |
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 | |
ErrorList () | |
Default constructor. More... | |
ErrorList (const Value_type &, const type_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes. More... | |
ErrorList (::std::unique_ptr< Value_type >, const type_type &) | |
Create an instance from the ultimate base and initializers for required elements and attributes (::std::unique_ptr version). More... | |
ErrorList (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
ErrorList (const ErrorList &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual ErrorList * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
ErrorList & | operator= (const ErrorList &x) |
Copy assignment operator. More... | |
Detailed Description
Class corresponding to the ErrorList schema type.
Member Typedef Documentation
typedef ::xsd::cxx::tree::traits< type_type, char > mil::tatrc::physiology::datamodel::ErrorList::type_traits |
Attribute traits type.
typedef ::mil::tatrc::physiology::datamodel::enumErrorType mil::tatrc::physiology::datamodel::ErrorList::type_type |
Attribute type.
typedef ::xsd::cxx::tree::traits< Value_type, char > mil::tatrc::physiology::datamodel::ErrorList::Value_traits |
Element traits type.
typedef ::mil::tatrc::physiology::datamodel::DoubleArray mil::tatrc::physiology::datamodel::ErrorList::Value_type |
Element type.
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::ErrorList::ErrorList | ( | ) |
Default constructor.
Note that this constructor leaves required elements and attributes uninitialized.
mil::tatrc::physiology::datamodel::ErrorList::ErrorList | ( | 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::ErrorList::ErrorList | ( | ::std::unique_ptr< Value_type > | Value, |
const type_type & | type | ||
) |
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::ErrorList::ErrorList | ( | 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::ErrorList::ErrorList | ( | const ErrorList & | 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.
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.
const ErrorList::type_type & mil::tatrc::physiology::datamodel::ErrorList::type | ( | ) | const |
Return a read-only (constant) reference to the attribute.
- Returns
- A constant reference to the attribute.
ErrorList::type_type & mil::tatrc::physiology::datamodel::ErrorList::type | ( | ) |
Return a read-write reference to the attribute.
- Returns
- A reference to the attribute.
void mil::tatrc::physiology::datamodel::ErrorList::type | ( | const type_type & | x | ) |
Set the attribute 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 attribute.
void mil::tatrc::physiology::datamodel::ErrorList::type | ( | ::std::unique_ptr< type_type > | p | ) |
Set the attribute 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.
const ErrorList::Value_type & mil::tatrc::physiology::datamodel::ErrorList::Value | ( | ) | const |
Return a read-only (constant) reference to the element.
- Returns
- A constant reference to the element.
ErrorList::Value_type & mil::tatrc::physiology::datamodel::ErrorList::Value | ( | ) |
Return a read-write reference to the element.
- Returns
- A reference to the element.
void mil::tatrc::physiology::datamodel::ErrorList::Value | ( | const Value_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::ErrorList::Value | ( | ::std::unique_ptr< Value_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.