EmaVector class provides template vector implementation. More...
Public Member Functions | |
Constructor | |
EmaVector (UInt32 capacity=0) | |
More... | |
Copy Constructor | |
EmaVector (const EmaVector< T > &other) | |
More... | |
Assignment Operator | |
EmaVector< T > & | operator= (const EmaVector< T > &other) |
More... | |
Destructor | |
virtual | ~EmaVector () |
More... | |
Accessors | |
bool | empty () const |
More... | |
UInt32 | size () const |
More... | |
UInt32 | capacity () const |
More... | |
const T & | operator[] (UInt32 index) const |
More... | |
T & | operator[] (UInt32 index) |
More... | |
Int64 | getPositionOf (const T &value) const |
More... | |
bool | operator== (const EmaVector< T > &other) const |
More... | |
Operations | |
void | clear () |
More... | |
void | push_back (const T &entry) |
More... | |
bool | removePosition (UInt32 pos) |
More... | |
bool | removeValue (const T &value) |
More... | |
Definition at line 29 of file EmaVector.h.
refinitiv::ema::access::EmaVector< T >::EmaVector | ( | UInt32 | capacity = 0 | ) |
default constructor
Definition at line 160 of file EmaVector.h.
refinitiv::ema::access::EmaVector< T >::EmaVector | ( | const EmaVector< T > & | other | ) |
copy constructor
Definition at line 171 of file EmaVector.h.
|
virtual |
destructor
Definition at line 234 of file EmaVector.h.
UInt32 refinitiv::ema::access::EmaVector< T >::capacity |
method to obtain current capacity of the vector
Definition at line 290 of file EmaVector.h.
void refinitiv::ema::access::EmaVector< T >::clear |
clear the vector
Definition at line 242 of file EmaVector.h.
bool refinitiv::ema::access::EmaVector< T >::empty |
method to check if the vector is empty
Definition at line 367 of file EmaVector.h.
Int64 refinitiv::ema::access::EmaVector< T >::getPositionOf | ( | const T & | value | ) | const |
returns position of the first encountered element on the vector that matches passed in value
value | - value of the element to be found |
Definition at line 320 of file EmaVector.h.
EmaVector< T > & refinitiv::ema::access::EmaVector< T >::operator= | ( | const EmaVector< T > & | other | ) |
assignment operator
Definition at line 189 of file EmaVector.h.
bool refinitiv::ema::access::EmaVector< T >::operator== | ( | const EmaVector< T > & | other | ) | const |
comparison operator for the entire list
Definition at line 221 of file EmaVector.h.
T & refinitiv::ema::access::EmaVector< T >::operator[] | ( | UInt32 | index | ) |
index operator
Definition at line 296 of file EmaVector.h.
const T & refinitiv::ema::access::EmaVector< T >::operator[] | ( | UInt32 | index | ) | const |
index operator
Definition at line 308 of file EmaVector.h.
void refinitiv::ema::access::EmaVector< T >::push_back | ( | const T & | entry | ) |
method to push new entries on to the back of the vector
Definition at line 248 of file EmaVector.h.
bool refinitiv::ema::access::EmaVector< T >::removePosition | ( | UInt32 | pos | ) |
Removes position specified element from the vector
pos | position of the element to be removed |
Definition at line 337 of file EmaVector.h.
bool refinitiv::ema::access::EmaVector< T >::removeValue | ( | const T & | value | ) |
Removes value specified element from the vector
value | - value of the element to be removed |
Definition at line 353 of file EmaVector.h.
UInt32 refinitiv::ema::access::EmaVector< T >::size |
method to obtain current size of the vector
Definition at line 284 of file EmaVector.h.
![]() |
![]() |
|