diff --git a/CM2005 Object Oriented Programming/Topic 4/4.4.5/CSVReader.h b/CM2005 Object Oriented Programming/Topic 4/4.4.5/CSVReader.h index 9b5c103..bed9717 100644 --- a/CM2005 Object Oriented Programming/Topic 4/4.4.5/CSVReader.h +++ b/CM2005 Object Oriented Programming/Topic 4/4.4.5/CSVReader.h @@ -6,12 +6,16 @@ class CSVReader { - public: - CSVReader(); - static std::vector readCSV(std::string csvFile); - static std::vector tokenise(std::string csvLine, char separator); +public: + CSVReader(); + static std::vector readCSV(std::string csvFile); + static std::vector 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 strings); - -}; +private: + static OrderBookEntry stringsToOBE(std::vector strings); +};