Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ProxyFilter Class Reference

Base class for Filter classes that are proxies for a chain of other filters. More...

#include <filters.h>

Inheritance diagram for ProxyFilter:

FilterWithBufferedInput Filter BufferedTransformation DefaultDecryptor DefaultDecryptorWithMAC DefaultEncryptor DefaultEncryptorWithMAC List of all members.

Public Methods

 ProxyFilter (Filter *filter,unsigned int firstSize,unsigned int lastSize,BufferedTransformation *outQ)
void Flush (bool completeFlush,int propagation=-1)
 process everything in internal buffers and output them. More...

void SetFilter (Filter *filter)
void NextPut (const byte *s,unsigned int len)

Protected Attributes

member_ptr<Filterm_filter
OutputProxy* m_proxy

Detailed Description

Base class for Filter classes that are proxies for a chain of other filters.

Definition at line 319 of file filters.h.


Constructor & Destructor Documentation

ProxyFilter::ProxyFilter ( Filter * filter,
unsigned int firstSize,
unsigned int lastSize,
BufferedTransformation * outQ )
 

Definition at line 202 of file filters.cpp.


Member Function Documentation

void ProxyFilter::Flush ( bool completeFlush,
int propagation = -1 ) [virtual]
 

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 209 of file filters.cpp.

void ProxyFilter::NextPut ( const byte * s,
unsigned int len ) [virtual]
 

Reimplemented from FilterWithBufferedInput.

Definition at line 235 of file filters.cpp.

void ProxyFilter::SetFilter ( Filter * filter )
 

Definition at line 221 of file filters.cpp.


Member Data Documentation

member_ptr< Filter > ProxyFilter::m_filter [protected]
 

Definition at line 330 of file filters.h.

OutputProxy * ProxyFilter::m_proxy [protected]
 

Definition at line 331 of file filters.h.


The documentation for this class was generated from the following files:
Generated at Mon Jan 15 01:17:00 2001 for Crypto++ by doxygen1.2.4 written by Dimitri van Heesch, © 1997-2000