vrq
Public Member Functions

CObject Class Reference

Base class for vrq objects. More...

#include <cobject.h>

Inheritance diagram for CObject:
CDataType CDecl CNode CSymbol CSimpleType CAttr CBlock CFref CGate CGenvar CInstance CMacro CNet CParam CPort CPortDir CVar

List of all members.

Public Member Functions

void * operator new (size_t size, CObstack *stack)
 Allocate object on CObstack heap.
void operator delete (void *object)
 Destroy object.

Detailed Description

Base class for vrq objects.

Gives objects the ability to be allocated with CObstack allocators


Member Function Documentation

void CObject::operator delete ( void *  object  )  [inline]

Destroy object.

Does nothing as obstacks are release all at once.

Parameters:
object Object to destroy.
void* CObject::operator new ( size_t  size,
CObstack stack 
) [inline]

Allocate object on CObstack heap.

Parameters:
size Size of object to create.
stack Heap to use for allocation.
Returns:
pointer to allocated object.

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