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

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

Public Member Functions

virtual ~missingData ()
 Destructor.
 

number

Accessor and modifier functions for the number required element.

typedef ::xml_schema::non_negative_integer number_type
 Element type.
 
typedef ::xsd::cxx::tree::traits< number_type, char > number_traits
 Element traits type.
 
const number_typenumber () const
 Return a read-only (constant) reference to the element. More...
 
number_typenumber ()
 Return a read-write reference to the element. More...
 
void number (const number_type &x)
 Set the element value. More...
 

duration

Accessor and modifier functions for the duration required element.

typedef ::xml_schema::duration duration_type
 Element type.
 
typedef ::xsd::cxx::tree::traits< duration_type, char > duration_traits
 Element traits type.
 
const duration_typeduration () const
 Return a read-only (constant) reference to the element. More...
 
duration_typeduration ()
 Return a read-write reference to the element. More...
 
void duration (const duration_type &x)
 Set the element value. More...
 
void duration (::std::unique_ptr< duration_type > p)
 Set the element value without copying. More...
 

Constructors

 missingData (const number_type &, const duration_type &)
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 missingData (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 missingData (const missingData &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
missingDataoperator= (const missingData &x)
 Copy assignment operator. More...
 

Detailed Description

Class corresponding to the missingData schema type.

Constructor & Destructor Documentation

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

Member Function Documentation

const missingData::duration_type & onem2m::missingData::duration ( ) const

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

Returns
A constant reference to the element.
missingData::duration_type & onem2m::missingData::duration ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void onem2m::missingData::duration ( const duration_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 onem2m::missingData::duration ( ::std::unique_ptr< duration_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.

const missingData::number_type & onem2m::missingData::number ( ) const

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

Returns
A constant reference to the element.
missingData::number_type & onem2m::missingData::number ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void onem2m::missingData::number ( const number_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.

missingData & onem2m::missingData::operator= ( const missingData 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.


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