Base class for vrq objects. More...
#include <cobject.h>
Public Member Functions | |
void * | operator new (size_t size, CObstack *stack) |
Allocate object on CObstack heap. | |
void | operator delete (void *object) |
Destroy object. |
Base class for vrq objects.
Gives objects the ability to be allocated with CObstack allocators
void CObject::operator delete | ( | void * | object | ) | [inline] |
Destroy object.
Does nothing as obstacks are release all at once.
object | Object to destroy. |
void* CObject::operator new | ( | size_t | size, | |
CObstack * | stack | |||
) | [inline] |
Allocate object on CObstack heap.
size | Size of object to create. | |
stack | Heap to use for allocation. |