Tizen Native API
Dali::Any::AnyContainerImpl< Type > Class Template Reference

Templated class to hold value for type. More...

Inheritance diagram for Dali::Any::AnyContainerImpl< Type >:
Dali::Any::AnyContainerBase

Public Member Functions

 AnyContainerImpl (const Type &value)
 Constructor to create container holding value of type Type.
 AnyContainerImpl (const AnyContainerBase &base)
 Constructor to create new container of type from and existing container (cloning)
const Type & GetValue () const
 Get the container's stored value.
void SetValue (const Type &value)
 Set the container's stored value.
Type * GetPointerToValue ()
 Get a pointer to the value held.
const Type * GetPointerToValue () const
 Get a pointer to the value held.

Detailed Description

template<typename Type>
class Dali::Any::AnyContainerImpl< Type >

Templated class to hold value for type.

Since :
2.4

Constructor & Destructor Documentation

template<typename Type >
Dali::Any::AnyContainerImpl< Type >::AnyContainerImpl ( const Type &  value)

Constructor to create container holding value of type Type.

Since :
2.4
Parameters:
valueValue of Type
template<typename Type >
Dali::Any::AnyContainerImpl< Type >::AnyContainerImpl ( const AnyContainerBase base)

Constructor to create new container of type from and existing container (cloning)

Since :
2.4
Parameters:
basereference to base container to copy from

Member Function Documentation

template<typename Type >
Type* Dali::Any::AnyContainerImpl< Type >::GetPointerToValue ( )

Get a pointer to the value held.

Since :
2.4
Returns:
pointer to the value of type Type
template<typename Type >
const Type* Dali::Any::AnyContainerImpl< Type >::GetPointerToValue ( ) const

Get a pointer to the value held.

Since :
2.4
Returns:
pointer to the value of type Type
template<typename Type >
const Type& Dali::Any::AnyContainerImpl< Type >::GetValue ( ) const

Get the container's stored value.

Since :
2.4
Returns:
value of type Type
template<typename Type >
void Dali::Any::AnyContainerImpl< Type >::SetValue ( const Type &  value)

Set the container's stored value.

Since :
2.4
Parameters:
valueof type Type