WvStreams
|
The WvBufCursor storage class. More...
#include <wvbufstore.h>
Public Member Functions | |
WvBufCursorStore (size_t _granularity, WvBufStore *_buf, int _start, size_t _length) | |
virtual bool | isreadable () const |
virtual size_t | used () const |
virtual size_t | optgettable () const |
virtual const void * | get (size_t count) |
virtual void | skip (size_t count) |
virtual void | unget (size_t count) |
virtual size_t | ungettable () const |
virtual size_t | peekable (int offset) const |
virtual size_t | optpeekable (int offset) const |
virtual const void * | peek (int offset, size_t count) |
virtual void | zap () |
virtual bool | iswritable () const |
virtual void * | mutablepeek (int offset, size_t count) |
WvBufCursorStore (size_t _granularity, WvBufStore *_buf, int _start, size_t _length) | |
virtual bool | isreadable () const |
virtual size_t | used () const |
virtual size_t | optgettable () const |
virtual const void * | get (size_t count) |
virtual void | skip (size_t count) |
virtual void | unget (size_t count) |
virtual size_t | ungettable () const |
virtual size_t | peekable (int offset) const |
virtual size_t | optpeekable (int offset) const |
virtual const void * | peek (int offset, size_t count) |
virtual void | zap () |
virtual bool | iswritable () const |
virtual void * | mutablepeek (int offset, size_t count) |
virtual size_t | free () const |
virtual size_t | free () const |
virtual size_t | optallocable () const |
virtual size_t | optallocable () const |
virtual void * | alloc (size_t count) |
virtual void * | alloc (size_t count) |
virtual void | unalloc (size_t count) |
virtual void | unalloc (size_t count) |
virtual size_t | unallocable () const |
virtual size_t | unallocable () const |
virtual void | merge (WvBufStore &instore, size_t count) |
virtual void | merge (WvBufStore &instore, size_t count) |
void | move (void *buf, size_t count) |
void | move (void *buf, size_t count) |
void | copy (void *buf, int offset, size_t count) |
void | copy (void *buf, int offset, size_t count) |
void | put (const void *data, size_t count) |
void | put (const void *data, size_t count) |
void | fastput (const void *data, size_t count) |
void | fastput (const void *data, size_t count) |
void | poke (const void *data, int offset, size_t count) |
void | poke (const void *data, int offset, size_t count) |
void | basicmerge (WvBufStore &instore, size_t count) |
void | basicmerge (WvBufStore &instore, size_t count) |
Protected Member Functions | |
virtual bool | usessubbuffers () const |
Returns true if the buffer uses subbuffers for storage. | |
virtual bool | usessubbuffers () const |
Returns true if the buffer uses subbuffers for storage. | |
virtual size_t | numsubbuffers () const |
Returns the number of subbuffers in the buffer. | |
virtual size_t | numsubbuffers () const |
Returns the number of subbuffers in the buffer. | |
virtual WvBufStore * | firstsubbuffer () const |
Returns the first subbuffer. | |
virtual WvBufStore * | firstsubbuffer () const |
Returns the first subbuffer. | |
virtual void | appendsubbuffer (WvBufStore *buffer, bool autofree) |
Appends a subbuffer to the buffer. | |
virtual void | appendsubbuffer (WvBufStore *buffer, bool autofree) |
Appends a subbuffer to the buffer. | |
virtual void | prependsubbuffer (WvBufStore *buffer, bool autofree) |
Prepends a subbuffer to the buffer. | |
virtual void | prependsubbuffer (WvBufStore *buffer, bool autofree) |
Prepends a subbuffer to the buffer. | |
virtual bool | unlinksubbuffer (WvBufStore *buffer, bool allowautofree) |
Unlinks the specified subbuffer. | |
virtual bool | unlinksubbuffer (WvBufStore *buffer, bool allowautofree) |
Unlinks the specified subbuffer. | |
Protected Attributes | |
WvBufStore * | buf |
int | start |
size_t | length |
size_t | shift |
int | granularity |
The WvBufCursor storage class.
Definition at line 511 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
WvBufCursorStore::WvBufCursorStore | ( | size_t | _granularity, |
WvBufStore * | _buf, | ||
int | _start, | ||
size_t | _length | ||
) |
Definition at line 1183 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
Definition at line 1191 of file wvbufferstore.cc.
|
virtual |
Implements WvBufStore.
Definition at line 1197 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
Definition at line 1203 of file wvbufferstore.cc.
|
virtual |
Implements WvBufStore.
Definition at line 1214 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
Definition at line 1224 of file wvbufferstore.cc.
|
virtual |
Implements WvBufStore.
Definition at line 1232 of file wvbufferstore.cc.
|
virtual |
Implements WvBufStore.
Definition at line 1240 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
Definition at line 1252 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
Definition at line 1262 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
Definition at line 1274 of file wvbufferstore.cc.
|
virtual |
Implements WvBufStore.
Definition at line 1246 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvReadOnlyBufferStoreMixin< WvBufStore >.
Definition at line 1283 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvReadOnlyBufferStoreMixin< WvBufStore >.
Definition at line 1290 of file wvbufferstore.cc.
|
virtual |
Reimplemented from WvBufStore.
|
virtual |
Implements WvBufStore.
|
virtual |
Reimplemented from WvBufStore.
|
virtual |
Implements WvBufStore.
|
virtual |
Reimplemented from WvBufStore.
|
virtual |
Implements WvBufStore.
|
virtual |
Implements WvBufStore.
|
virtual |
Reimplemented from WvBufStore.
|
virtual |
Reimplemented from WvBufStore.
|
virtual |
Reimplemented from WvBufStore.
|
virtual |
Implements WvBufStore.
|
virtual |
Reimplemented from WvReadOnlyBufferStoreMixin< WvBufStore >.
|
virtual |
Reimplemented from WvReadOnlyBufferStoreMixin< WvBufStore >.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 148 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 148 of file include/wvbufstore.h.
|
inlinevirtualinherited |
Reimplemented from WvBufStore.
Definition at line 152 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlinevirtualinherited |
Reimplemented from WvBufStore.
Definition at line 152 of file include/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 156 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 156 of file include/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 162 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 162 of file include/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 167 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlinevirtualinherited |
Implements WvBufStore.
Definition at line 167 of file include/wvbufstore.h.
|
inlinevirtualinherited |
Reimplemented from WvBufStore.
Definition at line 177 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlinevirtualinherited |
Reimplemented from WvBufStore.
Definition at line 177 of file include/wvbufstore.h.
|
inherited |
Definition at line 111 of file wvbufferstore.cc.
|
inherited |
Definition at line 128 of file wvbufferstore.cc.
|
inherited |
Definition at line 146 of file wvbufferstore.cc.
|
inherited |
Definition at line 163 of file wvbufferstore.cc.
|
inherited |
Definition at line 170 of file wvbufferstore.cc.
|
inherited |
Definition at line 229 of file wvbufferstore.cc.
|
inlineprotectedvirtualinherited |
Returns true if the buffer uses subbuffers for storage.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 96 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Returns true if the buffer uses subbuffers for storage.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 96 of file include/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Returns the number of subbuffers in the buffer.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 100 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Returns the number of subbuffers in the buffer.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 100 of file include/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Returns the first subbuffer.
Returns: the buffer or NULL if none or not supported
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 107 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Returns the first subbuffer.
Returns: the buffer or NULL if none or not supported
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 107 of file include/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Appends a subbuffer to the buffer.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 111 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Appends a subbuffer to the buffer.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 111 of file include/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Prepends a subbuffer to the buffer.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 115 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Prepends a subbuffer to the buffer.
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 115 of file include/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Unlinks the specified subbuffer.
Only autofrees the buffer if allowautofree == true. Returns: the autofree flag for the buffer
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 123 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
inlineprotectedvirtualinherited |
Unlinks the specified subbuffer.
Only autofrees the buffer if allowautofree == true. Returns: the autofree flag for the buffer
Reimplemented in WvLinkedBufferStore, and WvLinkedBufferStore.
Definition at line 123 of file include/wvbufstore.h.
|
protected |
Definition at line 515 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
protected |
Definition at line 516 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
protected |
Definition at line 517 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
protected |
Definition at line 518 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.
|
protectedinherited |
Definition at line 33 of file debian/libwvstreams-dev/usr/include/wvstreams/wvbufstore.h.