OCC Main Page | FoundationClasses | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

FoundationClasses
TKernel
Standard


Standard_MMgrRaw Class Reference

#include <Standard_MMgrRaw.hxx>

Inheritance diagram for Standard_MMgrRaw:

Inheritance graph
[legend]

Public Member Functions

Standard_EXPORT Standard_MMgrRaw (const Standard_Boolean aClear=Standard_False)
 Constructor; if aClear is True, the memory will be nullified upon allocation.
virtual Standard_EXPORT Standard_Address Allocate (const Standard_Size aSize)
 Allocate aSize bytes.
virtual Standard_EXPORT Standard_Address Reallocate (Standard_Address &aPtr, const Standard_Size aSize)
 Reallocate aPtr to the size aSize. The pointer aPtr is nullified; new pointer is returned.
virtual Standard_EXPORT void Free (Standard_Address &)
 Free allocated memory. The pointer is nullified.

Protected Attributes

Standard_Boolean myClear

Detailed Description

Implementation of raw OCC memory manager which uses standard C functions: malloc (or calloc), free and realloc without any optimization


Constructor & Destructor Documentation

Standard_EXPORT Standard_MMgrRaw::Standard_MMgrRaw const Standard_Boolean  aClear = Standard_False  ) 
 


Member Function Documentation

virtual Standard_EXPORT Standard_Address Standard_MMgrRaw::Allocate const Standard_Size  aSize  )  [virtual]
 

Implements Standard_MMgrRoot.

virtual Standard_EXPORT void Standard_MMgrRaw::Free Standard_Address  )  [virtual]
 

Implements Standard_MMgrRoot.

virtual Standard_EXPORT Standard_Address Standard_MMgrRaw::Reallocate Standard_Address aPtr,
const Standard_Size  aSize
[virtual]
 

Implements Standard_MMgrRoot.


Field Documentation

Standard_Boolean Standard_MMgrRaw::myClear [protected]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:13:21 2008 for OpenCASCADE by  doxygen 1.4.1