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

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

Public Member Functions

virtual ~regularResource ()
 Destructor.
 
- 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...
 

accessControlPolicyIDs

Accessor and modifier functions for the accessControlPolicyIDs optional element.

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.
 
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...
 

expirationTime

Accessor and modifier functions for the expirationTime optional element.

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.
 
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...
 

dynamicAuthorizationConsultationIDs

Accessor and modifier functions for the dynamicAuthorizationConsultationIDs optional element.

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.
 
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...
 

Constructors

 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...
 

Additional Inherited Members

- 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 regularResource schema type.

Constructor & Destructor Documentation

onem2m::regularResource::regularResource ( 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::regularResource::regularResource ( const regularResource 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 regularResource::accessControlPolicyIDs_optional & onem2m::regularResource::accessControlPolicyIDs ( ) const

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

Returns
A constant reference to the optional container.
regularResource::accessControlPolicyIDs_optional & onem2m::regularResource::accessControlPolicyIDs ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::regularResource::accessControlPolicyIDs ( const accessControlPolicyIDs_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::regularResource::accessControlPolicyIDs ( const accessControlPolicyIDs_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::regularResource::accessControlPolicyIDs ( ::std::unique_ptr< accessControlPolicyIDs_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 regularResource::dynamicAuthorizationConsultationIDs_optional & onem2m::regularResource::dynamicAuthorizationConsultationIDs ( ) const

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

Returns
A constant reference to the optional container.
regularResource::dynamicAuthorizationConsultationIDs_optional & onem2m::regularResource::dynamicAuthorizationConsultationIDs ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::regularResource::dynamicAuthorizationConsultationIDs ( const dynamicAuthorizationConsultationIDs_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::regularResource::dynamicAuthorizationConsultationIDs ( const dynamicAuthorizationConsultationIDs_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::regularResource::dynamicAuthorizationConsultationIDs ( ::std::unique_ptr< dynamicAuthorizationConsultationIDs_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 regularResource::expirationTime_optional & onem2m::regularResource::expirationTime ( ) const

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

Returns
A constant reference to the optional container.
regularResource::expirationTime_optional & onem2m::regularResource::expirationTime ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::regularResource::expirationTime ( const expirationTime_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::regularResource::expirationTime ( const expirationTime_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::regularResource::expirationTime ( ::std::unique_ptr< expirationTime_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.

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