SerializableSectionPairParameter.hpp 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Co-Author: Claude Sonnet 4.6 (LLM)
  4. * Company: Lynar Studios
  5. * E-Mail: webmaster@lynarstudios.com
  6. * Created: 2023-02-17
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #ifndef LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP
  11. #define LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP
  12. #include <ls-std/core/Class.hpp>
  13. #include <ls-std/os/dynamic-goal.hpp>
  14. #include <memory>
  15. #include <string>
  16. #include <string_view>
  17. /*
  18. * @doc: class(name: 'SerializableSectionPairParameter', package: 'io')
  19. * @doc: io.SerializableSectionPairParameter.description('This class is holding information for Section Pair serialization.')
  20. */
  21. namespace ls::standard::io
  22. {
  23. class LS_STD_DYNAMIC_GOAL SerializableSectionPairParameter
  24. {
  25. public:
  26. SerializableSectionPairParameter();
  27. ~SerializableSectionPairParameter();
  28. [[nodiscard]] ::std::string getNewLine() const;
  29. [[nodiscard]] ::std::shared_ptr<ls::standard::core::Class> getValue() const;
  30. void setNewLine(::std::string_view _newLine);
  31. void setValue(const ::std::shared_ptr<ls::standard::core::Class> &_value);
  32. private:
  33. ::std::string parseNewLine{};
  34. ::std::shared_ptr<ls::standard::core::Class> value{};
  35. };
  36. }
  37. #endif