Back to index

salome-smesh  6.5.0
Public Member Functions | Public Attributes
MemoryReserve Struct Reference

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

List of all members.

Public Member Functions

 MemoryReserve ()
 ~MemoryReserve ()

Public Attributes

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 breaks due to lack of memory

Definition at line 73 of file SMESH_subMesh.cxx.


Constructor & Destructor Documentation

Definition at line 76 of file SMESH_subMesh.cxx.

: myBuf( new char[1024*1024*2] ){}

Definition at line 77 of file SMESH_subMesh.cxx.

{ delete [] myBuf; }

Member Data Documentation

Definition at line 75 of file SMESH_subMesh.cxx.


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