/*
* Author:          Patrick-Christopher Mattulat
* Co-Author:       Claude Sonnet 4.6 (LLM)
* Company:         Lynar Studios
* E-Mail:          webmaster@lynarstudios.com
* Created:         2023-02-17
* Changed:         2026-06-23
*
* */

#ifndef LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP
#define LS_STD_SERIALIZABLE_SECTION_PAIR_PARAMETER_HPP

#include <ls-std/core/Class.hpp>
#include <ls-std/os/dynamic-goal.hpp>
#include <memory>
#include <string>
#include <string_view>

/*
 * @doc: class(name: 'SerializableSectionPairParameter', package: 'io')
 * @doc: io.SerializableSectionPairParameter.description('This class is holding information for Section Pair serialization.')
 */

namespace ls::standard::io
{
  class LS_STD_DYNAMIC_GOAL SerializableSectionPairParameter
  {
    public:

      SerializableSectionPairParameter();
      ~SerializableSectionPairParameter();

      [[nodiscard]] ::std::string getNewLine() const;
      [[nodiscard]] ::std::shared_ptr<ls::standard::core::Class> getValue() const;
      void setNewLine(::std::string_view _newLine);
      void setValue(const ::std::shared_ptr<ls::standard::core::Class> &_value);

    private:

      ::std::string parseNewLine{};
      ::std::shared_ptr<ls::standard::core::Class> value{};
  };
}

#endif
