StandardOutputWriter.hpp 701 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-11-06
  6. * Changed: 2023-02-06
  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. namespace ls::std::io
  14. {
  15. class LS_STD_DYNAMIC_GOAL StandardOutputWriter : public ls::std::core::interface_type::IWriter
  16. {
  17. public:
  18. StandardOutputWriter();
  19. ~StandardOutputWriter() override;
  20. bool write(const ls::std::core::type::byte_field &_data) override; // nodiscard is optional here
  21. };
  22. }
  23. #endif