SectionPairSectionProvider.hpp 988 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-15
  6. * Changed: 2023-02-17
  7. *
  8. * */
  9. #ifndef LS_STD_SECTION_PAIR_SECTION_PROVIDER_HPP
  10. #define LS_STD_SECTION_PAIR_SECTION_PROVIDER_HPP
  11. #include <ls-std/ls-std-core.hpp>
  12. #include <ls-std/ls-std-io.hpp>
  13. #include <memory>
  14. #include <string>
  15. namespace test::io
  16. {
  17. class SectionPairSectionProvider
  18. {
  19. public:
  20. SectionPairSectionProvider();
  21. ~SectionPairSectionProvider();
  22. static ::std::shared_ptr<ls::std::io::SectionPairSection> createSectionWithSandraExample();
  23. static ::std::shared_ptr<ls::std::io::SectionPairSection> createSectionWithTomExample();
  24. static ls::std::core::type::byte_field createSerializedSectionWithSandraExample(const ::std::string &_newLine);
  25. static ls::std::core::type::byte_field createSerializedSectionWithTomExample(const ::std::string &_newLine);
  26. };
  27. }
  28. #endif