ConfigFile.hh
Go to the documentation of this file.
00001 
00005 #ifndef P_CONFIG_FILE_HH
00006 #define P_CONFIG_FILE_HH
00007 
00008 #include <string>
00009 #include <fstream>
00010 #include <blort/Recognizer3D/PNamespace.hh>
00011 
00012 namespace P
00013 {
00014 
00015 class ConfigFile
00016 {
00017 private:
00018   fstream file;
00019   int line_cnt;
00020 
00021 private:
00022   void RemoveEOL(string &str);
00023   bool IsComment(string &str);
00024 public:
00025   ConfigFile(const string &name);
00026   ~ConfigFile();
00027   bool GetLine(string &str);
00028   int GetLineCnt() {return line_cnt;}
00029 };
00030 
00032 bool GetWord(const string &str, string &word, string::size_type &pos);
00033 
00034 }
00035 
00036 #endif
00037 


blort
Author(s): Michael Zillich, Thomas Mörwald, Johann Prankl, Andreas Richtsfeld, Bence Magyar (ROS version)
autogenerated on Thu Jan 2 2014 11:38:25