structpool.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define declareStructPool(Pool, T)
#define implementStructPool(Pool, T)

Define Documentation

#define declareStructPool ( Pool,
 ) 
Value:
class Pool { \
public: \
   Pool(long count); \
   ~Pool(); \
   T* alloc(); \
   void hpfree(T*); \
   int maxget() { return maxget_;} \
   void free_all(); \
private: \
   void grow(); \
private: \
   T** items_; \
   T* pool_; \
   long pool_size_; \
   long count_; \
   long get_; \
   long put_; \
   long nget_; \
   long maxget_; \
   Pool* chain_; \
}; \
 \
#define implementStructPool ( Pool,
 ) 
Generated on Mon Jun 13 08:10:29 2011 for NEURON by  doxygen 1.6.3