Version: 8.3.0
SMESH::MemoryReserve Struct Reference

Allocate some memory at construction and release it at destruction. More...

Public Member Functions

 MemoryReserve ()
 
void release ()
 
 ~MemoryReserve ()
 
 MemoryReserve ()
 
void Free ()
 
 ~MemoryReserve ()
 

Data Fields

char * myBuf
 

Detailed Description

Allocate some memory at construction and release it at destruction.

Is used to be able to continue working after mesh generation or visualization break due to lack of memory

Constructor & Destructor Documentation

SMESH::MemoryReserve::MemoryReserve ( )
SMESH::MemoryReserve::~MemoryReserve ( )

References release().

SMESH::MemoryReserve::MemoryReserve ( )
SMESH::MemoryReserve::~MemoryReserve ( )

References Free().

Member Function Documentation

void SMESH::MemoryReserve::Free ( )

References myBuf.

Referenced by ~MemoryReserve().

Field Documentation

char * MemoryReserve::myBuf

Referenced by Free(), and release().