namespace Dali
{
+/**
+ * @addtogroup dali_core_object
+ * @{
+ */
namespace Internal DALI_INTERNAL
{
class DALI_IMPORT_API TypeRegistry : public BaseHandle
{
public:
- typedef std::vector<std::string> NameContainer; ///< Container of type names
-
/**
* @brief Get Type Registry handle.
*
TypeInfo GetTypeInfo( const std::type_info& registerType );
/**
- * @brief Get type names.
+ * @brief Get type name count.
*
- * @return list of known types by name
+ * @return The count
*/
- NameContainer GetTypeNames() const;
+ size_t GetTypeNameCount() const;
+
+ /**
+ * @brief Get type names by index.
+ *
+ * @return The type name or an empty string when index is not valid
+ */
+ std::string GetTypeName(size_t index) const;
public: // Not intended for application developers
AnimatablePropertyComponentRegistration( TypeRegistration& registered, const std::string& name, Property::Index index, Property::Index baseIndex, unsigned int componentIndex );
};
+/**
+ * @}
+ */
} // namespace Dali
#endif // header