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

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

Public Member Functions

virtual ~subscription ()
 Destructor.
 
- Public Member Functions inherited from onem2m::regularResource
virtual ~regularResource ()
 Destructor.
 
const accessControlPolicyIDs_optionalaccessControlPolicyIDs () const
 Return a read-only (constant) reference to the element container. More...
 
accessControlPolicyIDs_optionalaccessControlPolicyIDs ()
 Return a read-write reference to the element container. More...
 
void accessControlPolicyIDs (const accessControlPolicyIDs_type &x)
 Set the element value. More...
 
void accessControlPolicyIDs (const accessControlPolicyIDs_optional &x)
 Set the element value. More...
 
void accessControlPolicyIDs (::std::unique_ptr< accessControlPolicyIDs_type > p)
 Set the element value without copying. More...
 
const expirationTime_optionalexpirationTime () const
 Return a read-only (constant) reference to the element container. More...
 
expirationTime_optionalexpirationTime ()
 Return a read-write reference to the element container. More...
 
void expirationTime (const expirationTime_type &x)
 Set the element value. More...
 
void expirationTime (const expirationTime_optional &x)
 Set the element value. More...
 
void expirationTime (::std::unique_ptr< expirationTime_type > p)
 Set the element value without copying. More...
 
const dynamicAuthorizationConsultationIDs_optionaldynamicAuthorizationConsultationIDs () const
 Return a read-only (constant) reference to the element container. More...
 
dynamicAuthorizationConsultationIDs_optionaldynamicAuthorizationConsultationIDs ()
 Return a read-write reference to the element container. More...
 
void dynamicAuthorizationConsultationIDs (const dynamicAuthorizationConsultationIDs_type &x)
 Set the element value. More...
 
void dynamicAuthorizationConsultationIDs (const dynamicAuthorizationConsultationIDs_optional &x)
 Set the element value. More...
 
void dynamicAuthorizationConsultationIDs (::std::unique_ptr< dynamicAuthorizationConsultationIDs_type > p)
 Set the element value without copying. More...
 
 regularResource ()
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 regularResource (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 regularResource (const regularResource &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
regularResourceoperator= (const regularResource &x)
 Copy assignment operator. More...
 
- Public Member Functions inherited from onem2m::resource
virtual ~resource ()
 Destructor.
 
const resourceType_optionalresourceType () const
 Return a read-only (constant) reference to the element container. More...
 
resourceType_optionalresourceType ()
 Return a read-write reference to the element container. More...
 
void resourceType (const resourceType_type &x)
 Set the element value. More...
 
void resourceType (const resourceType_optional &x)
 Set the element value. More...
 
void resourceType (::std::unique_ptr< resourceType_type > p)
 Set the element value without copying. More...
 
const resourceID_optionalresourceID () const
 Return a read-only (constant) reference to the element container. More...
 
resourceID_optionalresourceID ()
 Return a read-write reference to the element container. More...
 
void resourceID (const resourceID_type &x)
 Set the element value. More...
 
void resourceID (const resourceID_optional &x)
 Set the element value. More...
 
void resourceID (::std::unique_ptr< resourceID_type > p)
 Set the element value without copying. More...
 
const parentID_optionalparentID () const
 Return a read-only (constant) reference to the element container. More...
 
parentID_optionalparentID ()
 Return a read-write reference to the element container. More...
 
void parentID (const parentID_type &x)
 Set the element value. More...
 
void parentID (const parentID_optional &x)
 Set the element value. More...
 
void parentID (::std::unique_ptr< parentID_type > p)
 Set the element value without copying. More...
 
const creationTime_optionalcreationTime () const
 Return a read-only (constant) reference to the element container. More...
 
creationTime_optionalcreationTime ()
 Return a read-write reference to the element container. More...
 
void creationTime (const creationTime_type &x)
 Set the element value. More...
 
void creationTime (const creationTime_optional &x)
 Set the element value. More...
 
void creationTime (::std::unique_ptr< creationTime_type > p)
 Set the element value without copying. More...
 
const lastModifiedTime_optionallastModifiedTime () const
 Return a read-only (constant) reference to the element container. More...
 
lastModifiedTime_optionallastModifiedTime ()
 Return a read-write reference to the element container. More...
 
void lastModifiedTime (const lastModifiedTime_type &x)
 Set the element value. More...
 
void lastModifiedTime (const lastModifiedTime_optional &x)
 Set the element value. More...
 
void lastModifiedTime (::std::unique_ptr< lastModifiedTime_type > p)
 Set the element value without copying. More...
 
const labels_optionallabels () const
 Return a read-only (constant) reference to the element container. More...
 
labels_optionallabels ()
 Return a read-write reference to the element container. More...
 
void labels (const labels_type &x)
 Set the element value. More...
 
void labels (const labels_optional &x)
 Set the element value. More...
 
void labels (::std::unique_ptr< labels_type > p)
 Set the element value without copying. More...
 
const resourceName_optionalresourceName () const
 Return a read-only (constant) reference to the attribute container. More...
 
resourceName_optionalresourceName ()
 Return a read-write reference to the attribute container. More...
 
void resourceName (const resourceName_type &x)
 Set the attribute value. More...
 
void resourceName (const resourceName_optional &x)
 Set the attribute value. More...
 
void resourceName (::std::unique_ptr< resourceName_type > p)
 Set the attribute value without copying. More...
 
 resource ()
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 resource (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 resource (const resource &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
resourceoperator= (const resource &x)
 Copy assignment operator. 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...
 

eventNotificationCriteria

Accessor and modifier functions for the eventNotificationCriteria optional element.

typedef ::onem2m::eventNotificationCriteria eventNotificationCriteria_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< eventNotificationCriteria_typeeventNotificationCriteria_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< eventNotificationCriteria_type, char > eventNotificationCriteria_traits
 Element traits type.
 
const eventNotificationCriteria_optionaleventNotificationCriteria () const
 Return a read-only (constant) reference to the element container. More...
 
eventNotificationCriteria_optionaleventNotificationCriteria ()
 Return a read-write reference to the element container. More...
 
void eventNotificationCriteria (const eventNotificationCriteria_type &x)
 Set the element value. More...
 
void eventNotificationCriteria (const eventNotificationCriteria_optional &x)
 Set the element value. More...
 
void eventNotificationCriteria (::std::unique_ptr< eventNotificationCriteria_type > p)
 Set the element value without copying. More...
 

expirationCounter

Accessor and modifier functions for the expirationCounter optional element.

typedef ::xml_schema::positive_integer expirationCounter_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< expirationCounter_typeexpirationCounter_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< expirationCounter_type, char > expirationCounter_traits
 Element traits type.
 
const expirationCounter_optionalexpirationCounter () const
 Return a read-only (constant) reference to the element container. More...
 
expirationCounter_optionalexpirationCounter ()
 Return a read-write reference to the element container. More...
 
void expirationCounter (const expirationCounter_type &x)
 Set the element value. More...
 
void expirationCounter (const expirationCounter_optional &x)
 Set the element value. More...
 

notificationURI

Accessor and modifier functions for the notificationURI optional element.

const notificationURI_optional & notificationURI () const
 Return a read-only (constant) reference to the element container. More...
 
notificationURI_optional & notificationURI ()
 Return a read-write reference to the element container. More...
 
void notificationURI (const notificationURI_type &x)
 Set the element value. More...
 
void notificationURI (const notificationURI_optional &x)
 Set the element value. More...
 
void notificationURI (::std::unique_ptr< notificationURI_type > p)
 Set the element value without copying. More...
 

groupID

Accessor and modifier functions for the groupID optional element.

typedef ::xml_schema::uri groupID_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< groupID_typegroupID_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< groupID_type, char > groupID_traits
 Element traits type.
 
const groupID_optionalgroupID () const
 Return a read-only (constant) reference to the element container. More...
 
groupID_optionalgroupID ()
 Return a read-write reference to the element container. More...
 
void groupID (const groupID_type &x)
 Set the element value. More...
 
void groupID (const groupID_optional &x)
 Set the element value. More...
 
void groupID (::std::unique_ptr< groupID_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...
 

latestNotify

Accessor and modifier functions for the latestNotify optional element.

typedef ::xml_schema::boolean latestNotify_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< latestNotify_typelatestNotify_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< latestNotify_type, char > latestNotify_traits
 Element traits type.
 
const latestNotify_optionallatestNotify () const
 Return a read-only (constant) reference to the element container. More...
 
latestNotify_optionallatestNotify ()
 Return a read-write reference to the element container. More...
 
void latestNotify (const latestNotify_type &x)
 Set the element value. More...
 
void latestNotify (const latestNotify_optional &x)
 Set the element value. More...
 

notificationContentType

Accessor and modifier functions for the notificationContentType optional element.

typedef ::onem2m::notificationContentType notificationContentType_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< notificationContentType_typenotificationContentType_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< notificationContentType_type, char > notificationContentType_traits
 Element traits type.
 
const notificationContentType_optionalnotificationContentType () const
 Return a read-only (constant) reference to the element container. More...
 
notificationContentType_optionalnotificationContentType ()
 Return a read-write reference to the element container. More...
 
void notificationContentType (const notificationContentType_type &x)
 Set the element value. More...
 
void notificationContentType (const notificationContentType_optional &x)
 Set the element value. More...
 
void notificationContentType (::std::unique_ptr< notificationContentType_type > p)
 Set the element value without copying. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from onem2m::regularResource
typedef ::onem2m::acpType accessControlPolicyIDs_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< accessControlPolicyIDs_typeaccessControlPolicyIDs_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< accessControlPolicyIDs_type, char > accessControlPolicyIDs_traits
 Element traits type.
 
typedef ::onem2m::timestamp expirationTime_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< expirationTime_typeexpirationTime_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< expirationTime_type, char > expirationTime_traits
 Element traits type.
 
typedef ::onem2m::listOfURIs dynamicAuthorizationConsultationIDs_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< dynamicAuthorizationConsultationIDs_typedynamicAuthorizationConsultationIDs_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< dynamicAuthorizationConsultationIDs_type, char > dynamicAuthorizationConsultationIDs_traits
 Element traits type.
 
- Public Types inherited from onem2m::resource
typedef ::onem2m::resourceType resourceType_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< resourceType_typeresourceType_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< resourceType_type, char > resourceType_traits
 Element traits type.
 
typedef ::onem2m::ID resourceID_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< resourceID_typeresourceID_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< resourceID_type, char > resourceID_traits
 Element traits type.
 
typedef ::onem2m::nhURI parentID_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< parentID_typeparentID_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< parentID_type, char > parentID_traits
 Element traits type.
 
typedef ::onem2m::timestamp creationTime_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< creationTime_typecreationTime_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< creationTime_type, char > creationTime_traits
 Element traits type.
 
typedef ::onem2m::timestamp lastModifiedTime_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< lastModifiedTime_typelastModifiedTime_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< lastModifiedTime_type, char > lastModifiedTime_traits
 Element traits type.
 
typedef ::onem2m::labels labels_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< labels_typelabels_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< labels_type, char > labels_traits
 Element traits type.
 
typedef ::onem2m::resourceName resourceName_type
 Attribute type.
 
typedef ::xsd::cxx::tree::optional< resourceName_typeresourceName_optional
 Attribute optional container type.
 
typedef ::xsd::cxx::tree::traits< resourceName_type, char > resourceName_traits
 Attribute traits type.
 

Detailed Description

Class corresponding to the subscription schema type.

Constructor & Destructor Documentation

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

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

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

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::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::subscription::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::subscription::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 subscription::eventNotificationCriteria_optional & onem2m::subscription::eventNotificationCriteria ( ) const

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

Returns
A constant reference to the optional container.
subscription::eventNotificationCriteria_optional & onem2m::subscription::eventNotificationCriteria ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::eventNotificationCriteria ( const eventNotificationCriteria_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::subscription::eventNotificationCriteria ( const eventNotificationCriteria_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::subscription::eventNotificationCriteria ( ::std::unique_ptr< eventNotificationCriteria_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 subscription::expirationCounter_optional & onem2m::subscription::expirationCounter ( ) const

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

Returns
A constant reference to the optional container.
subscription::expirationCounter_optional & onem2m::subscription::expirationCounter ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::expirationCounter ( const expirationCounter_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::subscription::expirationCounter ( const expirationCounter_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 subscription::groupID_optional & onem2m::subscription::groupID ( ) const

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

Returns
A constant reference to the optional container.
subscription::groupID_optional & onem2m::subscription::groupID ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::groupID ( const groupID_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::subscription::groupID ( const groupID_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::subscription::groupID ( ::std::unique_ptr< groupID_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 subscription::latestNotify_optional & onem2m::subscription::latestNotify ( ) const

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

Returns
A constant reference to the optional container.
subscription::latestNotify_optional & onem2m::subscription::latestNotify ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::latestNotify ( const latestNotify_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::subscription::latestNotify ( const latestNotify_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 subscription::notificationContentType_optional & onem2m::subscription::notificationContentType ( ) const

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

Returns
A constant reference to the optional container.
subscription::notificationContentType_optional & onem2m::subscription::notificationContentType ( )

Return a read-write reference to the element container.

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

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

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

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::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::subscription::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::subscription::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.

const subscription::notificationURI_optional & onem2m::subscription::notificationURI ( ) const

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

Returns
A constant reference to the optional container.
subscription::notificationURI_optional & onem2m::subscription::notificationURI ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::subscription::notificationURI ( const notificationURI_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::subscription::notificationURI ( const notificationURI_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::subscription::notificationURI ( ::std::unique_ptr< notificationURI_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.

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