[dali_1.1.4] Merge branch 'devel/master'
[platform/core/uifw/dali-core.git] / dali / public-api / object / type-registry.h
index 2155cb5..e4a0338 100644 (file)
 
 namespace Dali
 {
+/**
+ * @addtogroup dali_core_object
+ * @{
+ */
 
 namespace Internal DALI_INTERNAL
 {
@@ -91,8 +95,6 @@ class TypeRegistry;
 class DALI_IMPORT_API TypeRegistry : public BaseHandle
 {
 public:
-  typedef std::vector<std::string> NameContainer; ///< Container of type names
-
   /**
    * @brief Get Type Registry handle.
    *
@@ -142,11 +144,18 @@ public:
   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
 
@@ -330,6 +339,9 @@ public:
   AnimatablePropertyComponentRegistration( TypeRegistration& registered, const std::string& name, Property::Index index, Property::Index baseIndex, unsigned int componentIndex );
 };
 
+/**
+ * @}
+ */
 } // namespace Dali
 
 #endif // header