Loading...
 

Unload

Unload

virtual void Unload(FILE *fp);

Parameters
fp File pointer of an open output file

This function is called when unloading a database with CXOSDBU.
Data and relations of the object are written to the output file.
This applies to slots in their entirety, and to data members, insofar as they are known by the DDI of the class. If a class has other data not described in the DDI, it needs its own unload function:

 
void MY_CLASS::Unload(FILE *fp)
{ CX_CLASS::Unload(fp);
  // now dump additional data
  . . .
}