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

FoundationClasses
TKernel
Standard


Standard Class Reference

#include <Standard.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT Standard_Address Allocate (const Standard_Size aSize)
 Allocates memory blocks
aSize - bytes to allocate
.
static Standard_EXPORT void Free (Standard_Address &aStorage)
 Deallocates memory blocks
aStorage - previously allocated memory block to be freed
.
static Standard_EXPORT Standard_Address Reallocate (Standard_Address &aStorage, const Standard_Size aNewSize)
 Reallocates memory blocks
aStorage - previously allocated memory block
aNewSize - new size in bytes
.
static Standard_EXPORT Standard_Integer Purge ()
 Deallocates the storage retained on the free list
and clears the list.
Returns non-zero if some memory has been actually freed.
.
static Standard_EXPORT Standard_Boolean IsReentrant ()
 Returns boolean flag indicating whether OCCT is
operating in reentrant mode. This flag affects OCCT
memory manager, exception and signal handling,
operations with handles etc., making them thread-safe.
.
static Standard_EXPORT void SetReentrant (const Standard_Boolean isReentrant)
 Sets boolean flag indicating whether OCCT is
operating in reentrant mode.
See method IsReentrant() for more information.
Note: This method may be called only when no any other
thread using OCCT exists
.


Member Function Documentation

static Standard_EXPORT Standard_Address Standard::Allocate const Standard_Size  aSize  )  [static]
 

static Standard_EXPORT void Standard::Free Standard_Address aStorage  )  [static]
 

static Standard_EXPORT Standard_Boolean Standard::IsReentrant  )  [static]
 

void Standard::operator delete void *  anAddress  )  [inline]
 

void* Standard::operator new size_t  size  )  [inline]
 

void* Standard::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT Standard_Integer Standard::Purge  )  [static]
 

static Standard_EXPORT Standard_Address Standard::Reallocate Standard_Address aStorage,
const Standard_Size  aNewSize
[static]
 

static Standard_EXPORT void Standard::SetReentrant const Standard_Boolean  isReentrant  )  [static]
 


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