12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-17
- * Changed: 2023-05-18
- *
- * */
- #include <ls-std/io/NewLine.hpp>
- #include <ls-std/io/section-pair/serialization/SerializableSectionPairParameter.hpp>
- using ls::std::core::Class;
- using ls::std::io::NewLine;
- using ls::std::io::SerializableSectionPairParameter;
- using std::shared_ptr;
- using std::string;
- using std::string_view;
- SerializableSectionPairParameter::SerializableSectionPairParameter() : parseNewLine(NewLine::get())
- {}
- SerializableSectionPairParameter::~SerializableSectionPairParameter() = default;
- string SerializableSectionPairParameter::getNewLine() const
- {
- return this->parseNewLine;
- }
- shared_ptr<Class> SerializableSectionPairParameter::getValue() const
- {
- return this->value;
- }
- void SerializableSectionPairParameter::setNewLine(string_view _newLine)
- {
- this->parseNewLine = _newLine;
- }
- void SerializableSectionPairParameter::setValue(const shared_ptr<Class> &_value)
- {
- this->value = _value;
- }
|