SectionPairDocumentProvider.hpp 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-02-16
  6. * Changed: 2023-06-06
  7. *
  8. * */
  9. #ifndef LS_STD_SECTION_PAIR_DOCUMENT_PROVIDER_HPP
  10. #define LS_STD_SECTION_PAIR_DOCUMENT_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 SectionPairDocumentProvider
  18. {
  19. public:
  20. SectionPairDocumentProvider();
  21. ~SectionPairDocumentProvider();
  22. [[nodiscard]] static ::std::shared_ptr<ls::std::io::SectionPairDocument> createDocument();
  23. [[nodiscard]] static ls::std::core::type::byte_field createSerializedDocument(const ::std::string &_newLine);
  24. [[nodiscard]] static ls::std::core::type::byte_field createSerializedDocumentColineExample(const ::std::string &_newLine);
  25. [[nodiscard]] static ls::std::core::type::byte_field createSerializedDocumentComputerExample(const ::std::string &_newLine);
  26. };
  27. }
  28. #endif