]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/tabbed_values.hxx
Update doxgen config and some comments.
[simgear.git] / simgear / misc / tabbed_values.hxx
index 895e62b88e7ddfa448a192ba86aa689807e2cbe7..a95cf7d1f93579d77f294060fc39d2c2ecd70a93 100644 (file)
@@ -1,13 +1,35 @@
+// tabbed_values.hxx -- parse tab separated strings into fields
+//
+// Written by James Turner, started February 2003.
+//
+// Copyright (C) 2003 James Turner
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Library General Public
+// License as published by the Free Software Foundation; either
+// version 2 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Library General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program; if not, write to the Free Software
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+//
+// $Id$
+
 #ifndef SG_TABBED_VALUES_HXX
 #define SG_TABBED_VALUES_HXX
 
+#include <simgear/compiler.h>
+
 #include <vector>
 #include <string>
 
-#include "simgear/compiler.h"
-
-SG_USING_STD(vector);
-SG_USING_STD(string);
+using std::vector;
+using std::string;
 
 class SGTabbedValues
 {
@@ -23,8 +45,6 @@ public:
        long getLongAt(const unsigned int) const;
 private:
        const char* fieldAt(const unsigned int offset) const;
-
-       const char* _line;
        
        /** this is first character of each field, if the field is empty
        it will be the tab character. It is lazily built as needed, so