Dependencies:   EthernetNetIf TextLCD mbed HTTPClient

Revision:
0:d73b14dd8351
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CSVParser.h	Wed Jun 01 00:49:54 2011 +0000
@@ -0,0 +1,28 @@
+#include "mbed.h"
+#include <string>
+#include <vector>
+
+struct StockData;
+
+class CSVParser
+{
+public:
+    static std::vector<std::pair<std::string,std::string> > fields; // field id, description pair vector.
+    static StockData* parseResult(const char *data);    
+    
+    static const int nFields = 7;
+};
+
+struct StockData
+{
+private:
+    char buffer[256];
+    
+public:
+    char *field[CSVParser::nFields];
+    
+    friend class CSVParser;
+};
+
+
+