Public Member Functions | |
Constructor / Destructor | |
CP_PersistantWriter_Binary (CPLAT::CP_Persistant *inPersistant) | |
Constructor. | |
virtual | ~CP_PersistantWriter_Binary () |
Destructor. | |
Getters | |
virtual CPLAT::FourCharCode | GetType () |
Writing | |
virtual CPLAT::CP_FileSystemSpec | Write (const CPLAT::CP_FileSystemSpec &inFileSpec, CPLAT::FourCharCode inType) |
|
Constructor.
|
|
Destructor.
|
|
Returns the type of data we are writing. In this demo we return 'BIND' for binary data.
|
|
Creates a file for writing into, and then calls the WritePersistantData method to handle the actual writing of the data to the created file. In this demo we will set the files creator code to 'TTXT' to be able to be opened by SimpleText.
|