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