![]() |
VR-Forces 4.0.4 Class Documentation
|
The putSelf() and putData() member functions write data to a file, as follows:
The putData() member function is specified as:
virtual void putData(FILE *fp, int indentLevel = 0);
The following example shows the putData() member function for the DtRwString (rwString.h) class, provided by VR-Forces.
void DtRwString::putData(FILE * fp, int) { fprintf(fp, " \"%s\"", string()); }
[<< Readable, Writable Objects] [Home] [Top of Page] [Reading Data from a File >>]