trader
v0.1a
A framework to build trading applications
|
Classes | |
struct | Record |
struct | RecordWithId |
Public Member Functions | |
Api_Cost (Poco::Data::Session *_db, std::string _suffix="") | |
void | init () |
void | clear () |
void | insert (Api_Cost::Record &record) |
void | insertOnce (Api_Cost::Record &record) |
void | insertMultiple (std::vector< Api_Cost::Record > &records) |
void | insertMultiple (std::vector< Api_Cost::RecordWithId > &records) |
void | insertMultipleUnique (std::vector< Api_Cost::Record > &records) |
void | deleteMultiple (std::vector< Api_Cost::RecordWithId > &records) |
void | insertAndDeleteUnchanged (Api_Cost::Record &record) |
void | insertUnique (Api_Cost::Record &record) |
void | getLatest (Api_Cost::RecordWithId &rec) |
std::size_t | getAll (std::vector< Api_Cost::RecordWithId > &records, std::string condition) |
Public Attributes | |
Poco::Data::Session * | db |
std::string | tableName |