FileSource Class Reference

file-based implementation of Source interface More...

#include <files.h>

Inheritance diagram for FileSource:

SourceTemplate< FileStore > Source InputRejecting< Filter >

List of all members.

Public Types

typedef FileStore::Err Err
typedef FileStore::OpenErr OpenErr
typedef FileStore::ReadErr ReadErr

Public Member Functions

 FileSource (BufferedTransformation *attachment=NULL)
 FileSource (std::istream &in, bool pumpAll, BufferedTransformation *attachment=NULL)
 FileSource (const char *filename, bool pumpAll, BufferedTransformation *attachment=NULL, bool binary=true)
std::istream * GetStream ()
void IsolatedInitialize (const NameValuePairs &parameters)
size_t Pump2 (lword &byteCount, bool blocking=true)
size_t PumpMessages2 (unsigned int &messageCount, bool blocking=true)
size_t PumpAll2 (bool blocking=true)
bool SourceExhausted () const
void SetAutoSignalPropagation (int propagation)
int GetAutoSignalPropagation () const
lword Pump (lword pumpMax=size_t(0)-1)
unsigned int PumpMessages (unsigned int count=UINT_MAX)
void PumpAll ()
size_t Put2 (const byte *begin, size_t length, int messageEnd, bool blocking)
bool IsolatedFlush (bool, bool)
bool IsolatedMessageSeriesEnd (bool)
size_t ChannelPut2 (const std::string &channel, const byte *begin, size_t length, int messageEnd, bool blocking)
bool ChannelMessageSeriesEnd (const std::string &, int, bool)

Protected Member Functions

void SourceInitialize (bool pumpAll, const NameValuePairs &parameters)

Protected Attributes

m_store


Detailed Description

file-based implementation of Source interface

Definition at line 49 of file files.h.


The documentation for this class was generated from the following file:

Generated on Mon Oct 27 02:45:02 2008 for Crypto++ by  doxygen 1.5.7.1