The WvBufCursor storage class.
More...
#include <wvbufstore.h>
|
| 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 | optallocable () const |
|
virtual void * | alloc (size_t count) |
|
virtual void | unalloc (size_t count) |
|
virtual size_t | unallocable () const |
|
virtual void | merge (WvBufStore &instore, size_t count) |
|
void | move (void *buf, size_t count) |
|
void | copy (void *buf, int offset, size_t count) |
|
void | put (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 | basicmerge (WvBufStore &instore, size_t count) |
|
The WvBufCursor storage class.
Definition at line 511 of file wvbufstore.h.
◆ WvBufCursorStore()
WvBufCursorStore::WvBufCursorStore |
( |
size_t |
_granularity, |
|
|
WvBufStore * |
_buf, |
|
|
int |
_start, |
|
|
size_t |
_length |
|
) |
| |
◆ isreadable()
bool WvBufCursorStore::isreadable |
( |
| ) |
const |
|
virtual |
◆ used()
size_t WvBufCursorStore::used |
( |
| ) |
const |
|
virtual |
◆ optgettable()
size_t WvBufCursorStore::optgettable |
( |
| ) |
const |
|
virtual |
◆ get()
const void * WvBufCursorStore::get |
( |
size_t |
count | ) |
|
|
virtual |
◆ skip()
void WvBufCursorStore::skip |
( |
size_t |
count | ) |
|
|
virtual |
◆ unget()
void WvBufCursorStore::unget |
( |
size_t |
count | ) |
|
|
virtual |
◆ ungettable()
size_t WvBufCursorStore::ungettable |
( |
| ) |
const |
|
virtual |
◆ peekable()
size_t WvBufCursorStore::peekable |
( |
int |
offset | ) |
const |
|
virtual |
◆ optpeekable()
size_t WvBufCursorStore::optpeekable |
( |
int |
offset | ) |
const |
|
virtual |
◆ peek()
const void * WvBufCursorStore::peek |
( |
int |
offset, |
|
|
size_t |
count |
|
) |
| |
|
virtual |
◆ zap()
void WvBufCursorStore::zap |
( |
| ) |
|
|
virtual |
◆ iswritable()
bool WvBufCursorStore::iswritable |
( |
| ) |
const |
|
virtual |
◆ mutablepeek()
void * WvBufCursorStore::mutablepeek |
( |
int |
offset, |
|
|
size_t |
count |
|
) |
| |
|
virtual |
◆ free()
◆ optallocable()
◆ alloc()
◆ unalloc()
◆ unallocable()
◆ merge()
◆ move()
void WvBufStore::move |
( |
void * |
buf, |
|
|
size_t |
count |
|
) |
| |
|
inherited |
◆ copy()
void WvBufStore::copy |
( |
void * |
buf, |
|
|
int |
offset, |
|
|
size_t |
count |
|
) |
| |
|
inherited |
◆ put()
void WvBufStore::put |
( |
const void * |
data, |
|
|
size_t |
count |
|
) |
| |
|
inherited |
◆ fastput()
void WvBufStore::fastput |
( |
const void * |
data, |
|
|
size_t |
count |
|
) |
| |
|
inherited |
◆ poke()
void WvBufStore::poke |
( |
const void * |
data, |
|
|
int |
offset, |
|
|
size_t |
count |
|
) |
| |
|
inherited |
◆ basicmerge()
void WvBufStore::basicmerge |
( |
WvBufStore & |
instore, |
|
|
size_t |
count |
|
) |
| |
|
inherited |
◆ usessubbuffers()
virtual bool WvBufStore::usessubbuffers |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ numsubbuffers()
virtual size_t WvBufStore::numsubbuffers |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ firstsubbuffer()
virtual WvBufStore * WvBufStore::firstsubbuffer |
( |
| ) |
const |
|
inlineprotectedvirtualinherited |
◆ appendsubbuffer()
virtual void WvBufStore::appendsubbuffer |
( |
WvBufStore * |
buffer, |
|
|
bool |
autofree |
|
) |
| |
|
inlineprotectedvirtualinherited |
◆ prependsubbuffer()
virtual void WvBufStore::prependsubbuffer |
( |
WvBufStore * |
buffer, |
|
|
bool |
autofree |
|
) |
| |
|
inlineprotectedvirtualinherited |
◆ unlinksubbuffer()
virtual bool WvBufStore::unlinksubbuffer |
( |
WvBufStore * |
buffer, |
|
|
bool |
allowautofree |
|
) |
| |
|
inlineprotectedvirtualinherited |
Unlinks the specified subbuffer.
Only autofrees the buffer if allowautofree == true. Returns: the autofree flag for the buffer
Reimplemented in WvLinkedBufferStore.
Definition at line 123 of file wvbufstore.h.
◆ buf
◆ start
int WvBufCursorStore::start |
|
protected |
◆ length
size_t WvBufCursorStore::length |
|
protected |
◆ shift
size_t WvBufCursorStore::shift |
|
protected |
◆ granularity
int WvBufStore::granularity |
|
protectedinherited |
The documentation for this class was generated from the following files: