Implements vector-like container over built-in array of fixed size being referenced.
More...
|
| VectorOverArray () |
| Initializes instance with no items.
|
|
| VectorOverArray (Item *items, Size capacity) |
| Initializes instance over given fixed-size array.
|
|
| ~VectorOverArray () |
| Does nothing.
|
|
bool | empty () const |
| Indicates whether instance has no items.
|
|
Size | size () const |
| Number of items.
|
|
Size | capacity () const |
| Total capacity of container.
|
|
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 (Index index) const |
| Accesses to item by index checking access bounds. More...
|
|
Item & | extrudingInsert (Index index) |
| Inserts new item to given position. More...
|
|
void | eraseAt (Index index) |
| Erases item at given position.
|
|
void | resize (Size newSize, const Item &item=Item()) |
| Resizes container. More...
|
|
void | size (Size newSize) |
| Changes size of container without deleting or constructing items (suitable for POD items). More...
|
|
template<typename ItemType, typename SizeType>
class OnixS::CME::MarketData::VectorOverArray< ItemType, SizeType >
Implements vector-like container over built-in array of fixed size being referenced.