12345678910111213141516171819202122232425262728293031323334 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2020-11-06
- * Changed: 2024-09-13
- *
- * */
- #ifndef LS_STD_STANDARD_OUTPUT_WRITER_HPP
- #define LS_STD_STANDARD_OUTPUT_WRITER_HPP
- #include <ls-std/core/interface/IWriter.hpp>
- #include <ls-std/os/dynamic-goal.hpp>
- /*
- * @doc: class(name: 'StandardOutputWriter', package: 'io')
- * @doc: io.StandardOutputWriter.description('This class can be used to write a string to stdout.')
- * */
- namespace ls::std::io
- {
- class LS_STD_DYNAMIC_GOAL StandardOutputWriter : public ls::std::core::interface_type::IWriter
- {
- public:
- StandardOutputWriter();
- ~StandardOutputWriter() noexcept override;
- bool write(const ls::std::core::type::byte_field &_data) override; // nodiscard is optional here
- };
- }
- #endif
|