BufferedFile Class Reference

#include <BufferedFile.h>

Inheritance diagram for BufferedFile:

Inheritance graph
[legend]
Collaboration diagram for BufferedFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 BufferedFile ()
 ~BufferedFile ()
basic_ostream< char,
char_traits< char > > & 
write (const char_type *_Str, streamsize _Count)
basic_istream< char,
char_traits< char > > & 
read (char_type *_Str, streamsize _Count)
streamsize gcount () const
bool eof () const
void close ()
void setReadSize (unsigned int size)
void setWriteSize (unsigned int size)

Private Attributes

char * readbuffer
unsigned int readbuffersize
unsigned int readbufferitems_low
unsigned int readbufferitems_high
streamsize lastreadcount
char * writebuffer
unsigned int writebuffersize
unsigned int writebufferitems


Constructor & Destructor Documentation

BufferedFile::BufferedFile (  ) 

BufferedFile::~BufferedFile (  ) 


Member Function Documentation

basic_ostream< char, char_traits< char > > & BufferedFile::write ( const char_type *  _Str,
streamsize  _Count 
)

basic_istream< char, char_traits< char > > & BufferedFile::read ( char_type *  _Str,
streamsize  _Count 
)

streamsize BufferedFile::gcount (  )  const

bool BufferedFile::eof (  )  const

void BufferedFile::close (  ) 

void BufferedFile::setReadSize ( unsigned int  size  ) 

void BufferedFile::setWriteSize ( unsigned int  size  ) 


Member Data Documentation

char* BufferedFile::readbuffer [private]

unsigned int BufferedFile::readbuffersize [private]

unsigned int BufferedFile::readbufferitems_low [private]

unsigned int BufferedFile::readbufferitems_high [private]

streamsize BufferedFile::lastreadcount [private]

char* BufferedFile::writebuffer [private]

unsigned int BufferedFile::writebuffersize [private]

unsigned int BufferedFile::writebufferitems [private]


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

Generated on Wed Jun 18 09:40:42 2008 for pktanon by  doxygen 1.5.5