MOAB: Mesh Oriented datABase  (version 5.5.0)
ArrayManager.hpp File Reference
#include <cstdlib>
+ Include dependency graph for ArrayManager.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ArrayManager
 

Macros

#define ALLOC_CHECK_ARRAY(array, this_size)
 
#define ALLOC_CHECK_TAG_ARRAY(array, this_size)
 
#define KEEP_ARRAY(array)   array##_manager.keep_array()
 
#define ALLOC_CHECK_ARRAY_NOFAIL(array, this_size)
 

Macro Definition Documentation

◆ ALLOC_CHECK_ARRAY

#define ALLOC_CHECK_ARRAY (   array,
  this_size 
)
Value:
ArrayManager array##_manager( reinterpret_cast< void** >( array ), *( array##_allocated ), *( array##_size ), \
this_size, sizeof( **( array ) ), err ); \
if( iBase_SUCCESS != *err ) return

Definition at line 9 of file ArrayManager.hpp.

◆ ALLOC_CHECK_ARRAY_NOFAIL

#define ALLOC_CHECK_ARRAY_NOFAIL (   array,
  this_size 
)
Value:
ALLOC_CHECK_ARRAY( array, this_size ); \
KEEP_ARRAY( array )

Definition at line 23 of file ArrayManager.hpp.

◆ ALLOC_CHECK_TAG_ARRAY

#define ALLOC_CHECK_TAG_ARRAY (   array,
  this_size 
)
Value:
ArrayManager array##_manager( reinterpret_cast< void** >( array ), *( array##_allocated ), *( array##_size ), \
this_size, 1, err ); \
if( iBase_SUCCESS != *err ) return

Definition at line 14 of file ArrayManager.hpp.

◆ KEEP_ARRAY

#define KEEP_ARRAY (   array)    array##_manager.keep_array()

Definition at line 19 of file ArrayManager.hpp.