SectionPairRowValue.cpp 914 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-10
  6. * Changed: 2023-05-18
  7. *
  8. * */
  9. #include <ls-std/io/section-pair/model/SectionPairRowValue.hpp>
  10. using ls::std::core::type::byte_field;
  11. using ls::std::io::SectionPairRowEnumType;
  12. using ls::std::io::SectionPairRowValue;
  13. using std::string;
  14. using std::string_view;
  15. SectionPairRowValue::SectionPairRowValue(const SectionPairRowEnumType &_type) : type(_type)
  16. {}
  17. SectionPairRowValue::~SectionPairRowValue() noexcept = default;
  18. byte_field SectionPairRowValue::marshal()
  19. {
  20. return byte_field{};
  21. }
  22. void SectionPairRowValue::reserveNewLine(string_view _reservedNewLine)
  23. {
  24. this->reservedNewLine = _reservedNewLine;
  25. }
  26. void SectionPairRowValue::unmarshal(const byte_field &_data)
  27. {
  28. // since this class is abstract, these methods are not implemented
  29. }