#include <mempool.h>
Public Member Functions | |
strstack (int bs=1000) | |
~strstack () | |
const char * | push (const char *s) |
const char * | pop () |
const char * | top () |
void | stat () |
int | used () |
int | wasted () |
The stack is composed of
Definition at line 112 of file mempool.h.
strstack::strstack | ( | int | bs = 1000 |
) |
Definition at line 216 of file mempool.cpp.
strstack::~strstack | ( | ) |
const char * strstack::pop | ( | ) |
Definition at line 291 of file mempool.cpp.
const char * strstack::push | ( | const char * | s | ) |
Definition at line 247 of file mempool.cpp.
Referenced by dictionary::dictionary(), dictionary::encode(), and dictionary::load().
void strstack::stat | ( | ) |
const char * strstack::top | ( | ) |
Definition at line 337 of file mempool.cpp.
int strstack::used | ( | ) | [inline] |
Definition at line 136 of file mempool.h.
Referenced by dictionary::stat().