/* * Author: Patrick-Christopher Mattulat * Company: Lynar Studios * E-Mail: webmaster@lynarstudios.com * Created: 2023-02-17 * Changed: 2024-09-09 * * */ #ifndef LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP #define LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP #include #include #include #include #include /* * @doc: class(name: 'SerializableSectionPairParameter', package: 'io') * */ namespace ls::std::io { class LS_STD_DYNAMIC_GOAL SerializableSectionPairParameter { public: SerializableSectionPairParameter(); ~SerializableSectionPairParameter(); [[nodiscard]] ::std::string getNewLine() const; [[nodiscard]] ::std::shared_ptr getValue() const; void setNewLine(::std::string_view _newLine); void setValue(const ::std::shared_ptr &_value); private: ::std::string parseNewLine{}; ::std::shared_ptr value{}; }; } #endif