configFile.h 440 B

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