Tizen Native API
5.5
|
TypeInfo class for instantiation of registered types and introspection of their actions and signals. More...
Public Types | |
typedef int32_t | Index |
A valid property index is zero or greater. | |
typedef int32_t | Index |
A valid property index is zero or greater. | |
Public Member Functions | |
TypeInfo () | |
Allows the creation of an empty TypeInfo handle. | |
~TypeInfo () | |
Destructor. | |
TypeInfo (const TypeInfo &handle) | |
This copy constructor is required for (smart) pointer semantics. | |
TypeInfo & | operator= (const TypeInfo &rhs) |
This assignment operator is required for (smart) pointer semantics. | |
const std::string & | GetName () const |
Retrieves the type name for this type. | |
const std::string & | GetBaseName () const |
Retrieves the base type name for this type. | |
BaseHandle | CreateInstance () const |
Creates an object from this type. | |
CreateFunction | GetCreator () const |
Retrieves the creator function for this type. | |
size_t | GetActionCount () const |
Retrieves the number of actions for this type. | |
std::string | GetActionName (size_t index) |
Retrieves the action name for the index. | |
size_t | GetSignalCount () const |
Retrieves the number of signals for this type. | |
std::string | GetSignalName (size_t index) |
Retrieves the signal name for the index. | |
size_t | GetPropertyCount () const |
Retrieves the number of event side type registered properties for this type. | |
void | GetPropertyIndices (Property::IndexContainer &indices) const |
Retrieves all the property indices for this type. | |
void | GetChildPropertyIndices (Property::IndexContainer &indices) const |
Retrieves all the child property indices for this type. | |
const std::string & | GetPropertyName (Property::Index index) const |
Given a property index, retrieve the property name associated with it. | |
Property::Index | GetChildPropertyIndex (const std::string &name) const |
Given a child property name, retrieve the property index associated with it,. | |
const std::string & | GetChildPropertyName (Property::Index index) const |
Given a child property index, retrieve the property name associated with it. | |
Property::Type | GetChildPropertyType (Property::Index index) const |
Given a child property index, retrieve the property name associated with it. |
TypeInfo class for instantiation of registered types and introspection of their actions and signals.
See TypeRegistry for methods of type registration and TypeInfo retrieval.
typedef int32_t Dali::Property::Index |
A valid property index is zero or greater.
typedef int32_t Dali::Property::Index |
A valid property index is zero or greater.
Allows the creation of an empty TypeInfo handle.
Destructor.
This is non-virtual since derived Handle types must not contain data or virtual methods.
Dali::TypeInfo::TypeInfo | ( | const TypeInfo & | handle | ) |
This copy constructor is required for (smart) pointer semantics.
[in] | handle | A reference to the copied handle |
BaseHandle Dali::TypeInfo::CreateInstance | ( | ) | const |
Creates an object from this type.
size_t Dali::TypeInfo::GetActionCount | ( | ) | const |
Retrieves the number of actions for this type.
std::string Dali::TypeInfo::GetActionName | ( | size_t | index | ) |
Retrieves the action name for the index.
[in] | index | Index to lookup |
const std::string& Dali::TypeInfo::GetBaseName | ( | ) | const |
Retrieves the base type name for this type.
Property::Index Dali::TypeInfo::GetChildPropertyIndex | ( | const std::string & | name | ) | const |
Given a child property name, retrieve the property index associated with it,.
[in] | name | The name of the property at the given index, |
void Dali::TypeInfo::GetChildPropertyIndices | ( | Property::IndexContainer & | indices | ) | const |
Retrieves all the child property indices for this type.
[out] | indices | Container of property indices |
const std::string& Dali::TypeInfo::GetChildPropertyName | ( | Property::Index | index | ) | const |
Given a child property index, retrieve the property name associated with it.
[in] | index | The property index |
Property::Type Dali::TypeInfo::GetChildPropertyType | ( | Property::Index | index | ) | const |
Given a child property index, retrieve the property name associated with it.
[in] | index | The property index |
CreateFunction Dali::TypeInfo::GetCreator | ( | ) | const |
Retrieves the creator function for this type.
const std::string& Dali::TypeInfo::GetName | ( | ) | const |
Retrieves the type name for this type.
size_t Dali::TypeInfo::GetPropertyCount | ( | ) | const |
Retrieves the number of event side type registered properties for this type.
void Dali::TypeInfo::GetPropertyIndices | ( | Property::IndexContainer & | indices | ) | const |
Retrieves all the property indices for this type.
[out] | indices | Container of property indices |
const std::string& Dali::TypeInfo::GetPropertyName | ( | Property::Index | index | ) | const |
Given a property index, retrieve the property name associated with it.
[in] | index | The property index |
DaliException | If index is not valid. |
size_t Dali::TypeInfo::GetSignalCount | ( | ) | const |
Retrieves the number of signals for this type.
std::string Dali::TypeInfo::GetSignalName | ( | size_t | index | ) |
Retrieves the signal name for the index.
[in] | index | Index to lookup |