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

FileStore Class Reference

. More...

#include <files.h>

Inheritance diagram for FileStore:

Store BufferedTransformationWithAutoSignal BufferedTransformation List of all members.

Public Methods

 FileStore (::istream &in)
 FileStore (const char *filename)
::istream& GetStream ()
unsigned long MaxRetrievable ()const
 returns number of bytes that is currently ready for retrieval. More...

unsigned int Peek (byte &outByte)const
 peek at the next byte without removing it from the output buffer. More...

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

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


Detailed Description

.

Definition at line 13 of file files.h.


Constructor & Destructor Documentation

FileStore::FileStore ( const char * filename )
 

Definition at line 17 of file files.cpp.


Member Function Documentation

unsigned long FileStore::CopyTo ( BufferedTransformation & target,
unsigned long copyMax = ULONG_MAX ) const [virtual]
 

copy copyMax bytes of the buffered output to target as input.

Reimplemented from Store.

Definition at line 64 of file files.cpp.

istream & FileStore::GetStream ( ) [inline]
 

Definition at line 27 of file files.h.

unsigned long FileStore::MaxRetrievable ( ) const [virtual]
 

returns number of bytes that is currently ready for retrieval.

All retrieval functions return the actual number of bytes retrieved, which is the lesser of the request number and MaxRetrievable().

Reimplemented from BufferedTransformation.

Definition at line 24 of file files.cpp.

unsigned int FileStore::Peek ( byte & outByte ) const [virtual]
 

peek at the next byte without removing it from the output buffer.

Reimplemented from BufferedTransformation.

Definition at line 32 of file files.cpp.

unsigned long FileStore::TransferTo ( BufferedTransformation & target,
unsigned long size = ULONG_MAX ) [virtual]
 

move transferMax bytes of the buffered output to target as input.

Reimplemented from Store.

Definition at line 44 of file files.cpp.


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