7 namespace FybDatabase {
15 Poco::Int32 timeStamp;
17 bool isSetTimeStamp() {
18 return (timeStamp != std::numeric_limits<Poco::Int32>::max());
25 return (ask != std::numeric_limits<double>::max());
32 return (bid != std::numeric_limits<double>::max());
39 return (last != std::numeric_limits<double>::max());
46 return (vol != std::numeric_limits<double>::max());
50 : timeStamp(std::numeric_limits<Poco::Int32>::max())
51 , ask(std::numeric_limits<double>::max())
52 , bid(std::numeric_limits<double>::max())
53 , last(std::numeric_limits<double>::max())
54 , vol(std::numeric_limits<double>::max())
64 Poco::Int32 timeStamp;
66 bool isSetTimeStamp() {
67 return (timeStamp != std::numeric_limits<Poco::Int32>::max());
74 return (ask != std::numeric_limits<double>::max());
81 return (bid != std::numeric_limits<double>::max());
88 return (last != std::numeric_limits<double>::max());
95 return (vol != std::numeric_limits<double>::max());
102 : timeStamp(std::numeric_limits<Poco::Int32>::max())
103 , ask(std::numeric_limits<double>::max())
104 , bid(std::numeric_limits<double>::max())
105 , last(std::numeric_limits<double>::max())
106 , vol(std::numeric_limits<double>::max())
107 , id(std::numeric_limits<Poco::Int32>::max())
126 void insertMultiple(std::vector<Ticker_Detailed::Record>& records);
128 void insertMultiple(std::vector<Ticker_Detailed::RecordWithId>& records);
130 void insertMultipleUnique(std::vector<Ticker_Detailed::Record>& records);
132 void deleteMultiple(std::vector<Ticker_Detailed::RecordWithId>& records);
140 std::size_t getAll(std::vector<Ticker_Detailed::RecordWithId>& records, std::string condition);
142 Poco::Data::Session* db;
144 std::string tableName;
154 Poco::Int32 timeStamp;
156 bool isSetTimeStamp() {
157 return (timeStamp != std::numeric_limits<Poco::Int32>::max());
164 return (btcBal != std::numeric_limits<double>::max());
171 return (sgdBal != std::numeric_limits<double>::max());
175 : timeStamp(std::numeric_limits<Poco::Int32>::max())
176 , btcBal(std::numeric_limits<double>::max())
177 , sgdBal(std::numeric_limits<double>::max())
187 Poco::Int32 timeStamp;
189 bool isSetTimeStamp() {
190 return (timeStamp != std::numeric_limits<Poco::Int32>::max());
197 return (btcBal != std::numeric_limits<double>::max());
204 return (sgdBal != std::numeric_limits<double>::max());
211 : timeStamp(std::numeric_limits<Poco::Int32>::max())
212 , btcBal(std::numeric_limits<double>::max())
213 , sgdBal(std::numeric_limits<double>::max())
214 , id(std::numeric_limits<Poco::Int32>::max())
233 void insertMultiple(std::vector<Account_Balance::Record>& records);
235 void insertMultiple(std::vector<Account_Balance::RecordWithId>& records);
237 void insertMultipleUnique(std::vector<Account_Balance::Record>& records);
239 void deleteMultiple(std::vector<Account_Balance::RecordWithId>& records);
247 std::size_t getAll(std::vector<Account_Balance::RecordWithId>& records, std::string condition);
249 Poco::Data::Session* db;
251 std::string tableName;
264 return (accNum !=
"Empty");
268 std::string btcAddress;
270 bool isSetBtcAddress() {
271 return (btcAddress !=
"Empty");
278 return (email !=
"Empty");
283 , btcAddress(
"Empty")
297 return (accNum !=
"Empty");
301 std::string btcAddress;
303 bool isSetBtcAddress() {
304 return (btcAddress !=
"Empty");
311 return (email !=
"Empty");
319 , btcAddress(
"Empty")
321 , id(std::numeric_limits<Poco::Int32>::max())
328 Account_Info(Poco::Data::Session* _db, std::string _suffix =
"");
340 void insertMultiple(std::vector<Account_Info::Record>& records);
342 void insertMultiple(std::vector<Account_Info::RecordWithId>& records);
344 void insertMultipleUnique(std::vector<Account_Info::Record>& records);
346 void deleteMultiple(std::vector<Account_Info::RecordWithId>& records);
354 std::size_t getAll(std::vector<Account_Info::RecordWithId>& records, std::string condition);
356 Poco::Data::Session* db;
358 std::string tableName;
371 return (tid != std::numeric_limits<Poco::Int32>::max());
378 return (amt != std::numeric_limits<double>::max());
385 return (price != std::numeric_limits<double>::max());
392 return (date != std::numeric_limits<Poco::Int32>::max());
396 : tid(std::numeric_limits<Poco::Int32>::max())
397 , amt(std::numeric_limits<double>::max())
398 , price(std::numeric_limits<double>::max())
399 , date(std::numeric_limits<Poco::Int32>::max())
412 return (tid != std::numeric_limits<Poco::Int32>::max());
419 return (amt != std::numeric_limits<double>::max());
426 return (price != std::numeric_limits<double>::max());
433 return (date != std::numeric_limits<Poco::Int32>::max());
440 : tid(std::numeric_limits<Poco::Int32>::max())
441 , amt(std::numeric_limits<double>::max())
442 , price(std::numeric_limits<double>::max())
443 , date(std::numeric_limits<Poco::Int32>::max())
444 , id(std::numeric_limits<Poco::Int32>::max())
451 Trade_History(Poco::Data::Session* _db, std::string _suffix =
"");
463 void insertMultiple(std::vector<Trade_History::Record>& records);
465 void insertMultiple(std::vector<Trade_History::RecordWithId>& records);
467 void insertMultipleUnique(std::vector<Trade_History::Record>& records);
469 void deleteMultiple(std::vector<Trade_History::RecordWithId>& records);
477 std::size_t getAll(std::vector<Trade_History::RecordWithId>& records, std::string condition);
479 Poco::Data::Session* db;
481 std::string tableName;
491 Poco::Int32 dateCreated;
493 bool isSetDateCreated() {
494 return (dateCreated != std::numeric_limits<Poco::Int32>::max());
498 Poco::Int32 dateRemoved;
500 bool isSetDateRemoved() {
501 return (dateRemoved != std::numeric_limits<Poco::Int32>::max());
508 return (price != std::numeric_limits<double>::max());
515 return (volume != std::numeric_limits<double>::max());
519 : dateCreated(std::numeric_limits<Poco::Int32>::max())
520 , dateRemoved(std::numeric_limits<Poco::Int32>::max())
521 , price(std::numeric_limits<double>::max())
522 , volume(std::numeric_limits<double>::max())
532 Poco::Int32 dateCreated;
534 bool isSetDateCreated() {
535 return (dateCreated != std::numeric_limits<Poco::Int32>::max());
539 Poco::Int32 dateRemoved;
541 bool isSetDateRemoved() {
542 return (dateRemoved != std::numeric_limits<Poco::Int32>::max());
549 return (price != std::numeric_limits<double>::max());
556 return (volume != std::numeric_limits<double>::max());
563 : dateCreated(std::numeric_limits<Poco::Int32>::max())
564 , dateRemoved(std::numeric_limits<Poco::Int32>::max())
565 , price(std::numeric_limits<double>::max())
566 , volume(std::numeric_limits<double>::max())
567 , id(std::numeric_limits<Poco::Int32>::max())
586 void insertMultiple(std::vector<Order_Book_Asks::Record>& records);
588 void insertMultiple(std::vector<Order_Book_Asks::RecordWithId>& records);
590 void insertMultipleUnique(std::vector<Order_Book_Asks::Record>& records);
592 void deleteMultiple(std::vector<Order_Book_Asks::RecordWithId>& records);
600 std::size_t getAll(std::vector<Order_Book_Asks::RecordWithId>& records, std::string condition);
602 Poco::Data::Session* db;
604 std::string tableName;
614 Poco::Int32 dateCreated;
616 bool isSetDateCreated() {
617 return (dateCreated != std::numeric_limits<Poco::Int32>::max());
621 Poco::Int32 dateRemoved;
623 bool isSetDateRemoved() {
624 return (dateRemoved != std::numeric_limits<Poco::Int32>::max());
631 return (price != std::numeric_limits<double>::max());
638 return (volume != std::numeric_limits<double>::max());
642 : dateCreated(std::numeric_limits<Poco::Int32>::max())
643 , dateRemoved(std::numeric_limits<Poco::Int32>::max())
644 , price(std::numeric_limits<double>::max())
645 , volume(std::numeric_limits<double>::max())
655 Poco::Int32 dateCreated;
657 bool isSetDateCreated() {
658 return (dateCreated != std::numeric_limits<Poco::Int32>::max());
662 Poco::Int32 dateRemoved;
664 bool isSetDateRemoved() {
665 return (dateRemoved != std::numeric_limits<Poco::Int32>::max());
672 return (price != std::numeric_limits<double>::max());
679 return (volume != std::numeric_limits<double>::max());
686 : dateCreated(std::numeric_limits<Poco::Int32>::max())
687 , dateRemoved(std::numeric_limits<Poco::Int32>::max())
688 , price(std::numeric_limits<double>::max())
689 , volume(std::numeric_limits<double>::max())
690 , id(std::numeric_limits<Poco::Int32>::max())
709 void insertMultiple(std::vector<Order_Book_Bids::Record>& records);
711 void insertMultiple(std::vector<Order_Book_Bids::RecordWithId>& records);
713 void insertMultipleUnique(std::vector<Order_Book_Bids::Record>& records);
715 void deleteMultiple(std::vector<Order_Book_Bids::RecordWithId>& records);
723 std::size_t getAll(std::vector<Order_Book_Bids::RecordWithId>& records, std::string condition);
725 Poco::Data::Session* db;
727 std::string tableName;
740 return (ticket != std::numeric_limits<Poco::Int32>::max());
747 return (amt != std::numeric_limits<double>::max());
754 return (price != std::numeric_limits<double>::max());
761 return (date != std::numeric_limits<Poco::Int32>::max());
765 : ticket(std::numeric_limits<Poco::Int32>::max())
766 , amt(std::numeric_limits<double>::max())
767 , price(std::numeric_limits<double>::max())
768 , date(std::numeric_limits<Poco::Int32>::max())
781 return (ticket != std::numeric_limits<Poco::Int32>::max());
788 return (amt != std::numeric_limits<double>::max());
795 return (price != std::numeric_limits<double>::max());
802 return (date != std::numeric_limits<Poco::Int32>::max());
809 : ticket(std::numeric_limits<Poco::Int32>::max())
810 , amt(std::numeric_limits<double>::max())
811 , price(std::numeric_limits<double>::max())
812 , date(std::numeric_limits<Poco::Int32>::max())
813 , id(std::numeric_limits<Poco::Int32>::max())
832 void insertMultiple(std::vector<My_Pending_Sell_Orders::Record>& records);
834 void insertMultiple(std::vector<My_Pending_Sell_Orders::RecordWithId>& records);
836 void insertMultipleUnique(std::vector<My_Pending_Sell_Orders::Record>& records);
838 void deleteMultiple(std::vector<My_Pending_Sell_Orders::RecordWithId>& records);
846 std::size_t getAll(std::vector<My_Pending_Sell_Orders::RecordWithId>& records, std::string condition);
848 Poco::Data::Session* db;
850 std::string tableName;
863 return (ticket != std::numeric_limits<Poco::Int32>::max());
870 return (amt != std::numeric_limits<double>::max());
877 return (price != std::numeric_limits<double>::max());
884 return (date != std::numeric_limits<Poco::Int32>::max());
888 : ticket(std::numeric_limits<Poco::Int32>::max())
889 , amt(std::numeric_limits<double>::max())
890 , price(std::numeric_limits<double>::max())
891 , date(std::numeric_limits<Poco::Int32>::max())
904 return (ticket != std::numeric_limits<Poco::Int32>::max());
911 return (amt != std::numeric_limits<double>::max());
918 return (price != std::numeric_limits<double>::max());
925 return (date != std::numeric_limits<Poco::Int32>::max());
932 : ticket(std::numeric_limits<Poco::Int32>::max())
933 , amt(std::numeric_limits<double>::max())
934 , price(std::numeric_limits<double>::max())
935 , date(std::numeric_limits<Poco::Int32>::max())
936 , id(std::numeric_limits<Poco::Int32>::max())
955 void insertMultiple(std::vector<My_Pending_Buy_Orders::Record>& records);
957 void insertMultiple(std::vector<My_Pending_Buy_Orders::RecordWithId>& records);
959 void insertMultipleUnique(std::vector<My_Pending_Buy_Orders::Record>& records);
961 void deleteMultiple(std::vector<My_Pending_Buy_Orders::RecordWithId>& records);
969 std::size_t getAll(std::vector<My_Pending_Buy_Orders::RecordWithId>& records, std::string condition);
971 Poco::Data::Session* db;
973 std::string tableName;
986 return (ticket != std::numeric_limits<Poco::Int32>::max());
990 Poco::Int32 dateCreated;
992 bool isSetDateCreated() {
993 return (dateCreated != std::numeric_limits<Poco::Int32>::max());
997 Poco::Int32 dateExecuted;
999 bool isSetDateExecuted() {
1000 return (dateExecuted != std::numeric_limits<Poco::Int32>::max());
1007 return (qty != std::numeric_limits<double>::max());
1014 return (price != std::numeric_limits<double>::max());
1020 bool isSetStatus() {
1021 return (status !=
"Empty");
1028 return (type !=
"Empty");
1032 : ticket(std::numeric_limits<Poco::Int32>::max())
1033 , dateCreated(std::numeric_limits<Poco::Int32>::max())
1034 , dateExecuted(std::numeric_limits<Poco::Int32>::max())
1035 , qty(std::numeric_limits<double>::max())
1036 , price(std::numeric_limits<double>::max())
1050 bool isSetTicket() {
1051 return (ticket != std::numeric_limits<Poco::Int32>::max());
1055 Poco::Int32 dateCreated;
1057 bool isSetDateCreated() {
1058 return (dateCreated != std::numeric_limits<Poco::Int32>::max());
1062 Poco::Int32 dateExecuted;
1064 bool isSetDateExecuted() {
1065 return (dateExecuted != std::numeric_limits<Poco::Int32>::max());
1072 return (qty != std::numeric_limits<double>::max());
1079 return (price != std::numeric_limits<double>::max());
1085 bool isSetStatus() {
1086 return (status !=
"Empty");
1093 return (type !=
"Empty");
1100 : ticket(std::numeric_limits<Poco::Int32>::max())
1101 , dateCreated(std::numeric_limits<Poco::Int32>::max())
1102 , dateExecuted(std::numeric_limits<Poco::Int32>::max())
1103 , qty(std::numeric_limits<double>::max())
1104 , price(std::numeric_limits<double>::max())
1107 , id(std::numeric_limits<Poco::Int32>::max())
1126 void insertMultiple(std::vector<My_Trade_History::Record>& records);
1128 void insertMultiple(std::vector<My_Trade_History::RecordWithId>& records);
1130 void insertMultipleUnique(std::vector<My_Trade_History::Record>& records);
1132 void deleteMultiple(std::vector<My_Trade_History::RecordWithId>& records);
1140 std::size_t getAll(std::vector<My_Trade_History::RecordWithId>& records, std::string condition);
1142 Poco::Data::Session* db;
1144 std::string tableName;
1148 class Tables :
public Poco::RefCountedObject {
1151 Tables(Poco::Data::Session* _db);
1159 Poco::Data::Session* db;
1161 Poco::AutoPtr<Ticker_Detailed> ticker_DetailedTable;
1163 Poco::AutoPtr<Account_Balance> account_BalanceTable;
1165 Poco::AutoPtr<Account_Info> account_InfoTable;
1167 Poco::AutoPtr<Trade_History> trade_HistoryTable;
1169 Poco::AutoPtr<Order_Book_Asks> order_Book_AsksTable;
1171 Poco::AutoPtr<Order_Book_Bids> order_Book_BidsTable;
1173 Poco::AutoPtr<My_Pending_Sell_Orders> my_Pending_Sell_OrdersTable;
1175 Poco::AutoPtr<My_Pending_Buy_Orders> my_Pending_Buy_OrdersTable;
1177 Poco::AutoPtr<My_Trade_History> my_Trade_HistoryTable;
1185 class Poco::Data::TypeHandler<
trader::FybDatabase::Ticker_Detailed::Record>
1188 static std::size_t size()
1195 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.timeStamp , pBinder, dir);
1196 Poco::Data::TypeHandler<double>::bind(pos++, record.ask , pBinder, dir);
1197 Poco::Data::TypeHandler<double>::bind(pos++, record.bid , pBinder, dir);
1198 Poco::Data::TypeHandler<double>::bind(pos++, record.last , pBinder, dir);
1199 Poco::Data::TypeHandler<double>::bind(pos++, record.vol , pBinder, dir);
1204 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.timeStamp, deflt.timeStamp, pExtr);
1205 Poco::Data::TypeHandler<double>::extract(pos++, record.ask, deflt.ask, pExtr);
1206 Poco::Data::TypeHandler<double>::extract(pos++, record.bid, deflt.bid, pExtr);
1207 Poco::Data::TypeHandler<double>::extract(pos++, record.last, deflt.last, pExtr);
1208 Poco::Data::TypeHandler<double>::extract(pos++, record.vol, deflt.vol, pExtr);
1213 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.timeStamp, pPrep);
1214 Poco::Data::TypeHandler<double>::prepare(pos++, record.ask, pPrep);
1215 Poco::Data::TypeHandler<double>::prepare(pos++, record.bid, pPrep);
1216 Poco::Data::TypeHandler<double>::prepare(pos++, record.last, pPrep);
1217 Poco::Data::TypeHandler<double>::prepare(pos++, record.vol, pPrep);
1223 class Poco::Data::TypeHandler<
trader::FybDatabase::Ticker_Detailed::RecordWithId>
1226 static std::size_t size()
1233 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.timeStamp , pBinder, dir);
1234 Poco::Data::TypeHandler<double>::bind(pos++, record.ask , pBinder, dir);
1235 Poco::Data::TypeHandler<double>::bind(pos++, record.bid , pBinder, dir);
1236 Poco::Data::TypeHandler<double>::bind(pos++, record.last , pBinder, dir);
1237 Poco::Data::TypeHandler<double>::bind(pos++, record.vol , pBinder, dir);
1238 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1243 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.timeStamp, deflt.timeStamp, pExtr);
1244 Poco::Data::TypeHandler<double>::extract(pos++, record.ask, deflt.ask, pExtr);
1245 Poco::Data::TypeHandler<double>::extract(pos++, record.bid, deflt.bid, pExtr);
1246 Poco::Data::TypeHandler<double>::extract(pos++, record.last, deflt.last, pExtr);
1247 Poco::Data::TypeHandler<double>::extract(pos++, record.vol, deflt.vol, pExtr);
1248 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1253 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.timeStamp, pPrep);
1254 Poco::Data::TypeHandler<double>::prepare(pos++, record.ask, pPrep);
1255 Poco::Data::TypeHandler<double>::prepare(pos++, record.bid, pPrep);
1256 Poco::Data::TypeHandler<double>::prepare(pos++, record.last, pPrep);
1257 Poco::Data::TypeHandler<double>::prepare(pos++, record.vol, pPrep);
1258 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1264 class Poco::Data::TypeHandler<
trader::FybDatabase::Account_Balance::Record>
1267 static std::size_t size()
1274 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.timeStamp , pBinder, dir);
1275 Poco::Data::TypeHandler<double>::bind(pos++, record.btcBal , pBinder, dir);
1276 Poco::Data::TypeHandler<double>::bind(pos++, record.sgdBal , pBinder, dir);
1281 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.timeStamp, deflt.timeStamp, pExtr);
1282 Poco::Data::TypeHandler<double>::extract(pos++, record.btcBal, deflt.btcBal, pExtr);
1283 Poco::Data::TypeHandler<double>::extract(pos++, record.sgdBal, deflt.sgdBal, pExtr);
1288 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.timeStamp, pPrep);
1289 Poco::Data::TypeHandler<double>::prepare(pos++, record.btcBal, pPrep);
1290 Poco::Data::TypeHandler<double>::prepare(pos++, record.sgdBal, pPrep);
1296 class Poco::Data::TypeHandler<
trader::FybDatabase::Account_Balance::RecordWithId>
1299 static std::size_t size()
1306 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.timeStamp , pBinder, dir);
1307 Poco::Data::TypeHandler<double>::bind(pos++, record.btcBal , pBinder, dir);
1308 Poco::Data::TypeHandler<double>::bind(pos++, record.sgdBal , pBinder, dir);
1309 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1314 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.timeStamp, deflt.timeStamp, pExtr);
1315 Poco::Data::TypeHandler<double>::extract(pos++, record.btcBal, deflt.btcBal, pExtr);
1316 Poco::Data::TypeHandler<double>::extract(pos++, record.sgdBal, deflt.sgdBal, pExtr);
1317 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1322 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.timeStamp, pPrep);
1323 Poco::Data::TypeHandler<double>::prepare(pos++, record.btcBal, pPrep);
1324 Poco::Data::TypeHandler<double>::prepare(pos++, record.sgdBal, pPrep);
1325 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1331 class Poco::Data::TypeHandler<
trader::FybDatabase::Account_Info::Record>
1334 static std::size_t size()
1341 Poco::Data::TypeHandler<std::string>::bind(pos++, record.accNum , pBinder, dir);
1342 Poco::Data::TypeHandler<std::string>::bind(pos++, record.btcAddress , pBinder, dir);
1343 Poco::Data::TypeHandler<std::string>::bind(pos++, record.email , pBinder, dir);
1348 Poco::Data::TypeHandler<std::string>::extract(pos++, record.accNum, deflt.accNum, pExtr);
1349 Poco::Data::TypeHandler<std::string>::extract(pos++, record.btcAddress, deflt.btcAddress, pExtr);
1350 Poco::Data::TypeHandler<std::string>::extract(pos++, record.email, deflt.email, pExtr);
1355 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.accNum, pPrep);
1356 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.btcAddress, pPrep);
1357 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.email, pPrep);
1363 class Poco::Data::TypeHandler<
trader::FybDatabase::Account_Info::RecordWithId>
1366 static std::size_t size()
1373 Poco::Data::TypeHandler<std::string>::bind(pos++, record.accNum , pBinder, dir);
1374 Poco::Data::TypeHandler<std::string>::bind(pos++, record.btcAddress , pBinder, dir);
1375 Poco::Data::TypeHandler<std::string>::bind(pos++, record.email , pBinder, dir);
1376 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1381 Poco::Data::TypeHandler<std::string>::extract(pos++, record.accNum, deflt.accNum, pExtr);
1382 Poco::Data::TypeHandler<std::string>::extract(pos++, record.btcAddress, deflt.btcAddress, pExtr);
1383 Poco::Data::TypeHandler<std::string>::extract(pos++, record.email, deflt.email, pExtr);
1384 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1389 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.accNum, pPrep);
1390 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.btcAddress, pPrep);
1391 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.email, pPrep);
1392 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1398 class Poco::Data::TypeHandler<
trader::FybDatabase::Trade_History::Record>
1401 static std::size_t size()
1408 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.tid , pBinder, dir);
1409 Poco::Data::TypeHandler<double>::bind(pos++, record.amt , pBinder, dir);
1410 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1411 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.date , pBinder, dir);
1416 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.tid, deflt.tid, pExtr);
1417 Poco::Data::TypeHandler<double>::extract(pos++, record.amt, deflt.amt, pExtr);
1418 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1419 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.date, deflt.date, pExtr);
1424 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.tid, pPrep);
1425 Poco::Data::TypeHandler<double>::prepare(pos++, record.amt, pPrep);
1426 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1427 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.date, pPrep);
1433 class Poco::Data::TypeHandler<
trader::FybDatabase::Trade_History::RecordWithId>
1436 static std::size_t size()
1443 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.tid , pBinder, dir);
1444 Poco::Data::TypeHandler<double>::bind(pos++, record.amt , pBinder, dir);
1445 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1446 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.date , pBinder, dir);
1447 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1452 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.tid, deflt.tid, pExtr);
1453 Poco::Data::TypeHandler<double>::extract(pos++, record.amt, deflt.amt, pExtr);
1454 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1455 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.date, deflt.date, pExtr);
1456 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1461 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.tid, pPrep);
1462 Poco::Data::TypeHandler<double>::prepare(pos++, record.amt, pPrep);
1463 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1464 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.date, pPrep);
1465 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1471 class Poco::Data::TypeHandler<
trader::FybDatabase::Order_Book_Asks::Record>
1474 static std::size_t size()
1481 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateCreated , pBinder, dir);
1482 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateRemoved , pBinder, dir);
1483 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1484 Poco::Data::TypeHandler<double>::bind(pos++, record.volume , pBinder, dir);
1489 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateCreated, deflt.dateCreated, pExtr);
1490 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateRemoved, deflt.dateRemoved, pExtr);
1491 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1492 Poco::Data::TypeHandler<double>::extract(pos++, record.volume, deflt.volume, pExtr);
1497 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateCreated, pPrep);
1498 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateRemoved, pPrep);
1499 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1500 Poco::Data::TypeHandler<double>::prepare(pos++, record.volume, pPrep);
1506 class Poco::Data::TypeHandler<
trader::FybDatabase::Order_Book_Asks::RecordWithId>
1509 static std::size_t size()
1516 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateCreated , pBinder, dir);
1517 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateRemoved , pBinder, dir);
1518 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1519 Poco::Data::TypeHandler<double>::bind(pos++, record.volume , pBinder, dir);
1520 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1525 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateCreated, deflt.dateCreated, pExtr);
1526 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateRemoved, deflt.dateRemoved, pExtr);
1527 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1528 Poco::Data::TypeHandler<double>::extract(pos++, record.volume, deflt.volume, pExtr);
1529 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1534 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateCreated, pPrep);
1535 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateRemoved, pPrep);
1536 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1537 Poco::Data::TypeHandler<double>::prepare(pos++, record.volume, pPrep);
1538 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1544 class Poco::Data::TypeHandler<
trader::FybDatabase::Order_Book_Bids::Record>
1547 static std::size_t size()
1554 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateCreated , pBinder, dir);
1555 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateRemoved , pBinder, dir);
1556 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1557 Poco::Data::TypeHandler<double>::bind(pos++, record.volume , pBinder, dir);
1562 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateCreated, deflt.dateCreated, pExtr);
1563 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateRemoved, deflt.dateRemoved, pExtr);
1564 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1565 Poco::Data::TypeHandler<double>::extract(pos++, record.volume, deflt.volume, pExtr);
1570 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateCreated, pPrep);
1571 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateRemoved, pPrep);
1572 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1573 Poco::Data::TypeHandler<double>::prepare(pos++, record.volume, pPrep);
1579 class Poco::Data::TypeHandler<
trader::FybDatabase::Order_Book_Bids::RecordWithId>
1582 static std::size_t size()
1589 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateCreated , pBinder, dir);
1590 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateRemoved , pBinder, dir);
1591 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1592 Poco::Data::TypeHandler<double>::bind(pos++, record.volume , pBinder, dir);
1593 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1598 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateCreated, deflt.dateCreated, pExtr);
1599 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateRemoved, deflt.dateRemoved, pExtr);
1600 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1601 Poco::Data::TypeHandler<double>::extract(pos++, record.volume, deflt.volume, pExtr);
1602 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1607 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateCreated, pPrep);
1608 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateRemoved, pPrep);
1609 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1610 Poco::Data::TypeHandler<double>::prepare(pos++, record.volume, pPrep);
1611 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1617 class Poco::Data::TypeHandler<
trader::FybDatabase::My_Pending_Sell_Orders::Record>
1620 static std::size_t size()
1627 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.ticket , pBinder, dir);
1628 Poco::Data::TypeHandler<double>::bind(pos++, record.amt , pBinder, dir);
1629 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1630 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.date , pBinder, dir);
1635 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.ticket, deflt.ticket, pExtr);
1636 Poco::Data::TypeHandler<double>::extract(pos++, record.amt, deflt.amt, pExtr);
1637 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1638 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.date, deflt.date, pExtr);
1643 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.ticket, pPrep);
1644 Poco::Data::TypeHandler<double>::prepare(pos++, record.amt, pPrep);
1645 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1646 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.date, pPrep);
1652 class Poco::Data::TypeHandler<
trader::FybDatabase::My_Pending_Sell_Orders::RecordWithId>
1655 static std::size_t size()
1662 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.ticket , pBinder, dir);
1663 Poco::Data::TypeHandler<double>::bind(pos++, record.amt , pBinder, dir);
1664 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1665 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.date , pBinder, dir);
1666 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1671 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.ticket, deflt.ticket, pExtr);
1672 Poco::Data::TypeHandler<double>::extract(pos++, record.amt, deflt.amt, pExtr);
1673 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1674 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.date, deflt.date, pExtr);
1675 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1680 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.ticket, pPrep);
1681 Poco::Data::TypeHandler<double>::prepare(pos++, record.amt, pPrep);
1682 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1683 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.date, pPrep);
1684 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1690 class Poco::Data::TypeHandler<
trader::FybDatabase::My_Pending_Buy_Orders::Record>
1693 static std::size_t size()
1700 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.ticket , pBinder, dir);
1701 Poco::Data::TypeHandler<double>::bind(pos++, record.amt , pBinder, dir);
1702 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1703 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.date , pBinder, dir);
1708 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.ticket, deflt.ticket, pExtr);
1709 Poco::Data::TypeHandler<double>::extract(pos++, record.amt, deflt.amt, pExtr);
1710 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1711 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.date, deflt.date, pExtr);
1716 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.ticket, pPrep);
1717 Poco::Data::TypeHandler<double>::prepare(pos++, record.amt, pPrep);
1718 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1719 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.date, pPrep);
1725 class Poco::Data::TypeHandler<
trader::FybDatabase::My_Pending_Buy_Orders::RecordWithId>
1728 static std::size_t size()
1735 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.ticket , pBinder, dir);
1736 Poco::Data::TypeHandler<double>::bind(pos++, record.amt , pBinder, dir);
1737 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1738 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.date , pBinder, dir);
1739 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1744 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.ticket, deflt.ticket, pExtr);
1745 Poco::Data::TypeHandler<double>::extract(pos++, record.amt, deflt.amt, pExtr);
1746 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1747 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.date, deflt.date, pExtr);
1748 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1753 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.ticket, pPrep);
1754 Poco::Data::TypeHandler<double>::prepare(pos++, record.amt, pPrep);
1755 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1756 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.date, pPrep);
1757 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
1763 class Poco::Data::TypeHandler<
trader::FybDatabase::My_Trade_History::Record>
1766 static std::size_t size()
1773 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.ticket , pBinder, dir);
1774 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateCreated , pBinder, dir);
1775 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateExecuted , pBinder, dir);
1776 Poco::Data::TypeHandler<double>::bind(pos++, record.qty , pBinder, dir);
1777 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1778 Poco::Data::TypeHandler<std::string>::bind(pos++, record.status , pBinder, dir);
1779 Poco::Data::TypeHandler<std::string>::bind(pos++, record.type , pBinder, dir);
1784 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.ticket, deflt.ticket, pExtr);
1785 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateCreated, deflt.dateCreated, pExtr);
1786 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateExecuted, deflt.dateExecuted, pExtr);
1787 Poco::Data::TypeHandler<double>::extract(pos++, record.qty, deflt.qty, pExtr);
1788 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1789 Poco::Data::TypeHandler<std::string>::extract(pos++, record.status, deflt.status, pExtr);
1790 Poco::Data::TypeHandler<std::string>::extract(pos++, record.type, deflt.type, pExtr);
1795 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.ticket, pPrep);
1796 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateCreated, pPrep);
1797 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateExecuted, pPrep);
1798 Poco::Data::TypeHandler<double>::prepare(pos++, record.qty, pPrep);
1799 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1800 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.status, pPrep);
1801 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.type, pPrep);
1807 class Poco::Data::TypeHandler<
trader::FybDatabase::My_Trade_History::RecordWithId>
1810 static std::size_t size()
1817 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.ticket , pBinder, dir);
1818 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateCreated , pBinder, dir);
1819 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.dateExecuted , pBinder, dir);
1820 Poco::Data::TypeHandler<double>::bind(pos++, record.qty , pBinder, dir);
1821 Poco::Data::TypeHandler<double>::bind(pos++, record.price , pBinder, dir);
1822 Poco::Data::TypeHandler<std::string>::bind(pos++, record.status , pBinder, dir);
1823 Poco::Data::TypeHandler<std::string>::bind(pos++, record.type , pBinder, dir);
1824 Poco::Data::TypeHandler<Poco::Int32>::bind(pos++, record.id, pBinder, dir);
1829 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.ticket, deflt.ticket, pExtr);
1830 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateCreated, deflt.dateCreated, pExtr);
1831 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.dateExecuted, deflt.dateExecuted, pExtr);
1832 Poco::Data::TypeHandler<double>::extract(pos++, record.qty, deflt.qty, pExtr);
1833 Poco::Data::TypeHandler<double>::extract(pos++, record.price, deflt.price, pExtr);
1834 Poco::Data::TypeHandler<std::string>::extract(pos++, record.status, deflt.status, pExtr);
1835 Poco::Data::TypeHandler<std::string>::extract(pos++, record.type, deflt.type, pExtr);
1836 Poco::Data::TypeHandler<Poco::Int32>::extract(pos++, record.id, deflt.id, pExtr);
1841 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.ticket, pPrep);
1842 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateCreated, pPrep);
1843 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.dateExecuted, pPrep);
1844 Poco::Data::TypeHandler<double>::prepare(pos++, record.qty, pPrep);
1845 Poco::Data::TypeHandler<double>::prepare(pos++, record.price, pPrep);
1846 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.status, pPrep);
1847 Poco::Data::TypeHandler<std::string>::prepare(pos++, record.type, pPrep);
1848 Poco::Data::TypeHandler<Poco::Int32>::prepare(pos++, record.id, pPrep);
Definition: fybdatabase.h:365
Definition: fybdatabase.h:1045
Definition: fybdatabase.h:529
Definition: fybdatabase.h:184
Definition: fybdatabase.h:1148
Definition: fybdatabase.h:898
Definition: fybdatabase.h:151
Definition: fybdatabase.h:652
Definition: fybdatabase.h:731
Definition: fybdatabase.h:12
Definition: fybdatabase.h:362
Definition: fybdatabase.h:608
Definition: fybdatabase.h:9
Definition: fybdatabase.h:488
Definition: fybdatabase.h:255
Definition: fybdatabase.h:980
Definition: fybdatabase.h:775
Definition: fybdatabase.h:485
Definition: fybdatabase.h:854
Definition: fybdatabase.h:291
Definition: fybdatabase.h:734
Definition: fybdatabase.h:258
Definition: fybdatabase.h:61
Definition: fybdatabase.h:977
Definition: fybdatabase.h:611
Definition: fybdatabase.h:406
Definition: fybdatabase.h:148
Definition: fybdatabase.h:857