TQ3ObjectWriteMethod
You can define a method to write an object of your custom type to a file object.
typedef TQ3Status (*TQ3ObjectWriteMethod) ( const void *object, TQ3FileObject file);
object- A QuickDraw 3D object.
file- A file object.
DESCRIPTION
YourTQ3ObjectWriteMethodfunction should write the root object data of the object specified by theobjectparameter, starting at the current location in the file object specified by thefileparameter. You should use the primitive data type_Writefunctions described in "Reading and Writing File Data," beginning on page 17-27 (for example,Q3Uns64_WriteandQ3Point3D_Write).RESULT CODES
YourTQ3ObjectWriteMethodfunction should returnkQ3Successif it is successful andkQ3Failureotherwise.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help