Tizen Native API
4.0
|
A support class for managing ranges of items. More...
Public Member Functions | |
ItemRange (unsigned int beginItem, unsigned int endItem) | |
Creates a range of item identifiers. | |
ItemRange (const ItemRange ©) | |
Copy Constructor. | |
ItemRange & | operator= (const ItemRange &range) |
Assignment operator. | |
bool | Within (unsigned int itemId) |
Tests whether an item is within the range. | |
ItemRange | Intersection (const ItemRange &second) |
Creates the intersection of two ranges. | |
Public Attributes | |
unsigned int | begin |
The start of the range. | |
unsigned int | end |
The end of the range. |
A support class for managing ranges of items.
Dali::Toolkit::ItemRange::ItemRange | ( | unsigned int | beginItem, |
unsigned int | endItem | ||
) |
Creates a range of item identifiers.
[in] | beginItem | The first item within the range |
[in] | endItem | The past-the-end item |
Dali::Toolkit::ItemRange::ItemRange | ( | const ItemRange & | copy | ) |
ItemRange Dali::Toolkit::ItemRange::Intersection | ( | const ItemRange & | second | ) |
Creates the intersection of two ranges.
[in] | second | The second range |
Assignment operator.
[in] | range | The Range to assign from |
bool Dali::Toolkit::ItemRange::Within | ( | unsigned int | itemId | ) |
Tests whether an item is within the range.
[in] | itemId | The item identifier |