Tizen Native API
5.5
|
A Array of property values. More...
Public Types | |
enum | Type |
The type of key. More... | |
enum | Type |
Enumeration for the property types supported. More... | |
enum | AccessMode |
Enumeration for the access mode for custom properties. More... | |
typedef int32_t | Index |
A valid property index is zero or greater. | |
typedef Dali::Vector< Index > | IndexContainer |
A vector of property indices. | |
Public Member Functions | |
Array () | |
Default constructor. | |
Array (const std::initializer_list< Value > &values) | |
Constructor from initializer_list. | |
Array (const Array &other) | |
Copy constructor. | |
Array (Array &&other) | |
Move constructor. | |
~Array () | |
Non-virtual destructor. | |
SizeType | Size () const |
Retrieves the number of elements in the array. | |
SizeType | Count () const |
Retrieves the number of elements in the array. | |
bool | Empty () const |
Returns whether the array is empty. | |
void | Clear () |
Clears the array. | |
void | Reserve (SizeType size) |
Increases the capacity of the array. | |
void | Resize (SizeType size) |
Resizes to size. | |
SizeType | Capacity () |
Retrieves the capacity of the array. | |
void | PushBack (const Value &value) |
Adds an element to the array. | |
Property::Array & | Add (const Value &value) |
Add an element to the array. | |
const Value & | GetElementAt (SizeType index) const |
Const access an element. | |
Value & | GetElementAt (SizeType index) |
Accesses an element. | |
const Value & | operator[] (SizeType index) const |
Const operator to access an element. | |
Value & | operator[] (SizeType index) |
Operator to access an element. | |
Array & | operator= (const Array &other) |
Assignment operator. | |
Array & | operator= (Array &&other) |
Move assignment operator. | |
Key (const std::string &key) | |
Constructor. | |
Key (const char *key) | |
Constructor. | |
Key (Property::Index key) | |
Constructor. | |
bool | operator== (const std::string &rhs) |
The equality operator. | |
bool | operator== (const char *key) |
Constructor. | |
bool | operator== (Property::Index rhs) |
The equality operator. | |
bool | operator== (const Key &rhs) |
The equality operator. | |
bool | operator!= (const std::string &rhs) |
The inequality operator. | |
bool | operator!= (const char *rhs) |
The inequality operator. | |
bool | operator!= (Property::Index rhs) |
The inequality operator. | |
bool | operator!= (const Key &rhs) |
The inequality operator. | |
Map () | |
Default constructor. | |
Map (const std::initializer_list< KeyValuePair > &values) | |
Constructor from initializer_list. | |
Map (const Map &other) | |
Copy constructor. | |
Map (Map &&other) | |
Move constructor. | |
~Map () | |
Non-virtual destructor. | |
SizeType | Count () const |
Retrieves the number of elements in the map. | |
bool | Empty () const |
Returns whether the map is empty. | |
void | Insert (const char *key, const Value &value) |
Inserts the key-value pair in the Map, with the key type as string. | |
void | Insert (const std::string &key, const Value &value) |
Inserts the key-value pair in the Map, with the key type as string. | |
void | Insert (Property::Index key, const Value &value) |
Inserts the key-value pair in the Map, with the key type as index. | |
Property::Map & | Add (const char *key, const Value &value) |
Inserts the key-value pair in the Map, with the key type as string. | |
Property::Map & | Add (const std::string &key, const Value &value) |
Inserts the key-value pair in the Map, with the key type as string. | |
Property::Map & | Add (Property::Index key, const Value &value) |
Inserts the key-value pair in the Map, with the key type as index. | |
Value & | GetValue (SizeType position) const |
Retrieves the value at the specified position. | |
const std::string & | GetKey (SizeType position) const DALI_DEPRECATED_API |
Retrieves the key at the specified position. | |
Key | GetKeyAt (SizeType position) const |
Retrieve the key at the specified position. | |
StringValuePair & | GetPair (SizeType position) const DALI_DEPRECATED_API |
Retrieves the key & the value at the specified position. | |
KeyValuePair | GetKeyValue (SizeType position) const |
Retrieve the key & the value at the specified position. | |
Value * | Find (const char *key) const |
Finds the value for the specified key if it exists. | |
Value * | Find (const std::string &key) const |
Finds the value for the specified key if it exists. | |
Value * | Find (Property::Index key) const |
Finds the value for the specified key if it exists. | |
Value * | Find (Property::Index indexKey, const std::string &stringKey) const |
Finds the value for the specified keys if either exist. | |
Value * | Find (const std::string &key, Property::Type type) const |
Finds the value for the specified key if it exists and its type is type. | |
Value * | Find (Property::Index key, Property::Type type) const |
Finds the value for the specified key if it exists and its type is type. | |
void | Clear () |
Clears the map. | |
void | Merge (const Map &from) |
Merges values from the map 'from' to the current. | |
const Value & | operator[] (const std::string &key) const |
Const operator to access element with the specified string key. | |
Value & | operator[] (const std::string &key) |
Operator to access the element with the specified string key. | |
const Value & | operator[] (Property::Index key) const |
Const operator to access element with the specified index key. | |
Value & | operator[] (Property::Index key) |
Operator to access the element with the specified index key. | |
Map & | operator= (const Map &other) |
Assignment operator. | |
Map & | operator= (Map &&other) |
Move assignment operator. | |
Value () | |
Default constructor. | |
Value (bool boolValue) | |
Creates a boolean property value. | |
Value (int32_t integerValue) | |
Creates an integer property value. | |
Value (float floatValue) | |
Creates a float property value. | |
Value (const Vector2 &vectorValue) | |
Creates a Vector2 property value. | |
Value (const Vector3 &vectorValue) | |
Creates a Vector3 property value. | |
Value (const Vector4 &vectorValue) | |
Creates a Vector4 property value. | |
Value (const Matrix3 &matrixValue) | |
Creates a Matrix3 property value. | |
Value (const Matrix &matrixValue) | |
Creates a Matrix property value. | |
Value (const Rect< int32_t > &vectorValue) | |
Creates a Vector4 property value. | |
Value (const AngleAxis &angleAxis) | |
Creates an orientation property value. | |
Value (const Quaternion &quaternion) | |
Creates an orientation property value. | |
Value (const std::string &stringValue) | |
Creates an string property value. | |
Value (const char *stringValue) | |
Creates a string property value. | |
Value (Property::Array &arrayValue) | |
Creates an array property value. | |
Value (Property::Array &&arrayValue) | |
Creates an array property value. | |
Value (Property::Map &mapValue) | |
Creates a map property value. | |
Value (Property::Map &&mapValue) | |
Creates a map property value. | |
Value (const std::initializer_list< KeyValuePair > &values) | |
Create a map property value from an initializer_list. | |
Value (const Extents &extentsValue) | |
Creates an extents property value. | |
template<typename T , typename std::enable_if< std::is_enum< T >::value >::type * = nullptr> | |
Value (T enumValue) | |
Creates an enumeration property value. | |
Value (Type type) | |
Explicitly sets a type and initialize it. | |
Value (const Value &value) | |
Copy constructor. | |
Value (Value &&value) | |
Move constructor. | |
Value & | operator= (const Value &value) |
Assigns a property value. | |
Value & | operator= (Value &&value) |
Move assignment operator. | |
~Value () | |
Non-virtual destructor. | |
Type | GetType () const |
Queries the type of this property value. | |
template<typename T , typename std::enable_if< !std::is_enum< T >::value >::type * = nullptr> | |
T | Get () const |
Retrieves a specific value. | |
template<typename T , typename std::enable_if< std::is_enum< T >::value >::type * = nullptr> | |
T | Get () const |
Retrieves a specific value. | |
template<typename T , typename std::enable_if< std::is_enum< T >::value >::type * = nullptr> | |
bool | Get (T &enumValue) const |
Retrieves an enumeration value. | |
bool | Get (bool &boolValue) const |
Retrieves a boolean value. | |
bool | Get (float &floatValue) const |
Retrieves a floating-point value. | |
bool | Get (int32_t &integerValue) const |
Retrieves an integer value. | |
bool | Get (Rect< int32_t > &rect) const |
Retrieves an integer rectangle. | |
bool | Get (Vector2 &vectorValue) const |
Retrieves a vector value. | |
bool | Get (Vector3 &vectorValue) const |
Retrieves a vector value. | |
bool | Get (Vector4 &vectorValue) const |
Retrieves a vector value. | |
bool | Get (Matrix3 &matrixValue) const |
Retrieves a matrix3 value. | |
bool | Get (Matrix &matrixValue) const |
Retrieves a matrix value. | |
bool | Get (AngleAxis &angleAxisValue) const |
Retrieves an angle-axis value. | |
bool | Get (Quaternion &quaternionValue) const |
Retrieves a quaternion value. | |
bool | Get (std::string &stringValue) const |
Retrieves an string property value. | |
bool | Get (Property::Array &arrayValue) const |
Retrieves an array property value. | |
bool | Get (Property::Map &mapValue) const |
Retrieves an map property value. | |
Property::Array * | GetArray () const |
Retrieves the Array API of the Property::Value without copying the contents of the map. | |
Property::Map * | GetMap () const |
Retrieves the Map API of the Property::Value without copying the contents of the map. | |
bool | Get (Extents &extentsValue) const |
Retrieves an extents. | |
Property (Handle &object, Property::Index propertyIndex) | |
Creates a Property instance. | |
Property (Handle &object, Property::Index propertyIndex, int32_t componentIndex) | |
Creates a Property instance. | |
Property (Handle &object, const std::string &propertyName) | |
Creates a Property instance. | |
Property (Handle &object, const std::string &propertyName, int32_t componentIndex) | |
Creates a Property instance. | |
~Property () | |
Non-virtual destructor; Property is not intended as a base class. | |
Public Attributes | |
enum Dali::Property::Type | type |
The type of the key. | |
Property::Index | indexKey |
The index key. | |
std::string | stringKey |
The string key. | |
Handle & | object |
A valid handle to the target object. | |
Index | propertyIndex |
The index of a property provided by object. | |
int32_t | componentIndex |
Index of a property sub component, for use with Vector2, Vector3 and Vector4, -1 if using main property. | |
Static Public Attributes | |
static const int32_t | INVALID_INDEX |
static const int32_t | INVALID_KEY |
static const int32_t | INVALID_COMPONENT_INDEX |
Friends | |
DALI_CORE_API std::ostream & | operator<< (std::ostream &stream, const Property::Array &array) |
Output to stream. | |
DALI_CORE_API std::ostream & | operator<< (std::ostream &stream, const Property::Map &map) |
Output to stream. | |
DALI_CORE_API std::ostream & | operator<< (std::ostream &ouputStream, const Property::Value &value) |
Output to stream. |
A Array of property values.
An object + property pair.
A value-type representing a property value.
A Map of property values, the key type could be String or Property::Index.
A key type which can be either a std::string or a Property::Index.
typedef int32_t Dali::Property::Index |
A valid property index is zero or greater.
typedef Dali::Vector< Index > Dali::Property::IndexContainer |
A vector of property indices.
Enumeration for the access mode for custom properties.
enum Dali::Property::Type |
The type of key.
INDEX |
The key is a Property::Index. |
STRING |
The key is a string. A string type.
|
NONE |
No type.
|
BOOLEAN |
A boolean type.
|
FLOAT |
A float type.
|
INTEGER |
An integer type.
|
VECTOR2 |
a vector array of size=2 with float precision
|
VECTOR3 |
a vector array of size=3 with float precision
|
VECTOR4 |
a vector array of size=4 with float precision
|
MATRIX3 |
a 3x3 matrix
|
MATRIX |
a 4x4 matrix
|
RECTANGLE |
an integer array of size=4
|
ROTATION |
either a quaternion or an axis angle rotation
|
STRING |
The key is a string. A string type.
|
ARRAY |
an array of Property::Value
|
MAP |
a string key to Property:value mapping
|
EXTENTS |
a collection of 4 x uint16_t
|
enum Dali::Property::Type |
Enumeration for the property types supported.
INDEX |
The key is a Property::Index. |
STRING |
The key is a string. A string type.
|
NONE |
No type.
|
BOOLEAN |
A boolean type.
|
FLOAT |
A float type.
|
INTEGER |
An integer type.
|
VECTOR2 |
a vector array of size=2 with float precision
|
VECTOR3 |
a vector array of size=3 with float precision
|
VECTOR4 |
a vector array of size=4 with float precision
|
MATRIX3 |
a 3x3 matrix
|
MATRIX |
a 4x4 matrix
|
RECTANGLE |
an integer array of size=4
|
ROTATION |
either a quaternion or an axis angle rotation
|
STRING |
The key is a string. A string type.
|
ARRAY |
an array of Property::Value
|
MAP |
a string key to Property:value mapping
|
EXTENTS |
a collection of 4 x uint16_t
|
Non-virtual destructor.
Non-virtual destructor.
Non-virtual destructor.
This class is not a base class.
Dali::Property::Property | ( | Handle & | object, |
Property::Index | propertyIndex | ||
) |
Creates a Property instance.
[in] | object | A valid handle to the target object |
[in] | propertyIndex | The index of a property |
Dali::Property::Property | ( | Handle & | object, |
Property::Index | propertyIndex, | ||
int32_t | componentIndex | ||
) |
Dali::Property::Property | ( | Handle & | object, |
const std::string & | propertyName | ||
) |
Dali::Property::Property | ( | Handle & | object, |
const std::string & | propertyName, | ||
int32_t | componentIndex | ||
) |
Creates a Property instance.
[in] | object | A valid handle to the target object |
[in] | propertyName | The property name |
[in] | componentIndex | Index to a sub component of a property, for use with Vector2, Vector3 and Vector4. -1 for main property (default is -1) |
Non-virtual destructor; Property is not intended as a base class.
Property::Map& Dali::Property::Add | ( | const char * | key, |
const Value & | value | ||
) |
Inserts the key-value pair in the Map, with the key type as string.
Does not check for duplicates
key | to insert |
value | to insert |
Property::Array& Dali::Property::Add | ( | const Value & | value | ) |
Add an element to the array.
[in] | value | The value to add to the end of the array |
Property::Map& Dali::Property::Add | ( | const std::string & | key, |
const Value & | value | ||
) |
Inserts the key-value pair in the Map, with the key type as string.
Does not check for duplicates
key | to insert |
value | to insert |
Property::Map& Dali::Property::Add | ( | Property::Index | key, |
const Value & | value | ||
) |
Inserts the key-value pair in the Map, with the key type as index.
Does not check for duplicates
key | to insert |
value | to insert |
Default constructor.
Dali::Property::Array | ( | const std::initializer_list< Value > & | values | ) |
Constructor from initializer_list.
[in] | values | An initializer_list of values |
Dali::Property::Array | ( | const Array & | other | ) |
Copy constructor.
[in] | other | The Array to copy from |
Dali::Property::Array | ( | Array && | other | ) |
Move constructor.
A move constructor enables the resources owned by an r-value object to be moved into an l-value without copying.
[in] | other | The Array to move from |
SizeType Dali::Property::Capacity | ( | ) |
Retrieves the capacity of the array.
void Dali::Property::Clear | ( | ) |
Clears the array.
void Dali::Property::Clear | ( | ) |
Clears the map.
SizeType Dali::Property::Count | ( | ) | const |
Retrieves the number of elements in the map.
SizeType Dali::Property::Count | ( | ) | const |
Retrieves the number of elements in the array.
bool Dali::Property::Empty | ( | ) | const |
Returns whether the map is empty.
true
if empty, false
otherwise bool Dali::Property::Empty | ( | ) | const |
Returns whether the array is empty.
true
if empty, false
otherwise Value* Dali::Property::Find | ( | const char * | key | ) | const |
Finds the value for the specified key if it exists.
[in] | key | The key to find |
Value* Dali::Property::Find | ( | const std::string & | key | ) | const |
Finds the value for the specified key if it exists.
[in] | key | The key to find |
Value* Dali::Property::Find | ( | Property::Index | key | ) | const |
Finds the value for the specified key if it exists.
[in] | key | The key to find |
Value* Dali::Property::Find | ( | Property::Index | indexKey, |
const std::string & | stringKey | ||
) | const |
Finds the value for the specified keys if either exist.
Will search for the index key first.
[in] | indexKey | The index key to find |
[in] | stringKey | The string key to find |
Value* Dali::Property::Find | ( | const std::string & | key, |
Property::Type | type | ||
) | const |
Finds the value for the specified key if it exists and its type is type.
[in] | key | The key to find |
[in] | type | The type to check |
Value* Dali::Property::Find | ( | Property::Index | key, |
Property::Type | type | ||
) | const |
Finds the value for the specified key if it exists and its type is type.
[in] | key | The key to find |
[in] | type | The type to check |
T Dali::Property::Get | ( | ) | const |
Retrieves a specific value.
Works on a best-effort approach; if value type is different returns a default value of the type.
T Dali::Property::Get | ( | ) | const |
Retrieves a specific value.
Works on a best-effort approach; if value type is different returns a default value of the type. Specialization for enumeration values
bool Dali::Property::Get | ( | T & | enumValue | ) | const |
Retrieves an enumeration value.
[out] | enumValue | On return, an enumeration value |
true
if the value is successfully retrieved, false
if the type is different bool Dali::Property::Get | ( | bool & | boolValue | ) | const |
Retrieves a boolean value.
[out] | boolValue | On return, a boolean value |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | float & | floatValue | ) | const |
Retrieves a floating-point value.
[out] | floatValue | On return, a floating-point value |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | int32_t & | integerValue | ) | const |
Retrieves an integer value.
[out] | integerValue | On return, an integer value |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | Rect< int32_t > & | rect | ) | const |
Retrieves an integer rectangle.
[out] | rect | On return, an integer rectangle |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | Vector2 & | vectorValue | ) | const |
bool Dali::Property::Get | ( | Vector3 & | vectorValue | ) | const |
bool Dali::Property::Get | ( | Vector4 & | vectorValue | ) | const |
bool Dali::Property::Get | ( | Matrix3 & | matrixValue | ) | const |
bool Dali::Property::Get | ( | Matrix & | matrixValue | ) | const |
bool Dali::Property::Get | ( | AngleAxis & | angleAxisValue | ) | const |
bool Dali::Property::Get | ( | Quaternion & | quaternionValue | ) | const |
Retrieves a quaternion value.
[out] | quaternionValue | On return, a quaternion value |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | std::string & | stringValue | ) | const |
Retrieves an string property value.
[out] | stringValue | A string |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | Property::Array & | arrayValue | ) | const |
Retrieves an array property value.
[out] | arrayValue | The array as a vector Property Values |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | Property::Map & | mapValue | ) | const |
Retrieves an map property value.
[out] | mapValue | The map as vector of string and Property Value pairs |
true
if the value is successfully retrieved, false
if the type is not convertible bool Dali::Property::Get | ( | Extents & | extentsValue | ) | const |
Property::Array* Dali::Property::GetArray | ( | ) | const |
Retrieves the Array API of the Property::Value without copying the contents of the map.
const Value& Dali::Property::GetElementAt | ( | SizeType | index | ) | const |
Const access an element.
[in] | index | The element index to access. No bounds checking is performed |
Value& Dali::Property::GetElementAt | ( | SizeType | index | ) |
Accesses an element.
[in] | index | The element index to access. No bounds checking is performed |
const std::string& Dali::Property::GetKey | ( | SizeType | position | ) | const |
Retrieves the key at the specified position.
DEPRECATED_1_1.39 Position based retrieval is no longer supported after extending the key type to both Index and String.
[in] | position | The specified position |
Key Dali::Property::GetKeyAt | ( | SizeType | position | ) | const |
Retrieve the key at the specified position.
[in] | position | The specified position |
KeyValuePair Dali::Property::GetKeyValue | ( | SizeType | position | ) | const |
Retrieve the key & the value at the specified position.
[in] | position | The specified position |
Property::Map* Dali::Property::GetMap | ( | ) | const |
Retrieves the Map API of the Property::Value without copying the contents of the map.
StringValuePair& Dali::Property::GetPair | ( | SizeType | position | ) | const |
Retrieves the key & the value at the specified position.
DEPRECATED_1_1.39 Position based retrieval is no longer supported after extending the key type to both Index and String.
[in] | position | The specified position |
Type Dali::Property::GetType | ( | ) | const |
Queries the type of this property value.
Value& Dali::Property::GetValue | ( | SizeType | position | ) | const |
Retrieves the value at the specified position.
[in] | position | The specified position |
void Dali::Property::Insert | ( | const char * | key, |
const Value & | value | ||
) |
Inserts the key-value pair in the Map, with the key type as string.
Does not check for duplicates.
[in] | key | The key to insert |
[in] | value | The value to insert |
void Dali::Property::Insert | ( | const std::string & | key, |
const Value & | value | ||
) |
Inserts the key-value pair in the Map, with the key type as string.
Does not check for duplicates.
[in] | key | The key to insert |
[in] | value | The value to insert |
void Dali::Property::Insert | ( | Property::Index | key, |
const Value & | value | ||
) |
Inserts the key-value pair in the Map, with the key type as index.
Does not check for duplicates.
[in] | key | The key to insert |
[in] | value | The value to insert |
Dali::Property::Key | ( | const std::string & | key | ) |
Constructor.
[in] | key | The string key |
Dali::Property::Key | ( | const char * | key | ) |
Constructor.
[in] | key | The string key as a const char * |
Constructor.
[in] | key | The index key |
Default constructor.
Dali::Property::Map | ( | const std::initializer_list< KeyValuePair > & | values | ) |
Constructor from initializer_list.
[in] | values | An initializer_list of pairs of index and value. |
Dali::Property::Map | ( | const Map & | other | ) |
Copy constructor.
[in] | other | The Map to copy from |
Dali::Property::Map | ( | Map && | other | ) |
Move constructor.
[in] | other | The Map to move from |
void Dali::Property::Merge | ( | const Map & | from | ) |
Merges values from the map 'from' to the current.
Any values in 'from' will overwrite the values in the current map.
[in] | from | The map to merge from |
bool Dali::Property::operator!= | ( | const std::string & | rhs | ) |
The inequality operator.
[in] | rhs | A string key to compare against. |
bool Dali::Property::operator!= | ( | const char * | rhs | ) |
The inequality operator.
[in] | rhs | A const char* key to compare against. |
bool Dali::Property::operator!= | ( | Property::Index | rhs | ) |
The inequality operator.
[in] | rhs | An index key to compare against. |
bool Dali::Property::operator!= | ( | const Key & | rhs | ) |
The inequality operator.
[in] | rhs | A key to compare against. |
Assignment operator.
[in] | other | The array to copy from |
Move assignment operator.
[in] | other | The array to copy from |
Assigns a property value.
[in] | value | The property value to assign from |
Move assignment operator.
[in] | value | The property value to move from |
Assignment operator.
[in] | other | The map to copy from |
Move assignment operator.
[in] | other | The map to move from |
bool Dali::Property::operator== | ( | const std::string & | rhs | ) |
The equality operator.
[in] | rhs | A string key to compare against. |
bool Dali::Property::operator== | ( | const char * | key | ) |
Constructor.
[in] | key | The string key as a const char * |
bool Dali::Property::operator== | ( | Property::Index | rhs | ) |
The equality operator.
[in] | rhs | An index key to compare against. |
bool Dali::Property::operator== | ( | const Key & | rhs | ) |
The equality operator.
[in] | rhs | A key to compare against. |
const Value& Dali::Property::operator[] | ( | SizeType | index | ) | const |
Const operator to access an element.
[in] | index | The element index to access. No bounds checking is performed |
Value& Dali::Property::operator[] | ( | SizeType | index | ) |
Operator to access an element.
[in] | index | The element index to access. No bounds checking is performed |
const Value& Dali::Property::operator[] | ( | const std::string & | key | ) | const |
Const operator to access element with the specified string key.
[in] | key | The key whose value to access |
Value& Dali::Property::operator[] | ( | const std::string & | key | ) |
Operator to access the element with the specified string key.
[in] | key | The key whose value to access |
const Value& Dali::Property::operator[] | ( | Property::Index | key | ) | const |
Const operator to access element with the specified index key.
[in] | key | The key whose value to access |
Value& Dali::Property::operator[] | ( | Property::Index | key | ) |
Operator to access the element with the specified index key.
[in] | key | The key whose value to access |
void Dali::Property::PushBack | ( | const Value & | value | ) |
Adds an element to the array.
[in] | value | The value to add to the end of the array |
void Dali::Property::Reserve | ( | SizeType | size | ) |
Increases the capacity of the array.
[in] | size | The size to reserve |
void Dali::Property::Resize | ( | SizeType | size | ) |
Resizes to size.
[in] | size | The size to resize |
SizeType Dali::Property::Size | ( | ) | const |
Retrieves the number of elements in the array.
Default constructor.
This creates a property with type Property::NONE.
Dali::Property::Value | ( | bool | boolValue | ) |
Creates a boolean property value.
[in] | boolValue | A boolean value |
Dali::Property::Value | ( | int32_t | integerValue | ) |
Creates an integer property value.
[in] | integerValue | An integer value |
Dali::Property::Value | ( | float | floatValue | ) |
Creates a float property value.
[in] | floatValue | A floating-point value |
Dali::Property::Value | ( | const Vector2 & | vectorValue | ) |
Creates a Vector2 property value.
[in] | vectorValue | A vector of 2 floating-point values |
Dali::Property::Value | ( | const Vector3 & | vectorValue | ) |
Creates a Vector3 property value.
[in] | vectorValue | A vector of 3 floating-point values |
Dali::Property::Value | ( | const Vector4 & | vectorValue | ) |
Creates a Vector4 property value.
[in] | vectorValue | A vector of 4 floating-point values |
Dali::Property::Value | ( | const Matrix3 & | matrixValue | ) |
Creates a Matrix3 property value.
[in] | matrixValue | A matrix of 3x3 floating-point values |
Dali::Property::Value | ( | const Matrix & | matrixValue | ) |
Creates a Matrix property value.
[in] | matrixValue | A matrix of 4x4 floating-point values |
Dali::Property::Value | ( | const Rect< int32_t > & | vectorValue | ) |
Creates a Vector4 property value.
[in] | vectorValue | A vector of 4 integer values |
Dali::Property::Value | ( | const AngleAxis & | angleAxis | ) |
Creates an orientation property value.
[in] | angleAxis | An angle-axis representing the rotation |
Dali::Property::Value | ( | const Quaternion & | quaternion | ) |
Creates an orientation property value.
[in] | quaternion | A quaternion representing the rotation |
Dali::Property::Value | ( | const std::string & | stringValue | ) |
Creates an string property value.
[in] | stringValue | A string |
Dali::Property::Value | ( | const char * | stringValue | ) |
Creates a string property value.
[in] | stringValue | A string |
Dali::Property::Value | ( | Property::Array & | arrayValue | ) |
Creates an array property value.
[in] | arrayValue | An array |
Dali::Property::Value | ( | Property::Array && | arrayValue | ) |
Creates an array property value.
[in] | arrayValue | An r-value array |
Dali::Property::Value | ( | Property::Map & | mapValue | ) |
Creates a map property value.
[in] | mapValue | A map |
Dali::Property::Value | ( | Property::Map && | mapValue | ) |
Creates a map property value.
[in] | mapValue | An r-value map |
Dali::Property::Value | ( | const std::initializer_list< KeyValuePair > & | values | ) |
Create a map property value from an initializer_list.
[in] | values | An initializer_list of pairs of index and value. |
Dali::Property::Value | ( | const Extents & | extentsValue | ) |
Creates an extents property value.
[in] | extentsValue | A collection of 4 uint16_t values |
Dali::Property::Value | ( | T | enumValue | ) |
Creates an enumeration property value.
[in] | enumValue | An enumeration value |
Dali::Property::Value | ( | Type | type | ) | [explicit] |
Explicitly sets a type and initialize it.
[in] | type | The property value type |
Dali::Property::Value | ( | const Value & | value | ) |
Copy constructor.
[in] | value | The property value to copy |
Dali::Property::Value | ( | Value && | value | ) |
Move constructor.
A move constructor enables the resources owned by an rvalue object to be moved into an lvalue without copying.
[in] | value | The property value to move from |
DALI_CORE_API std::ostream& operator<< | ( | std::ostream & | stream, |
const Property::Array & | array | ||
) | [friend] |
Output to stream.
[in] | stream | The output stream operator |
[in] | array | The array to insert |
DALI_CORE_API std::ostream& operator<< | ( | std::ostream & | stream, |
const Property::Map & | map | ||
) | [friend] |
Output to stream.
[in] | stream | The output stream operator |
[in] | map | The map to insert |
DALI_CORE_API std::ostream& operator<< | ( | std::ostream & | ouputStream, |
const Property::Value & | value | ||
) | [friend] |
Output to stream.
[in] | ouputStream | The output stream operator |
[in] | value | The value to insert |
const int32_t Dali::Property::INVALID_COMPONENT_INDEX [static] |
-1 is not a valid property index
const int32_t Dali::Property::INVALID_INDEX [static] |
-1 is not a valid property index
const int32_t Dali::Property::INVALID_KEY [static] |
-1 is not a valid property key