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

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

Public Member Functions

virtual ~contentInstance ()
 Destructor.
 
- Public Member Functions inherited from onem2m::announceableSubordinateResource
virtual ~announceableSubordinateResource ()
 Destructor.
 
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 announceTo_optionalannounceTo () const
 Return a read-only (constant) reference to the element container. More...
 
announceTo_optionalannounceTo ()
 Return a read-write reference to the element container. More...
 
void announceTo (const announceTo_type &x)
 Set the element value. More...
 
void announceTo (const announceTo_optional &x)
 Set the element value. More...
 
void announceTo (::std::unique_ptr< announceTo_type > p)
 Set the element value without copying. More...
 
const announcedAttribute_optionalannouncedAttribute () const
 Return a read-only (constant) reference to the element container. More...
 
announcedAttribute_optionalannouncedAttribute ()
 Return a read-write reference to the element container. More...
 
void announcedAttribute (const announcedAttribute_type &x)
 Set the element value. More...
 
void announcedAttribute (const announcedAttribute_optional &x)
 Set the element value. More...
 
void announcedAttribute (::std::unique_ptr< announcedAttribute_type > p)
 Set the element value without copying. More...
 
 announceableSubordinateResource ()
 Create an instance from the ultimate base and initializers for required elements and attributes.
 
 announceableSubordinateResource (const ::xercesc::DOMElement &e,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Create an instance from a DOM element. More...
 
 announceableSubordinateResource (const announceableSubordinateResource &x,::xml_schema::flags f=0,::xml_schema::container *c=0)
 Copy constructor. More...
 
announceableSubordinateResourceoperator= (const announceableSubordinateResource &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...
 

stateTag

Accessor and modifier functions for the stateTag optional element.

typedef ::xml_schema::non_negative_integer stateTag_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< stateTag_typestateTag_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< stateTag_type, char > stateTag_traits
 Element traits type.
 
const stateTag_optionalstateTag () const
 Return a read-only (constant) reference to the element container. More...
 
stateTag_optionalstateTag ()
 Return a read-write reference to the element container. More...
 
void stateTag (const stateTag_type &x)
 Set the element value. More...
 
void stateTag (const stateTag_optional &x)
 Set the element value. 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...
 

contentInfo

Accessor and modifier functions for the contentInfo optional element.

typedef ::onem2m::contentInfo contentInfo_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< contentInfo_typecontentInfo_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< contentInfo_type, char > contentInfo_traits
 Element traits type.
 
const contentInfo_optionalcontentInfo () const
 Return a read-only (constant) reference to the element container. More...
 
contentInfo_optionalcontentInfo ()
 Return a read-write reference to the element container. More...
 
void contentInfo (const contentInfo_type &x)
 Set the element value. More...
 
void contentInfo (const contentInfo_optional &x)
 Set the element value. More...
 
void contentInfo (::std::unique_ptr< contentInfo_type > p)
 Set the element value without copying. More...
 

contentSize

Accessor and modifier functions for the contentSize optional element.

typedef ::xml_schema::non_negative_integer contentSize_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< contentSize_typecontentSize_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< contentSize_type, char > contentSize_traits
 Element traits type.
 
const contentSize_optionalcontentSize () const
 Return a read-only (constant) reference to the element container. More...
 
contentSize_optionalcontentSize ()
 Return a read-write reference to the element container. More...
 
void contentSize (const contentSize_type &x)
 Set the element value. More...
 
void contentSize (const contentSize_optional &x)
 Set the element value. More...
 

contentRef

Accessor and modifier functions for the contentRef optional element.

typedef ::onem2m::contentRef contentRef_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< contentRef_typecontentRef_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< contentRef_type, char > contentRef_traits
 Element traits type.
 
const contentRef_optionalcontentRef () const
 Return a read-only (constant) reference to the element container. More...
 
contentRef_optionalcontentRef ()
 Return a read-write reference to the element container. More...
 
void contentRef (const contentRef_type &x)
 Set the element value. More...
 
void contentRef (const contentRef_optional &x)
 Set the element value. More...
 
void contentRef (::std::unique_ptr< contentRef_type > p)
 Set the element value without copying. More...
 

ontologyRef

Accessor and modifier functions for the ontologyRef optional element.

typedef ::xml_schema::uri ontologyRef_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< ontologyRef_typeontologyRef_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< ontologyRef_type, char > ontologyRef_traits
 Element traits type.
 
const ontologyRef_optionalontologyRef () const
 Return a read-only (constant) reference to the element container. More...
 
ontologyRef_optionalontologyRef ()
 Return a read-write reference to the element container. More...
 
void ontologyRef (const ontologyRef_type &x)
 Set the element value. More...
 
void ontologyRef (const ontologyRef_optional &x)
 Set the element value. More...
 
void ontologyRef (::std::unique_ptr< ontologyRef_type > p)
 Set the element value without copying. More...
 

content

Accessor and modifier functions for the content optional element.

typedef ::xml_schema::string content_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< content_typecontent_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< content_type, char > content_traits
 Element traits type.
 
const content_optionalcontent () const
 Return a read-only (constant) reference to the element container. More...
 
content_optionalcontent ()
 Return a read-write reference to the element container. More...
 
void content (const content_type &x)
 Set the element value. More...
 
void content (const content_optional &x)
 Set the element value. More...
 
void content (::std::unique_ptr< content_type > p)
 Set the element value without copying. More...
 

Constructors

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

Additional Inherited Members

- Public Types inherited from onem2m::announceableSubordinateResource
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 announceTo_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< announceTo_typeannounceTo_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< announceTo_type, char > announceTo_traits
 Element traits type.
 
typedef ::onem2m::announcedAttribute1 announcedAttribute_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< announcedAttribute_typeannouncedAttribute_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< announcedAttribute_type, char > announcedAttribute_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 contentInstance schema type.

Constructor & Destructor Documentation

onem2m::contentInstance::contentInstance ( 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::contentInstance::contentInstance ( const contentInstance 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 contentInstance::content_optional & onem2m::contentInstance::content ( ) const

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

Returns
A constant reference to the optional container.
contentInstance::content_optional & onem2m::contentInstance::content ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::content ( const content_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::contentInstance::content ( const content_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::contentInstance::content ( ::std::unique_ptr< content_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 contentInstance::contentInfo_optional & onem2m::contentInstance::contentInfo ( ) const

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

Returns
A constant reference to the optional container.
contentInstance::contentInfo_optional & onem2m::contentInstance::contentInfo ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::contentInfo ( const contentInfo_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::contentInstance::contentInfo ( const contentInfo_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::contentInstance::contentInfo ( ::std::unique_ptr< contentInfo_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 contentInstance::contentRef_optional & onem2m::contentInstance::contentRef ( ) const

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

Returns
A constant reference to the optional container.
contentInstance::contentRef_optional & onem2m::contentInstance::contentRef ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::contentRef ( const contentRef_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::contentInstance::contentRef ( const contentRef_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::contentInstance::contentRef ( ::std::unique_ptr< contentRef_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 contentInstance::contentSize_optional & onem2m::contentInstance::contentSize ( ) const

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

Returns
A constant reference to the optional container.
contentInstance::contentSize_optional & onem2m::contentInstance::contentSize ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::contentSize ( const contentSize_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::contentInstance::contentSize ( const contentSize_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 contentInstance::creator_optional & onem2m::contentInstance::creator ( ) const

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

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

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::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::contentInstance::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::contentInstance::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 contentInstance::ontologyRef_optional & onem2m::contentInstance::ontologyRef ( ) const

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

Returns
A constant reference to the optional container.
contentInstance::ontologyRef_optional & onem2m::contentInstance::ontologyRef ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::ontologyRef ( const ontologyRef_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::contentInstance::ontologyRef ( const ontologyRef_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::contentInstance::ontologyRef ( ::std::unique_ptr< ontologyRef_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.

contentInstance & onem2m::contentInstance::operator= ( const contentInstance 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 contentInstance::stateTag_optional & onem2m::contentInstance::stateTag ( ) const

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

Returns
A constant reference to the optional container.
contentInstance::stateTag_optional & onem2m::contentInstance::stateTag ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::contentInstance::stateTag ( const stateTag_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::contentInstance::stateTag ( const stateTag_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: