Add second version of stringsToOBE that takes separate strings
This commit is contained in:
@ -6,12 +6,16 @@
|
|||||||
|
|
||||||
class CSVReader
|
class CSVReader
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CSVReader();
|
CSVReader();
|
||||||
static std::vector<OrderBookEntry> readCSV(std::string csvFile);
|
static std::vector<OrderBookEntry> readCSV(std::string csvFile);
|
||||||
static std::vector<std::string> tokenise(std::string csvLine, char separator);
|
static std::vector<std::string> tokenise(std::string csvLine, char separator);
|
||||||
|
static OrderBookEntry stringsToOBE(std::string product,
|
||||||
|
std::string price,
|
||||||
|
std::string amount,
|
||||||
|
std::string timestamp,
|
||||||
|
OrderBookType orderType);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static OrderBookEntry stringsToOBE(std::vector<std::string> strings);
|
static OrderBookEntry stringsToOBE(std::vector<std::string> strings);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user