List class corresponding to the DoubleList schema type. More...
#include <Properties.hxx>
Public Member Functions | |
DoubleList () | |
Default constructor. More... | |
DoubleList (size_type n, const ::xml_schema::double_ &x) | |
Create a list with copies of the specified element. More... | |
template<typename I > | |
DoubleList (const I &begin, const I &end) | |
Create a list from an iterator range. More... | |
DoubleList (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM element. More... | |
DoubleList (const ::xercesc::DOMAttr &a,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Create an instance from a DOM attribute. More... | |
DoubleList (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... | |
DoubleList (const DoubleList &x,::xml_schema::flags f=0,::xml_schema::container *c=0) | |
Copy constructor. More... | |
virtual DoubleList * | _clone (::xml_schema::flags f=0,::xml_schema::container *c=0) const |
Copy the instance polymorphically. More... | |
virtual | ~DoubleList () |
Destructor. More... | |
Detailed Description
List class corresponding to the DoubleList schema type.
This class has an interface of a standard C++ sequence (e.g., std::vector).
Constructor & Destructor Documentation
mil::tatrc::physiology::datamodel::DoubleList::DoubleList | ( | ) |
Default constructor.
Creates an empty list.
mil::tatrc::physiology::datamodel::DoubleList::DoubleList | ( | size_type | n, |
const ::xml_schema::double_ & | x | ||
) |
Create a list with copies of the specified element.
- Parameters
-
n A number of elements to copy. x An element to copy.
This constructor creates a list with n copies of x.
|
inline |
Create a list from an iterator range.
- Parameters
-
begin An iterator pointing to the first element. end An iterator pointing to the one past the last element.
This constructor creates a list consisting of copies of the elements in the range [begin,end).
mil::tatrc::physiology::datamodel::DoubleList::DoubleList | ( | 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::DoubleList::DoubleList | ( | const ::xercesc::DOMAttr & | a, |
::xml_schema::flags | f = 0 , |
||
::xml_schema::container * | c = 0 |
||
) |
Create an instance from a DOM attribute.
- Parameters
-
a A DOM attribute 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::DoubleList::DoubleList | ( | 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
-
s A string fragment to extract the data from. e A pointer to DOM element containing the string fragment. f Flags to create the new instance with. c A pointer to the object that will contain the new instance.
mil::tatrc::physiology::datamodel::DoubleList::DoubleList | ( | const DoubleList & | 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.