Wrapper of C file stream for output using fwrite().
More...
#include <filewritestream.h>
|
typedef char | Ch |
| Character type. Only support char. More...
|
|
Wrapper of C file stream for output using fwrite().
- Note
- implements Stream concept
Definition at line 32 of file filewritestream.h.
FileWriteStream::FileWriteStream |
( |
std::FILE * |
fp, |
|
|
char * |
buffer, |
|
|
size_t |
bufferSize |
|
) |
| |
|
inline |
void FileWriteStream::Flush |
( |
| ) |
|
|
inline |
char FileWriteStream::Peek |
( |
| ) |
const |
|
inline |
void FileWriteStream::Put |
( |
char |
c | ) |
|
|
inline |
char* FileWriteStream::PutBegin |
( |
| ) |
|
|
inline |
size_t FileWriteStream::PutEnd |
( |
char * |
| ) |
|
|
inline |
void FileWriteStream::PutN |
( |
char |
c, |
|
|
size_t |
n |
|
) |
| |
|
inline |
char FileWriteStream::Take |
( |
| ) |
|
|
inline |
size_t FileWriteStream::Tell |
( |
| ) |
const |
|
inline |
char* FileWriteStream::buffer_ |
|
private |
char* FileWriteStream::bufferEnd_ |
|
private |
char* FileWriteStream::current_ |
|
private |
std::FILE* FileWriteStream::fp_ |
|
private |
The documentation for this class was generated from the following file: