namespace
{
-typedef std::vector< Property::StringValuePair > Container;
+typedef std::vector< StringValuePair > Container;
}; // unnamed namespace
struct Property::Map::Impl
return mImpl->mContainer[ position ].first;
}
-Property::StringValuePair& Property::Map::GetPair( unsigned int position ) const
+StringValuePair& Property::Map::GetPair( unsigned int position ) const
{
DALI_ASSERT_ALWAYS( position < Count() && "position out-of-bounds" );
namespace Dali
{
+typedef std::pair<std::string, Property::Value> StringValuePair;
/**
* @brief A Map of property values.
class Matrix;
/**
- * @brief Container of Dali::Property::Value.
- */
-typedef std::vector<Property::Value> PropertyValueContainer;
-typedef PropertyValueContainer::iterator PropertyValueIter; ///< Iterator for Dali::PropertyValueContainer
-typedef PropertyValueContainer::const_iterator PropertyValueConstIter; ///< Const iterator for Dali::PropertyValueContainer
-
-/**
* @brief A value-type representing a property value.
*/
class DALI_IMPORT_API Property::Value
class Value;
/**
- * @brief A pair of property values.
- */
- typedef std::pair<std::string, Value> StringValuePair;
-
- /**
* @brief A Map of property values.
*/
class Map;
class TypeInfo;
};
+typedef std::vector<Property::Value> PropertyValueContainer;
+typedef PropertyValueContainer::iterator PropertyValueIter; ///< Iterator for Dali::PropertyValueContainer
+typedef PropertyValueContainer::const_iterator PropertyValueConstIter; ///< Const iterator for Dali::PropertyValueContainer
+
/**
* @brief TypeInfo class for instantiation of registered types and introspection of
* their actions and signals.
public:
typedef BaseHandle (*CreateFunction)(); ///< Function signature for creating an instance of the associated object type.
- typedef bool (*ActionFunction)(BaseObject*, const std::string&, const std::vector<Property::Value>&); ///< Function signature for creating scriptable actions
+ typedef bool (*ActionFunction)(BaseObject*, const std::string&, const PropertyValueContainer&); ///< Function signature for creating scriptable actions
/**
* @brief Connects a callback function with the object's signals.
// Now set the properties, or create children
for ( unsigned int i = 0, mapCount = map.Count(); i < mapCount; ++i )
{
- const Property::StringValuePair& pair( map.GetPair( i ) );
+ const StringValuePair& pair( map.GetPair( i ) );
const std::string& key( pair.first );
if ( key == "type" )
{