Tizen Native API
4.0
|
A Array of property values. More...
Public Member Functions | |
Array () | |
Default constructor. | |
Array (const Array &other) | |
Copy 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. | |
Friends | |
std::ostream & | operator<< (std::ostream &stream, const Property::Array &array) |
Output to stream. |
A Array of property values.
Default constructor.
Dali::Property::Array::Array | ( | const Array & | other | ) |
Non-virtual destructor.
Property::Array& Dali::Property::Array::Add | ( | const Value & | value | ) |
Add an element to the array.
[in] | value | The value to add to the end of the array |
SizeType Dali::Property::Array::Capacity | ( | ) |
Retrieves the capacity of the array.
void Dali::Property::Array::Clear | ( | ) |
Clears the array.
SizeType Dali::Property::Array::Count | ( | ) | const |
Retrieves the number of elements in the array.
bool Dali::Property::Array::Empty | ( | ) | const |
Returns whether the array is empty.
true
if empty, false
otherwise const Value& Dali::Property::Array::GetElementAt | ( | SizeType | index | ) | const |
Const access an element.
[in] | index | The element index to access. No bounds checking is performed |
Value& Dali::Property::Array::GetElementAt | ( | SizeType | index | ) |
Accesses an element.
[in] | index | The element index to access. No bounds checking is performed |
Assignment Operator.
[in] | other | The array to copy from |
const Value& Dali::Property::Array::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::Array::operator[] | ( | SizeType | index | ) |
Operator to access an element.
[in] | index | The element index to access. No bounds checking is performed |
void Dali::Property::Array::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::Array::Reserve | ( | SizeType | size | ) |
Increases the capacity of the array.
[in] | size | The size to reserve |
void Dali::Property::Array::Resize | ( | SizeType | size | ) |
Resizes to size.
[in] | size | The size to resize |
SizeType Dali::Property::Array::Size | ( | ) | const |
Retrieves the number of elements in the array.
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 |