#include <query.h>
Public Member Functions | |
void | free (dbQueryElement *first, dbQueryElement **lastNext) |
void * | allocate (size_t size) |
Static Public Attributes | |
static dbQueryElementAllocator | instance |
Friends | |
class | dbDatabase |
Allocator of query elements. This class links deallocated elements in the list of free elements, and reused them in future. So number of system memory allocator invocations is dramatically reduced. Cleanup of free elements lst is performed by dbDatabase::cleanup()
method