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


blort
Author(s): Thomas Mörwald , Michael Zillich , Andreas Richtsfeld , Johann Prankl , Markus Vincze , Bence Magyar
autogenerated on Wed Aug 26 2015 15:24:12