Inheritance diagram for Filter:

Public Member Functions | |
| Filter () | |
| virtual int | flush (u_long *) |
| virtual int | getFooter (char *buffer, u_long len, u_long *nbw) |
| virtual int | getHeader (char *buffer, u_long len, u_long *nbw) |
| virtual const char * | getName (char *, u_long) |
| Stream * | getParent () |
| Protocol * | getProtocol () |
| void * | getProtocolData () |
| virtual int | modifyData () |
| virtual int | read (char *buffer, u_long len, u_long *) |
| void | setParent (Stream *) |
| void | setProtocol (Protocol *pr) |
| void | setProtocolData (void *prd) |
| virtual int | write (const char *buffer, u_long len, u_long *) |
| virtual | ~Filter ()=0 |
Protected Attributes | |
| Stream * | parent |
| Protocol * | protocol |
| void * | protocolData |
|
|
Default constructor. |
|
|
Avoid direct instances of this class. |
|
|
Flush everything to the stream. Returns -1 on errors.
Reimplemented from Stream. Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
||||||||||||||||
|
Get a footer for the filter. Returns -1 on errors.
Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
||||||||||||||||
|
Get an header for the filter. Returns -1 on errors.
Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
||||||||||||
|
Return a string with the filter name. If an external buffer is provided write the name there too.
Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
|
Get the stream used by the filter. Reimplemented in DynamicFilter. |
|
|
|
|
|
|
|
|
Returns a nonzero value if the filter modify the input/output data. Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
||||||||||||||||
|
Read [len] characters using the filter. Returns -1 on errors. buffer The buffer where receive read data.
Reimplemented from Stream. Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
|
Set the stream where apply the filter.
Reimplemented in DynamicFilter. |
|
|
|
|
|
|
|
||||||||||||||||
|
Write [len] characters to the stream. Returns -1 on errors.
Reimplemented from Stream. Reimplemented in DynamicFilter, Gzip, and GzipDecompress. |
|
|
|
|
|
|
|
|
|
1.3.9.1