fiber
Loading...
Searching...
No Matches
StdErr Class Reference
Inheritance diagram for StdErr:
fiber::OStream

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()
 

Member Function Documentation

◆ flush()

void StdErr::flush ( )
inlinefinalvirtual

Overload this method to force flush the buffer.

Has to be overloaded by the user!

Implements fiber::OStream.

◆ put()

void StdErr::put ( char c)
inlinefinalvirtual

Overload this method to write a character to the stream.

Has to be overloaded by the user!

Parameters
cA character that should be written to the stream

Implements fiber::OStream.

◆ write()

void StdErr::write ( const char * str,
size_t len )
inlinefinalvirtual

Writes a string to the stream.

If not implemented by the user, will use the put() method to write to the stream

Parameters
stra pointer to the start of the string
lenthe length of the string, aka. the number of characters that should be read from the string

Reimplemented from fiber::OStream.


The documentation for this class was generated from the following file: