3 #include "g_cont_HeapAbstract.h"
4 #include "g_cont_AllocationPolicyAbstract.h"
10 #define DEFAULT_ALLOCATION_DELTA 8
26 virtual void setEmpty ( ) = 0;
27 virtual int getLbound ( )
const = 0;
28 virtual int getUbound ( )
const = 0;
29 size_t getSize ( )
const {
return getUbound ( ) - getLbound ( ) + 1; }
32 HeapAbstract* getHeapP ( )
const {
return mAllocPolicyP->getHeapP(); }
34 bool isAnIndex (
int aIndex )
const {
return ( aIndex >= getLbound ( ) && aIndex <= getUbound ( ) ); }
Definition: g_cont_AllocationPolicyAbstract.h:16
Definition: g.mthread.ThreadSimpleEvent.h:5
Definition: g_cont_HeapAbstract.h:20
Definition: g_cont_unspec.h:18