Ark Server API (ASE) - Wiki
|
#include <MemoryStream.h>
Public Member Functions | |
BasicMemoryStreamBuf (char_type *pBuffer, std::streamsize bufferSize) | |
~BasicMemoryStreamBuf () | |
virtual int_type | overflow (int_type) |
virtual int_type | underflow () |
virtual pos_type | seekoff (off_type off, std::ios_base::seekdir way, std::ios_base::openmode which=std::ios_base::in|std::ios_base::out) |
virtual int | sync () |
std::streamsize | charsWritten () const |
void | reset () |
Protected Types | |
typedef std::basic_streambuf< ch, tr > | Base |
typedef std::basic_ios< ch, tr > | IOS |
typedef ch | char_type |
typedef tr | char_traits |
typedef Base::int_type | int_type |
typedef Base::pos_type | pos_type |
typedef Base::off_type | off_type |
Private Member Functions | |
BasicMemoryStreamBuf () | |
BasicMemoryStreamBuf (const BasicMemoryStreamBuf &) | |
BasicMemoryStreamBuf & | operator= (const BasicMemoryStreamBuf &) |
Private Attributes | |
char_type * | _pBuffer |
std::streamsize | _bufferSize |
BasicMemoryStreamBuf is a simple implementation of a stream buffer for reading and writing from a memory area.
This streambuf only supports unidirectional streams. In other words, the BasicMemoryStreamBuf can be used for the implementation of an istream or an ostream, but not for an iostream.
Definition at line 35 of file MemoryStream.h.
|
protected |
Definition at line 45 of file MemoryStream.h.
|
protected |
Definition at line 48 of file MemoryStream.h.
|
protected |
Definition at line 47 of file MemoryStream.h.
|
protected |
Definition at line 49 of file MemoryStream.h.
|
protected |
Definition at line 46 of file MemoryStream.h.
|
protected |
Definition at line 51 of file MemoryStream.h.
|
protected |
Definition at line 50 of file MemoryStream.h.
|
inline |
Definition at line 54 of file MemoryStream.h.
|
inline |
Definition at line 62 of file MemoryStream.h.
|
private |
|
private |
|
inline |
|
private |
|
inlinevirtual |
Definition at line 66 of file MemoryStream.h.
|
inline |
Resets the buffer so that current read and write positions will be set to the beginning of the buffer.
Definition at line 154 of file MemoryStream.h.
|
inlinevirtual |
Definition at line 76 of file MemoryStream.h.
|
inlinevirtual |
Definition at line 144 of file MemoryStream.h.
|
inlinevirtual |
Definition at line 71 of file MemoryStream.h.
|
private |
Definition at line 164 of file MemoryStream.h.
|
private |
Definition at line 163 of file MemoryStream.h.