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

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

Public Member Functions

virtual ~locationRegion ()
 Destructor.
 

countryCode

Accessor and modifier functions for the countryCode optional element.

typedef ::onem2m::countryCode1 countryCode_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< countryCode_typecountryCode_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< countryCode_type, char > countryCode_traits
 Element traits type.
 
const countryCode_optionalcountryCode () const
 Return a read-only (constant) reference to the element container. More...
 
countryCode_optionalcountryCode ()
 Return a read-write reference to the element container. More...
 
void countryCode (const countryCode_type &x)
 Set the element value. More...
 
void countryCode (const countryCode_optional &x)
 Set the element value. More...
 
void countryCode (::std::unique_ptr< countryCode_type > p)
 Set the element value without copying. More...
 

circRegion

Accessor and modifier functions for the circRegion optional element.

typedef ::onem2m::circRegion circRegion_type
 Element type.
 
typedef ::xsd::cxx::tree::optional< circRegion_typecircRegion_optional
 Element optional container type.
 
typedef ::xsd::cxx::tree::traits< circRegion_type, char > circRegion_traits
 Element traits type.
 
const circRegion_optionalcircRegion () const
 Return a read-only (constant) reference to the element container. More...
 
circRegion_optionalcircRegion ()
 Return a read-write reference to the element container. More...
 
void circRegion (const circRegion_type &x)
 Set the element value. More...
 
void circRegion (const circRegion_optional &x)
 Set the element value. More...
 
void circRegion (::std::unique_ptr< circRegion_type > p)
 Set the element value without copying. More...
 

Constructors

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

Detailed Description

Class corresponding to the locationRegion schema type.

Constructor & Destructor Documentation

onem2m::locationRegion::locationRegion ( 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::locationRegion::locationRegion ( const locationRegion 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 locationRegion::circRegion_optional & onem2m::locationRegion::circRegion ( ) const

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

Returns
A constant reference to the optional container.
locationRegion::circRegion_optional & onem2m::locationRegion::circRegion ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::locationRegion::circRegion ( const circRegion_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::locationRegion::circRegion ( const circRegion_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::locationRegion::circRegion ( ::std::unique_ptr< circRegion_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 locationRegion::countryCode_optional & onem2m::locationRegion::countryCode ( ) const

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

Returns
A constant reference to the optional container.
locationRegion::countryCode_optional & onem2m::locationRegion::countryCode ( )

Return a read-write reference to the element container.

Returns
A reference to the optional container.
void onem2m::locationRegion::countryCode ( const countryCode_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::locationRegion::countryCode ( const countryCode_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::locationRegion::countryCode ( ::std::unique_ptr< countryCode_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.

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