Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
Standard Class Reference

#include <Standard.hxx>

Static Public Member Functions

static Standard_Address Allocate (const Standard_Size aSize)
 Allocates memory blocks
aSize - bytes to allocate
More...
 
static void Free (const Standard_Address aStorage)
 Deallocates memory blocks
aStorage - previously allocated memory block to be freed
More...
 
template<typename T >
static void Free (T *&thePtr)
 
static Standard_Address Reallocate (const Standard_Address aStorage, const Standard_Size aNewSize)
 Reallocates memory blocks
aStorage - previously allocated memory block
aNewSize - new size in bytes
More...
 
static 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.
More...
 

Member Function Documentation

static Standard_Address Standard::Allocate ( const Standard_Size  aSize)
static

Allocates memory blocks
aSize - bytes to allocate

static void Standard::Free ( const Standard_Address  aStorage)
static

Deallocates memory blocks
aStorage - previously allocated memory block to be freed

template<typename T >
static void Standard::Free ( T *&  thePtr)
inlinestatic
static Standard_Integer Standard::Purge ( )
static

Deallocates the storage retained on the free list
and clears the list.
Returns non-zero if some memory has been actually freed.

static Standard_Address Standard::Reallocate ( const Standard_Address  aStorage,
const Standard_Size  aNewSize 
)
static

Reallocates memory blocks
aStorage - previously allocated memory block
aNewSize - new size in bytes


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