1 #ifndef SG_TABBED_VALUES_HXX
2 #define SG_TABBED_VALUES_HXX
4 #include <simgear/compiler.h>
15 SGTabbedValues(const char* line);
17 string operator[](const unsigned int) const;
19 bool isValueAt(const unsigned int) const;
21 double getDoubleAt(const unsigned int) const;
22 char getCharAt(const unsigned int) const;
23 long getLongAt(const unsigned int) const;
25 const char* fieldAt(const unsigned int offset) const;
29 /** this is first character of each field, if the field is empty
30 it will be the tab character. It is lazily built as needed, so
31 if only the first field is accessed (which is a common case) we
32 don't iterative over the whole line. */
33 mutable vector<char*> _fields;