|
| SkDeque (size_t elemSize, int allocCount=1) |
| elemSize specifies the size of each individual element in the deque allocCount specifies how many elements are to be allocated as a block
|
|
| SkDeque (size_t elemSize, void *storage, size_t storageSize, int allocCount=1) |
|
bool | empty () const |
|
int | count () const |
|
size_t | elemSize () const |
|
const void * | front () const |
|
const void * | back () const |
|
void * | front () |
|
void * | back () |
|
void * | push_front () |
| push_front and push_back return a pointer to the memory space for the new element
|
|
void * | push_back () |
|
void | pop_front () |
|
void | pop_back () |
|
|
Block * | allocateBlock (int allocCount) |
|
void | freeBlock (Block *block) |
|
int | numBlocksAllocated () const |
| This returns the number of chunk blocks allocated by the deque. More...
|
|
|
void * | fFront |
|
void * | fBack |
|
Block * | fFrontBlock |
|
Block * | fBackBlock |
|
size_t | fElemSize |
|
void * | fInitialStorage |
|
int | fCount |
|
int | fAllocCount |
|
|
class | DequeUnitTestHelper |
|
int SkDeque::numBlocksAllocated |
( |
| ) |
const |
|
private |
This returns the number of chunk blocks allocated by the deque.
It can be used to gauge the effectiveness of the selected allocCount.
The documentation for this class was generated from the following file: