MySQL 5.6.14 Source Code Document
|
#include <DataBuffer.hpp>
Classes | |
struct | ConstDataBufferIterator |
struct | DataBufferIterator |
struct | Head |
struct | Segment |
Public Types | |
typedef ArrayPool< Segment > | DataBufferPool |
typedef DataBufferIterator | Iterator |
Public Member Functions | |
DataBuffer (DataBufferPool &) | |
bool | seize (Uint32 n) |
void | release () |
Uint32 | getSize () const |
bool | isEmpty () const |
void | print (FILE *) const |
bool | first (DataBufferIterator &) |
bool | next (DataBufferIterator &) |
bool | next (DataBufferIterator &, Uint32 hops) |
bool | nextPool (DataBufferIterator &) |
bool | position (DataBufferIterator &it, Uint32 pos) |
bool | first (ConstDataBufferIterator &) const |
bool | next (ConstDataBufferIterator &) const |
bool | next (ConstDataBufferIterator &, Uint32 hops) const |
bool | nextPool (ConstDataBufferIterator &) const |
bool | importable (const DataBufferIterator, Uint32 len) |
bool | import (const DataBufferIterator &, const Uint32 *src, Uint32 len) |
bool | append (const Uint32 *src, Uint32 len) |
Static Public Member Functions | |
static Uint32 | getSegmentSize () |
Protected Attributes | |
Head | head |
DataBufferPool & | thePool |
Buffer of data words.
Definition at line 30 of file DataBuffer.hpp.
|
inline |
Constructor
Definition at line 311 of file DataBuffer.hpp.
|
inline |
Increases size with appends len words
Definition at line 256 of file DataBuffer.hpp.
|
inline |
Iterator hops Number of words to jump forward
Definition at line 418 of file DataBuffer.hpp.
|
inline |
Iterator
Definition at line 507 of file DataBuffer.hpp.
|
inlinestatic |
Get segment size in words (template argument)
Definition at line 411 of file DataBuffer.hpp.
|
inline |
Get size of databuffer, in words
Definition at line 596 of file DataBuffer.hpp.
|
inline |
Stores len no of words starting at location src in databuffer at position given in iterator.
Definition at line 220 of file DataBuffer.hpp.
|
inline |
Returns true if it is possible to store len no of words at position given in iterator.
Definition at line 199 of file DataBuffer.hpp.
|
inline |
Check if buffer is empty
Definition at line 603 of file DataBuffer.hpp.
|
inline |
Set iterator to position
Definition at line 205 of file DataBuffer.hpp.
|
inline |
Seize n words, Release
No extra allocation needed
Check for space
Definition at line 317 of file DataBuffer.hpp.