MOAB: Mesh Oriented datABase  (version 5.4.1)
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

Defines

#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)

Define Documentation

#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.

#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.

#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.

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

Definition at line 19 of file ArrayManager.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines