WvStreams
|
A buffer that acts like a cursor over a portion of another buffer. More...
#include <wvbufbase.h>
Public Member Functions | |
WvBufCursorBase (WvBufBase< T > &_buf, int _start, size_t _length) | |
Creates a new buffer. More... | |
Protected Types | |
typedef T | Elem |
Protected Attributes | |
WvBufCursorStore | mystore |
A buffer that acts like a cursor over a portion of another buffer.
The underlying buffer's get() position is not affected by reading from this buffer.
"T" is the type of object to store, must be a primitive or a struct without special initialization, copy, or assignment semantics
Definition at line 1014 of file wvbufbase.h.
|
inline |
Creates a new buffer.
Does not take ownership of the supplied buffer.
"_buf" is a pointer to the buffer to be wrapped "_start" is the buffer offset of the window start position "_length" is the length of the window
Definition at line 1032 of file wvbufbase.h.