/home66/gary/public_html/cloudy/c08_branch/source/container_classes.cpp File Reference

#include "cddefines.h"

Include dependency graph for container_classes.cpp:

Go to the source code of this file.

Functions

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

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 8 of file container_classes.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by flex_arr< float >::dump_state(), and multi_arr< float, 3 >::dump_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 28 of file container_classes.cpp.

References cdEXIT, DEBUG_ENTRY, and ioQQQ.

Referenced by flex_arr< float >::restore_state(), and multi_arr< float, 3 >::restore_state().


Generated on Mon Feb 16 12:04:18 2009 for cloudy by  doxygen 1.4.7