35 #ifndef I_CSV_Header_h
36 #define I_CSV_Header_h 1
44 #include "CSV_Field.h"
48 std::map<std::string, CSV_Field*>* _hdr;
49 std::map<int, std::string>* _index2field;
54 bool populate(std::vector<std::string>* headerinfo)
const;
56 void getFieldList(std::vector<std::string> &list);
58 const std::string getFieldType(
const std::string& fieldName);
61 CSV_Field * getField(
const std::string& fieldName);
63 virtual void dump(std::ostream &strm)
const;
66 #endif // I_CSV_Header_h