![]() |
Trading System API
3.0
Library for Simulating and Deploying Trading and Investment Strategies
|
Table iterator. Supports forward iteration only. More...
#include <TSADBTable.h>
Public Member Functions | |
iterator (const iterator &other) | |
Copy constructor. More... | |
~iterator (void) | |
Destructor. | |
void | advance (void) |
Increments the cursor to the next record. | |
bool | operator!= (const iterator &rhs) const |
Comparison. Returns true if rhs is not equal to self. More... | |
db_record * | operator* (void) |
void | operator++ (int) |
Increments the cursor to the next record. | |
db_record * | operator-> (void) |
Dereference operator. More... | |
void | operator= (const iterator &other) |
Assigment operator. More... | |
bool | operator== (const iterator &rhs) const |
Comparison. Returns true if rhs is equal to self. More... | |
const variant | operator[] (size_t position) const |
Subscript operator. Returns the value at the given column position. More... | |
const date_time & | timestamp (void) const |
Returns the timestamp of the record on which the iterator is positioned. More... | |
Table iterator. Supports forward iteration only.
tsa::fast::table::iterator::iterator | ( | const iterator & | other | ) |
Copy constructor.
other | The other iterator. |
bool tsa::fast::table::iterator::operator!= | ( | const iterator & | rhs | ) | const |
Comparison. Returns true if rhs is not equal to self.
rhs | The right hand side iterator. |
db_record * tsa::fast::table::iterator::operator-> | ( | void | ) |
Dereference operator.
void tsa::fast::table::iterator::operator= | ( | const iterator & | other | ) |
Assigment operator.
other | The other iterator. |
bool tsa::fast::table::iterator::operator== | ( | const iterator & | rhs | ) | const |
Comparison. Returns true if rhs is equal to self.
rhs | The right hand side iterator. |
const variant tsa::fast::table::iterator::operator[] | ( | size_t | position | ) | const |
Subscript operator. Returns the value at the given column position.
position | The position. |