OS-IoT
Public Member Functions | List of all members
onem2m::listOfDuration Class Reference

List class corresponding to the listOfDuration schema type. More...

Public Member Functions

 listOfDuration ()
 Default constructor. More...
 
 listOfDuration (size_type n, const ::xml_schema::duration &x)
 Create a list with copies of the specified element. More...
 
template<typename I >
 listOfDuration (const I &begin, const I &end)
 Create a list from an iterator range. More...
 
 listOfDuration (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 listOfDuration (const ::xercesc::DOMAttr &a,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM attribute. More...
 
 listOfDuration (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...
 
 listOfDuration (const listOfDuration &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
virtual ~listOfDuration ()
 Destructor.
 

Detailed Description

List class corresponding to the listOfDuration schema type.

This class has an interface of a standard C++ sequence (e.g., std::vector).

Constructor & Destructor Documentation

onem2m::listOfDuration::listOfDuration ( )

Default constructor.

Creates an empty list.

onem2m::listOfDuration::listOfDuration ( size_type  n,
const ::xml_schema::duration x 
)

Create a list with copies of the specified element.

Parameters
nA number of elements to copy.
xAn element to copy.

This constructor creates a list with n copies of x.

template<typename I >
onem2m::listOfDuration::listOfDuration ( const I &  begin,
const I &  end 
)
inline

Create a list from an iterator range.

Parameters
beginAn iterator pointing to the first element.
endAn 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).

onem2m::listOfDuration::listOfDuration ( 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.
onem2m::listOfDuration::listOfDuration ( 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.
onem2m::listOfDuration::listOfDuration ( 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.
onem2m::listOfDuration::listOfDuration ( const listOfDuration 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.


The documentation for this class was generated from the following files: