Tizen Native API  6.0
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
 Gets the container's stored value.
void SetValue (const Type &value)
 Sets the container's stored value.
Type * GetPointerToValue ()
 Gets a pointer to the value held.
const Type * GetPointerToValue () const
 Gets 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, DALi version 1.0.0

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, DALi version 1.0.0
Parameters:
[in]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, DALi version 1.0.0
Parameters:
[in]baseThe reference to base container to copy from

Member Function Documentation

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

Gets a pointer to the value held.

Since:
2.4, DALi version 1.0.0
Returns:
Pointer to the value of type Type
template<typename Type >
const Type* Dali::Any::AnyContainerImpl< Type >::GetPointerToValue ( ) const

Gets a pointer to the value held.

Since:
2.4, DALi version 1.0.0
Returns:
Pointer to the value of type Type
template<typename Type >
const Type& Dali::Any::AnyContainerImpl< Type >::GetValue ( ) const

Gets the container's stored value.

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

Sets the container's stored value.

Since:
2.4, DALi version 1.0.0
Parameters:
[in]valueValue of type Type