Allocate some memory at construction and release it at destruction. More...
Public Member Functions | |
| MemoryReserve () | |
| ~MemoryReserve () | |
Data Fields | |
| char * | myBuf |
Allocate some memory at construction and release it at destruction.
Is used to be able to continue working after mesh generation breaks due to lack of memory
Definition at line 71 of file SMESH_subMesh.cxx.
| MemoryReserve.MemoryReserve | ( | ) |
Definition at line 74 of file SMESH_subMesh.cxx.
: myBuf( new char[1024*1024*2] ){}
| MemoryReserve.~MemoryReserve | ( | ) |
Definition at line 75 of file SMESH_subMesh.cxx.
{ delete [] myBuf; }
| char* MemoryReserve.myBuf |
Definition at line 73 of file SMESH_subMesh.cxx.