SerializableSectionPairParameter.hpp 982 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-17
  6. * Changed: 2023-02-17
  7. *
  8. * */
  9. #ifndef LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP
  10. #define LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP
  11. #include <ls-std/core/Class.hpp>
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. #include <memory>
  14. #include <string>
  15. namespace ls::std::io
  16. {
  17. class LS_STD_DYNAMIC_GOAL SerializableSectionPairParameter
  18. {
  19. public:
  20. SerializableSectionPairParameter();
  21. ~SerializableSectionPairParameter();
  22. [[nodiscard]] ::std::string getNewLine();
  23. [[nodiscard]] ::std::shared_ptr<ls::std::core::Class> getValue() const;
  24. void setNewLine(const ::std::string &_newLine);
  25. void setValue(const ::std::shared_ptr<ls::std::core::Class> &_value);
  26. private:
  27. ::std::string parseNewLine{};
  28. ::std::shared_ptr<ls::std::core::Class> value{};
  29. };
  30. }
  31. #endif