libfossil
fsl::BufferOStream Class Reference

#include "fossil.hpp"

Inheritance diagram for fsl::BufferOStream:
fsl::FslOutputFStream

Public Member Functions

 BufferOStream (fsl_buffer *b)
 Sets up this object to redirect all stream output to the given buffer. More...
 
 ~BufferOStream () throw ()
 Does nothing. More...
 
- Public Member Functions inherited from fsl::FslOutputFStream
 FslOutputFStream (fsl_output_f out, void *outState)
 Sets up this stream to direct all stream output sent to this buffer to out(outState, ...) instead. More...
 
virtual ~FslOutputFStream () throw ()
 Cleans up its internal resources. More...
 
FslOutputFStreamappendf (char const *fmt,...)
 Appends a formatted string, as per fsl_outputf(), to the stream. More...
 

Detailed Description

Definition at line 2222 of file fossil.hpp.

Constructor & Destructor Documentation

fsl::BufferOStream::BufferOStream ( fsl_buffer b)
explicit

Sets up this object to redirect all stream output to the given buffer.

Ownership of b is not changed and b must outlive this stream. It is legal to implicitly convert a Buffer object for this purpose.

Throws if b is NULL.

fsl::BufferOStream::~BufferOStream ( )
throw (
)

Does nothing.


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