12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-02-10
- * Changed: 2023-05-22
- *
- * */
- #include <ls-std/io/section-pair/model/SectionPairRowValue.hpp>
- using ls::std::core::type::byte_field;
- 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(string_view _reservedNewLine)
- {
- this->reservedNewLine = _reservedNewLine;
- }
- void SectionPairRowValue::unmarshal(const byte_field &_data)
- {
- // since this class is abstract, these methods are not implemented
- }
- string SectionPairRowValue::_getReservedNewLine() const
- {
- return this->reservedNewLine;
- }
- SectionPairRowEnumType SectionPairRowValue::_getType() const
- {
- return this->type;
- }
|