|
fiber
|
Public Member Functions | |
| void | put (char c) final |
| Overload this method to write a character to the stream. | |
| void | flush () final |
| Overload this method to force flush the buffer. | |
| void | write (const char *str, size_t len) final |
| Writes a string to the stream. | |
Public Member Functions inherited from fiber::OStream | |
| virtual | ~OStream () |
| virtual void | put (char c, int count) |
Writes a character to the stream count many times. | |
| virtual void | write (const char *str) |
| Writes a string to the stream. | |
| virtual void | newl () |
| Prints a new line character. Compared to endl(), this function does not call flush() | |
| virtual void | endl () |
| Prints a new line character followed by a call flush() | |
|
inlinefinalvirtual |
Overload this method to force flush the buffer.
Has to be overloaded by the user!
Implements fiber::OStream.
|
inlinefinalvirtual |
Overload this method to write a character to the stream.
Has to be overloaded by the user!
| c | A character that should be written to the stream |
Implements fiber::OStream.
|
inlinefinalvirtual |
Writes a string to the stream.
If not implemented by the user, will use the put() method to write to the stream
| str | a pointer to the start of the string |
| len | the length of the string, aka. the number of characters that should be read from the string |
Reimplemented from fiber::OStream.