|
|
| ArrayRef () |
| | Initializes instance referencing to nothing.
|
| |
|
| ArrayRef (Item *const items, const Size itemsCount) |
| | Initializes instance referencing to given data.
|
| |
|
template<typename OtherItem , typename OtherSize > |
| | ArrayRef (const ArrayRef< OtherItem, OtherSize > &other) |
| | Initializes instance as copy of other one.
|
| |
|
template<typename OtherItem , typename OtherSize > |
| ArrayRef & | operator= (const ArrayRef< OtherItem, OtherSize > &other) |
| | Re-initializes instance as copy of the other one.
|
| |
|
| ~ArrayRef () |
| | Destructs the instance.
|
| |
|
bool | empty () const |
| | Indicates whether array has no items.
|
| |
|
Size | size () const |
| | Number of items being referenced.
|
| |
|
Item * | items () const |
| | Gets raw pointer to items.
|
| |
|
Iterator | begin () const |
| | Iterator referencing to the first item.
|
| |
|
Iterator | end () const |
| | Iterator referencing to the item behind the last item.
|
| |
|
Item & | operator[] (Index index) const |
| | Accesses to item by index.
|
| |
|
Item & | at (const Index index) const |
| | Accesses to item by index checking access bounds.
|
| |
|
void | reset (Item *const items=0, const Size size=0) |
| | Resets array with new items and size.
|
| |
template<typename ItemType, typename SizeType>
class OnixS::ICE::iMpact::MarketData::ArrayRef< ItemType, SizeType >
Represents reference to segment of built-in array of items.