| Tizen Native API
    4.0
    | 
Dali::Property::Key Struct Reference
  A key type which can be either a std::string or a Property::Index. More...
| Public Types | |
| enum | Type | 
| The type of key.  More... | |
| Public Member Functions | |
| Key (const std::string &key) | |
| Constructor. | |
| Key (Property::Index key) | |
| Constructor. | |
| bool | operator== (const std::string &rhs) | 
| The equality operator. | |
| 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!= (Property::Index rhs) | 
| The inequality operator. | |
| bool | operator!= (const Key &rhs) | 
| The inequality operator. | |
| Public Attributes | |
| enum Dali::Property::Key::Type | type | 
| The type of the key. | |
| Property::Index | indexKey | 
| The index key. | |
| std::string | stringKey | 
| The string key. | |
Detailed Description
A key type which can be either a std::string or a Property::Index.
- Since:
- 4.0, DALi version 1.2.7
Member Enumeration Documentation
The type of key.
- Since:
- 4.0, DALi version 1.2.7
- Enumerator:
- INDEX - The key is a Property::Index. - STRING - The key is a string. 
Constructor & Destructor Documentation
| Dali::Property::Key::Key | ( | const std::string & | key | ) |  [explicit] | 
Constructor.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] key The string key 
| Dali::Property::Key::Key | ( | Property::Index | key | ) |  [explicit] | 
Constructor.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] key The index key 
Member Function Documentation
| bool Dali::Property::Key::operator!= | ( | const std::string & | rhs | ) | 
The inequality operator.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] rhs A string key to compare against. 
- Returns:
- true if the key is not equal or not a string key
| bool Dali::Property::Key::operator!= | ( | Property::Index | rhs | ) | 
The inequality operator.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] rhs An index key to compare against. 
- Returns:
- true if the key is not equal, or not an index key
| bool Dali::Property::Key::operator!= | ( | const Key & | rhs | ) | 
The inequality operator.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] rhs A key to compare against. 
- Returns:
- true if the keys are not of the same type or are not equal
| bool Dali::Property::Key::operator== | ( | const std::string & | rhs | ) | 
The equality operator.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] rhs A string key to compare against. 
- Returns:
- true if the key compares, or false if it isn't equal or of the wrong type
| bool Dali::Property::Key::operator== | ( | Property::Index | rhs | ) | 
The equality operator.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] rhs An index key to compare against. 
- Returns:
- true if the key compares, or false if it isn't equal or of the wrong type
| bool Dali::Property::Key::operator== | ( | const Key & | rhs | ) | 
The equality operator.
- Since:
- 4.0, DALi version 1.2.7
- Parameters:
- 
  [in] rhs A key to compare against. 
- Returns:
- true if the keys are of the same type and have the same value