gp_parse_tree::MemPool Class Reference

Pool allocator for the subtree and parse tree classes (homebrew and not compliant to ANSI allocator requirements) (c) copyright Maarten Keijzer 1999, 2000. More...

#include <parse_tree.h>

List of all members.

Public Member Functions

 MemPool (unsigned int sz)
void * allocate ()
void deallocate (void *b)

Private Member Functions

void grow ()

Private Attributes

Chunk * chunks
const unsigned int esize
Link * head

Classes

struct  Chunk
struct  Link


Detailed Description

Pool allocator for the subtree and parse tree classes (homebrew and not compliant to ANSI allocator requirements) (c) copyright Maarten Keijzer 1999, 2000.

Permission to copy, use, modify, sell and distribute this software is granted provided this copyright notice appears in all copies. This software is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.

Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice.

Definition at line 185 of file parse_tree.h.


The documentation for this class was generated from the following file:

Generated on Thu Jan 1 23:19:52 2009 for EvolvingObjects by  doxygen 1.5.5