KvParseParameter.hpp 784 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-12-25
  6. * Changed: 2023-02-06
  7. *
  8. * */
  9. #ifndef LS_STD_KV_PARSE_DATA_HPP
  10. #define LS_STD_KV_PARSE_DATA_HPP
  11. #include <ls-std/os/dynamic-goal.hpp>
  12. #include <string>
  13. namespace ls::std::io
  14. {
  15. class LS_STD_DYNAMIC_GOAL KvParseParameter
  16. {
  17. public:
  18. KvParseParameter();
  19. ~KvParseParameter();
  20. [[nodiscard]] ::std::string::size_type getIndex() const;
  21. [[nodiscard]] ::std::string getLine();
  22. void setIndex(const ::std::string::size_type &_index);
  23. void setLine(const ::std::string &_line);
  24. private:
  25. ::std::string::size_type index{};
  26. ::std::string line{};
  27. };
  28. }
  29. #endif