Tizen Native API
4.0
|
An object + property pair. More...
Classes | |
class | Array |
A Array of property values. More... | |
struct | Key |
A key type which can be either a std::string or a Property::Index. More... | |
class | Map |
A Map of property values, the key type could be String or Property::Index. More... | |
class | Value |
A value-type representing a property value. More... | |
Public Types | |
enum | Type |
Enumeration for the property types supported. More... | |
enum | AccessMode |
Enumeration for the access mode for custom properties. More... | |
typedef int | Index |
A valid property index is zero or greater. | |
typedef Dali::Vector< Index > | IndexContainer |
A vector of property indices. | |
Public Member Functions | |
Property (Handle &object, Property::Index propertyIndex) | |
Creates a Property instance. | |
Property (Handle &object, Property::Index propertyIndex, int componentIndex) | |
Creates a Property instance. | |
Property (Handle &object, const std::string &propertyName) | |
Creates a Property instance. | |
Property (Handle &object, const std::string &propertyName, int componentIndex) | |
Creates a Property instance. | |
~Property () | |
Non-virtual destructor; Property is not intended as a base class. | |
Public Attributes | |
Handle & | object |
A valid handle to the target object. | |
Index | propertyIndex |
The index of a property provided by object. | |
int | componentIndex |
Index of a property sub component, for use with Vector2, Vector3 and Vector4, -1 if using main property. | |
Static Public Attributes | |
static const int | INVALID_INDEX |
static const int | INVALID_KEY |
static const int | INVALID_COMPONENT_INDEX |
An object + property pair.
typedef int 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 |
Enumeration for the property types supported.
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 |
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
|
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, | ||
int | componentIndex | ||
) |
Dali::Property::Property | ( | Handle & | object, |
const std::string & | propertyName | ||
) |
Dali::Property::Property | ( | Handle & | object, |
const std::string & | propertyName, | ||
int | 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.
const int Dali::Property::INVALID_COMPONENT_INDEX [static] |
-1 is not a valid property index
const int Dali::Property::INVALID_INDEX [static] |
-1 is not a valid property index
const int Dali::Property::INVALID_KEY [static] |
-1 is not a valid property key