| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-10
- * Changed: 2025-12-21
- *
- * */
- #include <ls-std/io/section-pair/model/SectionPairRowValue.hpp>
- #include <ls-std/core/exception/NotImplementedException.hpp>
- using ls::std::core::type::byte_field;
- using ls::std::core::NotImplementedException;
- using ls::std::io::SectionPairRowEnumType;
- using ls::std::io::SectionPairRowValue;
- using std::string;
- using std::string_view;
- SectionPairRowValue::SectionPairRowValue(const SectionPairRowEnumType &_type) : type(_type)
- {}
- SectionPairRowValue::~SectionPairRowValue() noexcept = default;
- byte_field SectionPairRowValue::marshal()
- {
- return byte_field{};
- }
- void SectionPairRowValue::reserveNewLine(const string_view _reservedNewLine)
- {
- this->reservedNewLine = _reservedNewLine;
- }
- void SectionPairRowValue::unmarshal(const byte_field &_data)
- {
- throw NotImplementedException("data (" + _data + ") not used!");
- }
- string SectionPairRowValue::_getReservedNewLine() const
- {
- return this->reservedNewLine;
- }
- SectionPairRowEnumType SectionPairRowValue::_getType() const
- {
- return this->type;
- }
|