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

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

Public Member Functions

virtual ~operationMonitor ()
 Destructor.
 

operation

Accessor and modifier functions for the operation optional element.

typedef ::onem2m::operation operation_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< operation_typeoperation_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< operation_type, char > operation_traits
 Element traits type.
 
const operation_optionaloperation () const
 Return a read-only (constant) reference to the element container. More...
 
operation_optionaloperation ()
 Return a read-write reference to the element container. More...
 
void operation (const operation_type &x)
 Set the element value. More...
 
void operation (const operation_optional &x)
 Set the element value. More...
 
void operation (::std::unique_ptr< operation_type > p)
 Set the element value without copying. More...
 

originator

Accessor and modifier functions for the originator optional element.

typedef ::onem2m::ID originator_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< originator_typeoriginator_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< originator_type, char > originator_traits
 Element traits type.
 
const originator_optionaloriginator () const
 Return a read-only (constant) reference to the element container. More...
 
originator_optionaloriginator ()
 Return a read-write reference to the element container. More...
 
void originator (const originator_type &x)
 Set the element value. More...
 
void originator (const originator_optional &x)
 Set the element value. More...
 
void originator (::std::unique_ptr< originator_type > p)
 Set the element value without copying. More...
 

Constructors

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

Detailed Description

Class corresponding to the operationMonitor schema type.

Constructor & Destructor Documentation

onem2m::operationMonitor::operationMonitor ( 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::operationMonitor::operationMonitor ( const operationMonitor 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 operationMonitor::operation_optional & onem2m::operationMonitor::operation ( ) const

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

Returns
A constant reference to the optional container.
operationMonitor::operation_optional & onem2m::operationMonitor::operation ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::operationMonitor::operation ( const operation_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::operationMonitor::operation ( const operation_optional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

void onem2m::operationMonitor::operation ( ::std::unique_ptr< operation_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.

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

const operationMonitor::originator_optional & onem2m::operationMonitor::originator ( ) const

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

Returns
A constant reference to the optional container.
operationMonitor::originator_optional & onem2m::operationMonitor::originator ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::operationMonitor::originator ( const originator_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::operationMonitor::originator ( const originator_optional x)

Set the element value.

Parameters
xAn optional container with the new value to set.

If the value is present in x then this function makes a copy of this value and sets it as the new value of the element. Otherwise the element container is set the 'not present' state.

void onem2m::operationMonitor::originator ( ::std::unique_ptr< originator_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.


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