configFile.h 491 B

12345678910111213141516171819
  1. #include <string>
  2. #include <vector>
  3. static const char *TAGCONFIGFILE = "configFile";
  4. class ConfigFile {
  5. public:
  6. ConfigFile(std::string filePath);
  7. ~ConfigFile();
  8. bool isNewParagraph(std::string input);
  9. bool GetNextParagraph(std::string& aktparamgraph, bool &disabled, bool &eof);
  10. bool getNextLine(std::string* rt, bool &disabled, bool &eof);
  11. std::vector<std::string> ZerlegeZeile(std::string input, std::string delimiter = " =, \t");
  12. private:
  13. FILE* pFile;
  14. };