Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
NullOutStream Class Reference
+ Inheritance diagram for NullOutStream:

Public Member Functions

virtual int write (const char *buffer, int size)
 
virtual int flush (void)
 
- Public Member Functions inherited from OutStream
virtual ~OutStream (void)
 
virtual int write (char byte)
 
virtual CString lastErrorMessage (void)
 
virtual bool supportsANSI () const
 

Additional Inherited Members

- Static Public Attributes inherited from OutStream
static OutStreamnull = _null
 

Member Function Documentation

◆ flush()

virtual int flush ( void  )
inlinevirtual

Cause the current stream to dump its buffer to the medium.

Returns
0 for success, less than 0 for error.

Implements OutStream.

◆ write()

virtual int write ( const char *  buffer,
int  size 
)
inlinevirtual

This is the main method of an output stream: the given buffer is put on the stream.

Parameters
bufferByte buffer to write.
sizeSize of the byte buffer.
Returns
Number of transferred bytes or less than 0 for an error.

Implements OutStream.


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