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

Store Class Reference

A BufferedTransformation that only contains pre-existing output. More...

#include <filters.h>

Inheritance diagram for Store:

BufferedTransformationWithAutoSignal BufferedTransformation BERGeneralDecoder FileStore RandomNumberStore StringStore BERSequenceDecoder BERSetDecoder List of all members.

Public Methods

 Store ()
void Put (byte)
 input a byte for processing. More...

void Put (const byte *,unsigned int length)
 input multiple bytes. More...

virtual unsigned long TransferTo (BufferedTransformation &target,unsigned long transferMax=ULONG_MAX)=0
 move transferMax bytes of the buffered output to target as input.

virtual unsigned long CopyTo (BufferedTransformation &target,unsigned long copyMax=ULONG_MAX)const=0
 copy copyMax bytes of the buffered output to target as input.

unsigned int NumberOfMessages ()const
 number of times MessageEnd() has been received minus messages retrieved or skipped. More...

bool GetNextMessage ()
 start retrieving the next message. More...

unsigned int CopyMessagesTo (BufferedTransformation &target,unsigned int count=UINT_MAX)const

Detailed Description

A BufferedTransformation that only contains pre-existing output.

Definition at line 423 of file filters.h.


Constructor & Destructor Documentation

Store::Store ( ) [inline]
 

Definition at line 426 of file filters.h.


Member Function Documentation

unsigned int Store::CopyMessagesTo ( BufferedTransformation & target,
unsigned int count = UINT_MAX ) const [virtual]
 

Reimplemented from BufferedTransformation.

Definition at line 375 of file filters.cpp.

bool Store::GetNextMessage ( ) [virtual]
 

start retrieving the next message.

Returns false if no more messages exist or this message is not completely retrieved.

Reimplemented from BufferedTransformation.

Definition at line 364 of file filters.cpp.

unsigned int Store::NumberOfMessages ( ) const [inline, virtual]
 

number of times MessageEnd() has been received minus messages retrieved or skipped.

Reimplemented from BufferedTransformation.

Definition at line 436 of file filters.h.

void Store::Put ( const byte * str,
unsigned int length ) [inline, virtual]
 

input multiple bytes.

Reimplemented from BufferedTransformation.

Definition at line 430 of file filters.h.

void Store::Put ( byte b ) [inline, virtual]
 

input a byte for processing.

Reimplemented from BufferedTransformation.

Definition at line 428 of file filters.h.


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