File byte stream for input using fread().
More...
#include <filereadstream.h>
|
typedef char | Ch |
| Character type (byte). More...
|
|
File byte stream for input using fread().
- Note
- implements Stream concept
Definition at line 38 of file filereadstream.h.
FileReadStream::FileReadStream |
( |
std::FILE * |
fp, |
|
|
char * |
buffer, |
|
|
size_t |
bufferSize |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
fp | File pointer opened for read. |
buffer | user-supplied buffer. |
bufferSize | size of buffer in bytes. Must >=4 bytes. |
Definition at line 48 of file filereadstream.h.
void FileReadStream::Flush |
( |
| ) |
|
|
inline |
Ch FileReadStream::Peek |
( |
| ) |
const |
|
inline |
const Ch* FileReadStream::Peek4 |
( |
| ) |
const |
|
inline |
void FileReadStream::Put |
( |
Ch |
| ) |
|
|
inline |
Ch* FileReadStream::PutBegin |
( |
| ) |
|
|
inline |
size_t FileReadStream::PutEnd |
( |
Ch * |
| ) |
|
|
inline |
void FileReadStream::Read |
( |
| ) |
|
|
inlineprivate |
Ch FileReadStream::Take |
( |
| ) |
|
|
inline |
size_t FileReadStream::Tell |
( |
| ) |
const |
|
inline |
Ch* FileReadStream::buffer_ |
|
private |
Ch* FileReadStream::bufferLast_ |
|
private |
size_t FileReadStream::bufferSize_ |
|
private |
size_t FileReadStream::count_ |
|
private |
Ch* FileReadStream::current_ |
|
private |
bool FileReadStream::eof_ |
|
private |
std::FILE* FileReadStream::fp_ |
|
private |
size_t FileReadStream::readCount_ |
|
private |
The documentation for this class was generated from the following file: