cloudy trunk
Loading...
Searching...
No Matches
container_classes.cpp File Reference
#include "cddefines.h"
#include "container_classes.h"
Include dependency graph for container_classes.cpp:

Go to the source code of this file.

Functions

 INSTANTIATE_MULTI_ARR (bool, lgBOUNDSCHECKVAL)
 INSTANTIATE_MULTI_ARR (char, lgBOUNDSCHECKVAL)
 INSTANTIATE_MULTI_ARR (int, lgBOUNDSCHECKVAL)
 INSTANTIATE_MULTI_ARR (long, lgBOUNDSCHECKVAL)
 INSTANTIATE_MULTI_ARR (realnum, lgBOUNDSCHECKVAL)
 INSTANTIATE_MULTI_ARR (double, lgBOUNDSCHECKVAL)
void do_dump_state (const void *buf, size_t nelem, size_t size, FILE *out, int32 magic)
void do_restore_state (void *buf, size_t nelem, size_t size, FILE *in, int32 magic)

Function Documentation

◆ do_dump_state()

void do_dump_state ( const void * buf,
size_t nelem,
size_t size,
FILE * out,
int32 magic )

dump the array to a file in binary format; the file must already have been opened prior to calling this method

Definition at line 25 of file container_classes.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.

Referenced by iterator< bool, 2 >::dump_state(), and iterator< bool >::dump_state().

◆ do_restore_state()

void do_restore_state ( void * buf,
size_t nelem,
size_t size,
FILE * in,
int32 magic )

restore the array from a file in binary format; the file must already have been opened prior to calling this method and the array must already have been allocated in exactly the same way as when it was dumped; some checks are performed, but not every error is excluded

Definition at line 45 of file container_classes.cpp.

References cdEXIT, DEBUG_ENTRY, EXIT_FAILURE, and ioQQQ.

Referenced by iterator< bool, 2 >::restore_state(), and iterator< bool >::restore_state().

◆ INSTANTIATE_MULTI_ARR() [1/6]

INSTANTIATE_MULTI_ARR ( bool ,
lgBOUNDSCHECKVAL  )

References lgBOUNDSCHECKVAL.

◆ INSTANTIATE_MULTI_ARR() [2/6]

INSTANTIATE_MULTI_ARR ( char ,
lgBOUNDSCHECKVAL  )

References lgBOUNDSCHECKVAL.

◆ INSTANTIATE_MULTI_ARR() [3/6]

INSTANTIATE_MULTI_ARR ( double ,
lgBOUNDSCHECKVAL  )

References lgBOUNDSCHECKVAL.

◆ INSTANTIATE_MULTI_ARR() [4/6]

INSTANTIATE_MULTI_ARR ( int ,
lgBOUNDSCHECKVAL  )

References lgBOUNDSCHECKVAL.

◆ INSTANTIATE_MULTI_ARR() [5/6]

INSTANTIATE_MULTI_ARR ( long ,
lgBOUNDSCHECKVAL  )

References lgBOUNDSCHECKVAL.

◆ INSTANTIATE_MULTI_ARR() [6/6]

INSTANTIATE_MULTI_ARR ( realnum ,
lgBOUNDSCHECKVAL  )

References lgBOUNDSCHECKVAL.