#include <BufferedFile.h>
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 |
BufferedFile::BufferedFile | ( | ) |
BufferedFile::~BufferedFile | ( | ) |
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 | ) |
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] |