StandardOutputWriter.hpp 775 B

123456789101112131415161718192021222324252627282930313233
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-06
  6. * Changed: 2024-05-25
  7. *
  8. * */
  9. #ifndef LS_STD_STANDARD_OUTPUT_WRITER_HPP
  10. #define LS_STD_STANDARD_OUTPUT_WRITER_HPP
  11. #include <ls-std/core/interface/IWriter.hpp>
  12. #include <ls-std/os/dynamic-goal.hpp>
  13. /*
  14. * @class(name: 'StandardOutputWriter', package: 'io')
  15. * */
  16. namespace ls::std::io
  17. {
  18. class LS_STD_DYNAMIC_GOAL StandardOutputWriter : public ls::std::core::interface_type::IWriter
  19. {
  20. public:
  21. StandardOutputWriter();
  22. ~StandardOutputWriter() noexcept override;
  23. bool write(const ls::std::core::type::byte_field &_data) override; // nodiscard is optional here
  24. };
  25. }
  26. #endif