Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

ObjectManagement.cpp File Reference

This file provides functions that create and finish several of the classes. More...

#include "CentumSharedCode.h"

Include dependency graph for ObjectManagement.cpp:


Functions

CENTUMSHAREDCODE_API CThingCreateCThing (IMemory *m, CProcessData *p)
 The CreateCThing function returns a new CThing object.
CENTUMSHAREDCODE_API CDefinitionCreateCDefinition (IMemory *m, CProcessData *p)
 The CreateCDefinition function returns a new CDefinition object.
CENTUMSHAREDCODE_API CScopeCreateCScope (IMemory *m, CScope *caller, CProcessData *process)
 The CreateCScope function returns a new CScope object.
CENTUMSHAREDCODE_API void FinishCScope (CScope *s)
 The FinishCScope function simply calls the ReleaseCScope function on the passed scope.
CENTUMSHAREDCODE_API CLocalCreateCLocal (IMemory *m)
 The CreateCLocal function returns a new CLocal object.
CENTUMSHAREDCODE_API CThingStackCreateCThingStack (IMemory *m)
 The CreateCThingStack function returns a new CThingStack object.

Detailed Description

This file provides functions that create and finish several of the classes.

These functions provide a layer of indirection between the code that uses these objects and their creation, so that changes in their size or layout will not affect them unless they rely on member varaibles or class size in some other way.


Function Documentation

CENTUMSHAREDCODE_API CDefinition* CreateCDefinition IMemory m,
CProcessData p
 

The CreateCDefinition function returns a new CDefinition object.

Parameters:
m the memory manager used to allocate memory for this object.
p the process that this object belongs to.
See also:
CDefinition

CENTUMSHAREDCODE_API CLocal* CreateCLocal IMemory m  ) 
 

The CreateCLocal function returns a new CLocal object.

Parameters:
m the memory manager used to allocate memory for this object.
See also:
CLocal

CENTUMSHAREDCODE_API CScope* CreateCScope IMemory m,
CScope caller,
CProcessData process
 

The CreateCScope function returns a new CScope object.

Parameters:
m the memory manager used to allocate memory for this object.
caller the scope which called the function this scope represents.
process the process that this object belongs to.
See also:
CScope

CENTUMSHAREDCODE_API CThing* CreateCThing IMemory m,
CProcessData p
 

The CreateCThing function returns a new CThing object.

The CThing returned by this function needs to have a CDictionary assigned to it for many parts of the code to function properly.

Parameters:
m the memory manager used to allocate memory for this object.
p the process that this object belongs to.
See also:
CThing

CENTUMSHAREDCODE_API CThingStack* CreateCThingStack IMemory m  ) 
 

The CreateCThingStack function returns a new CThingStack object.

Parameters:
m the memory manager used to allocate memory for this object.
See also:
CThingStack

CENTUMSHAREDCODE_API void FinishCScope CScope s  ) 
 

The FinishCScope function simply calls the ReleaseCScope function on the passed scope.

See also:
ReleaseCScope()

CScope


Generated on Sat Apr 16 16:31:09 2005 for Centum API by  doxygen 1.4.2