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

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

Public Member Functions

virtual ~accessControlRule ()
 Destructor.
 

accessControlOriginators

Accessor and modifier functions for the accessControlOriginators required element.

typedef ::onem2m::listOfURIs accessControlOriginators_type
 Element type.
 
typedef ::xsd::cxx::tree::traits< accessControlOriginators_type, char > accessControlOriginators_traits
 Element traits type.
 
const accessControlOriginators_typeaccessControlOriginators () const
 Return a read-only (constant) reference to the element. More...
 
accessControlOriginators_typeaccessControlOriginators ()
 Return a read-write reference to the element. More...
 
void accessControlOriginators (const accessControlOriginators_type &x)
 Set the element value. More...
 
void accessControlOriginators (::std::unique_ptr< accessControlOriginators_type > p)
 Set the element value without copying. More...
 

accessControlOperations

Accessor and modifier functions for the accessControlOperations required element.

typedef ::onem2m::accessControlOperations accessControlOperations_type
 Element type.
 
typedef ::xsd::cxx::tree::traits< accessControlOperations_type, char > accessControlOperations_traits
 Element traits type.
 
const accessControlOperations_typeaccessControlOperations () const
 Return a read-only (constant) reference to the element. More...
 
accessControlOperations_typeaccessControlOperations ()
 Return a read-write reference to the element. More...
 
void accessControlOperations (const accessControlOperations_type &x)
 Set the element value. More...
 
void accessControlOperations (::std::unique_ptr< accessControlOperations_type > p)
 Set the element value without copying. More...
 

accessControlContexts

Accessor and modifier functions for the accessControlContexts sequence element.

typedef ::onem2m::accessControlContexts accessControlContexts_type
 Element type.
 
typedef ::xsd::cxx::tree::sequence< accessControlContexts_typeaccessControlContexts_sequence
 Element sequence container type.
 
typedef accessControlContexts_sequence::iterator accessControlContexts_iterator
 Element iterator type.
 
typedef accessControlContexts_sequence::const_iterator accessControlContexts_const_iterator
 Element constant iterator type.
 
typedef ::xsd::cxx::tree::traits< accessControlContexts_type, char > accessControlContexts_traits
 Element traits type.
 
const accessControlContexts_sequenceaccessControlContexts () const
 Return a read-only (constant) reference to the element sequence. More...
 
accessControlContexts_sequenceaccessControlContexts ()
 Return a read-write reference to the element sequence. More...
 
void accessControlContexts (const accessControlContexts_sequence &s)
 Copy elements from a given sequence. More...
 

accessControlAuthenticationFlag

Accessor and modifier functions for the accessControlAuthenticationFlag optional element.

typedef ::xml_schema::boolean accessControlAuthenticationFlag_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< accessControlAuthenticationFlag_typeaccessControlAuthenticationFlag_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< accessControlAuthenticationFlag_type, char > accessControlAuthenticationFlag_traits
 Element traits type.
 
const accessControlAuthenticationFlag_optionalaccessControlAuthenticationFlag () const
 Return a read-only (constant) reference to the element container. More...
 
accessControlAuthenticationFlag_optionalaccessControlAuthenticationFlag ()
 Return a read-write reference to the element container. More...
 
void accessControlAuthenticationFlag (const accessControlAuthenticationFlag_type &x)
 Set the element value. More...
 
void accessControlAuthenticationFlag (const accessControlAuthenticationFlag_optional &x)
 Set the element value. More...
 

Constructors

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

Detailed Description

Class corresponding to the accessControlRule schema type.

Constructor & Destructor Documentation

onem2m::accessControlRule::accessControlRule ( 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::accessControlRule::accessControlRule ( const accessControlRule 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 accessControlRule::accessControlAuthenticationFlag_optional & onem2m::accessControlRule::accessControlAuthenticationFlag ( ) const

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

Returns
A constant reference to the optional container.
accessControlRule::accessControlAuthenticationFlag_optional & onem2m::accessControlRule::accessControlAuthenticationFlag ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::accessControlRule::accessControlAuthenticationFlag ( const accessControlAuthenticationFlag_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::accessControlRule::accessControlAuthenticationFlag ( const accessControlAuthenticationFlag_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 accessControlRule::accessControlContexts_sequence & onem2m::accessControlRule::accessControlContexts ( ) const

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

Returns
A constant reference to the sequence container.
accessControlRule::accessControlContexts_sequence & onem2m::accessControlRule::accessControlContexts ( )

Return a read-write reference to the element sequence.

Returns
A reference to the sequence container.
void onem2m::accessControlRule::accessControlContexts ( const accessControlContexts_sequence s)

Copy elements from a given sequence.

Parameters
sA sequence to copy elements from.

For each element in s this function makes a copy and adds it to the sequence. Note that this operation completely changes the sequence and all old elements will be lost.

const accessControlRule::accessControlOperations_type & onem2m::accessControlRule::accessControlOperations ( ) const

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

Returns
A constant reference to the element.
accessControlRule::accessControlOperations_type & onem2m::accessControlRule::accessControlOperations ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void onem2m::accessControlRule::accessControlOperations ( const accessControlOperations_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::accessControlRule::accessControlOperations ( ::std::unique_ptr< accessControlOperations_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 accessControlRule::accessControlOriginators_type & onem2m::accessControlRule::accessControlOriginators ( ) const

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

Returns
A constant reference to the element.
accessControlRule::accessControlOriginators_type & onem2m::accessControlRule::accessControlOriginators ( )

Return a read-write reference to the element.

Returns
A reference to the element.
void onem2m::accessControlRule::accessControlOriginators ( const accessControlOriginators_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::accessControlRule::accessControlOriginators ( ::std::unique_ptr< accessControlOriginators_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.

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