WvStreams
|
A statically bound mixin template for buffer implementations that are read-only. More...
#include <wvbufstore.h>
Public Member Functions | |
WvReadOnlyBufferStoreMixin (int _granularity) | |
virtual bool | iswritable () const |
virtual size_t | free () const |
virtual size_t | optallocable () const |
virtual void * | alloc (size_t count) |
virtual void | unalloc (size_t count) |
virtual size_t | unallocable () const |
virtual void * | mutablepeek (int offset, size_t count) |
virtual void | merge (WvBufStore &instore, size_t count) |
A statically bound mixin template for buffer implementations that are read-only.
It is an error to attempt to write to a read-only buffer. Note that read-only in this context does not mean the same as "const".
Definition at line 139 of file wvbufstore.h.