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

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

Public Member Functions

virtual ~notificationBase ()
 Destructor.
 

notificationEvent

Accessor and modifier functions for the notificationEvent optional element.

typedef ::onem2m::notificationEvent notificationEvent_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< notificationEvent_typenotificationEvent_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< notificationEvent_type, char > notificationEvent_traits
 Element traits type.
 
const notificationEvent_optionalnotificationEvent () const
 Return a read-only (constant) reference to the element container. More...
 
notificationEvent_optionalnotificationEvent ()
 Return a read-write reference to the element container. More...
 
void notificationEvent (const notificationEvent_type &x)
 Set the element value. More...
 
void notificationEvent (const notificationEvent_optional &x)
 Set the element value. More...
 
void notificationEvent (::std::unique_ptr< notificationEvent_type > p)
 Set the element value without copying. More...
 

verificationRequest

Accessor and modifier functions for the verificationRequest optional element.

typedef ::xml_schema::boolean verificationRequest_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< verificationRequest_typeverificationRequest_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< verificationRequest_type, char > verificationRequest_traits
 Element traits type.
 
const verificationRequest_optionalverificationRequest () const
 Return a read-only (constant) reference to the element container. More...
 
verificationRequest_optionalverificationRequest ()
 Return a read-write reference to the element container. More...
 
void verificationRequest (const verificationRequest_type &x)
 Set the element value. More...
 
void verificationRequest (const verificationRequest_optional &x)
 Set the element value. More...
 

subscriptionDeletion

Accessor and modifier functions for the subscriptionDeletion optional element.

typedef ::xml_schema::boolean subscriptionDeletion_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< subscriptionDeletion_typesubscriptionDeletion_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< subscriptionDeletion_type, char > subscriptionDeletion_traits
 Element traits type.
 
const subscriptionDeletion_optionalsubscriptionDeletion () const
 Return a read-only (constant) reference to the element container. More...
 
subscriptionDeletion_optionalsubscriptionDeletion ()
 Return a read-write reference to the element container. More...
 
void subscriptionDeletion (const subscriptionDeletion_type &x)
 Set the element value. More...
 
void subscriptionDeletion (const subscriptionDeletion_optional &x)
 Set the element value. More...
 

subscriptionReference

Accessor and modifier functions for the subscriptionReference optional element.

typedef ::xml_schema::uri subscriptionReference_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< subscriptionReference_typesubscriptionReference_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< subscriptionReference_type, char > subscriptionReference_traits
 Element traits type.
 
const subscriptionReference_optionalsubscriptionReference () const
 Return a read-only (constant) reference to the element container. More...
 
subscriptionReference_optionalsubscriptionReference ()
 Return a read-write reference to the element container. More...
 
void subscriptionReference (const subscriptionReference_type &x)
 Set the element value. More...
 
void subscriptionReference (const subscriptionReference_optional &x)
 Set the element value. More...
 
void subscriptionReference (::std::unique_ptr< subscriptionReference_type > p)
 Set the element value without copying. More...
 

creator

Accessor and modifier functions for the creator optional element.

typedef ::onem2m::ID creator_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< creator_typecreator_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< creator_type, char > creator_traits
 Element traits type.
 
const creator_optionalcreator () const
 Return a read-only (constant) reference to the element container. More...
 
creator_optionalcreator ()
 Return a read-write reference to the element container. More...
 
void creator (const creator_type &x)
 Set the element value. More...
 
void creator (const creator_optional &x)
 Set the element value. More...
 
void creator (::std::unique_ptr< creator_type > p)
 Set the element value without copying. More...
 

notificationForwardingURI

Accessor and modifier functions for the notificationForwardingURI optional element.

typedef ::xml_schema::uri notificationForwardingURI_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< notificationForwardingURI_typenotificationForwardingURI_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< notificationForwardingURI_type, char > notificationForwardingURI_traits
 Element traits type.
 
const notificationForwardingURI_optionalnotificationForwardingURI () const
 Return a read-only (constant) reference to the element container. More...
 
notificationForwardingURI_optionalnotificationForwardingURI ()
 Return a read-write reference to the element container. More...
 
void notificationForwardingURI (const notificationForwardingURI_type &x)
 Set the element value. More...
 
void notificationForwardingURI (const notificationForwardingURI_optional &x)
 Set the element value. More...
 
void notificationForwardingURI (::std::unique_ptr< notificationForwardingURI_type > p)
 Set the element value without copying. More...
 

Constructors

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

Detailed Description

Class corresponding to the notification schema type.

Constructor & Destructor Documentation

onem2m::notificationBase::notificationBase ( 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::notificationBase::notificationBase ( const notificationBase 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 notificationBase::creator_optional & onem2m::notificationBase::creator ( ) const

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

Returns
A constant reference to the optional container.
notificationBase::creator_optional & onem2m::notificationBase::creator ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::notificationBase::creator ( const creator_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::notificationBase::creator ( const creator_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::notificationBase::creator ( ::std::unique_ptr< creator_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 notificationBase::notificationEvent_optional & onem2m::notificationBase::notificationEvent ( ) const

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

Returns
A constant reference to the optional container.
notificationBase::notificationEvent_optional & onem2m::notificationBase::notificationEvent ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::notificationBase::notificationEvent ( const notificationEvent_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::notificationBase::notificationEvent ( const notificationEvent_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::notificationBase::notificationEvent ( ::std::unique_ptr< notificationEvent_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 notificationBase::notificationForwardingURI_optional & onem2m::notificationBase::notificationForwardingURI ( ) const

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

Returns
A constant reference to the optional container.
notificationBase::notificationForwardingURI_optional & onem2m::notificationBase::notificationForwardingURI ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::notificationBase::notificationForwardingURI ( const notificationForwardingURI_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::notificationBase::notificationForwardingURI ( const notificationForwardingURI_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::notificationBase::notificationForwardingURI ( ::std::unique_ptr< notificationForwardingURI_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.

notificationBase & onem2m::notificationBase::operator= ( const notificationBase 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 notificationBase::subscriptionDeletion_optional & onem2m::notificationBase::subscriptionDeletion ( ) const

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

Returns
A constant reference to the optional container.
notificationBase::subscriptionDeletion_optional & onem2m::notificationBase::subscriptionDeletion ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::notificationBase::subscriptionDeletion ( const subscriptionDeletion_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::notificationBase::subscriptionDeletion ( const subscriptionDeletion_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.

const notificationBase::subscriptionReference_optional & onem2m::notificationBase::subscriptionReference ( ) const

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

Returns
A constant reference to the optional container.
notificationBase::subscriptionReference_optional & onem2m::notificationBase::subscriptionReference ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::notificationBase::subscriptionReference ( const subscriptionReference_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::notificationBase::subscriptionReference ( const subscriptionReference_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::notificationBase::subscriptionReference ( ::std::unique_ptr< subscriptionReference_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 notificationBase::verificationRequest_optional & onem2m::notificationBase::verificationRequest ( ) const

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

Returns
A constant reference to the optional container.
notificationBase::verificationRequest_optional & onem2m::notificationBase::verificationRequest ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::notificationBase::verificationRequest ( const verificationRequest_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::notificationBase::verificationRequest ( const verificationRequest_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.


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