#include <files.h>
Inheritance diagram for FileSink:

Public Methods | |
| FileSink (::ostream &out) | |
| FileSink (const char *filename,bool binary=true) | |
| ::ostream& | GetStream () |
| void | Flush (bool=true,int=-1) |
| process everything in internal buffers and output them. More... | |
| void | MessageEnd (int=-1) |
| mark end of an input segment, message, or packet. More... | |
| void | Put (byte inByte) |
| input a byte for processing. More... | |
| void | Put (const byte *inString,unsigned int length) |
| input multiple bytes. More... | |
Definition at line 64 of file files.h.
|
|
|
|
|
process everything in internal buffers and output them. throws exception if completeFlush == true and it's not possible to flush everything Reimplemented from BufferedTransformation. Definition at line 98 of file files.cpp. Referenced by MessageEnd(). |
|
|
|
|
|
mark end of an input segment, message, or packet. propagation != 0 means pass on the signal to attached BufferedTransformation objects, with propagation decremented at each step until it reaches 0. -1 means unlimited propagation. Reimplemented from BufferedTransformation. |
|
|
input multiple bytes.
Reimplemented from BufferedTransformation. |
|
|
input a byte for processing.
Reimplemented from BufferedTransformation. |
1.2.4 written by Dimitri van Heesch,
© 1997-2000