Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberItem


GetFlatSize

Retrieves the length of this Cyberdog item's flattened representation.

long GetFlatSize ();
return value
The length, in bytes, of the flattened CyberItem object.
DISCUSSION
This method should return the size of this Cyberdog item when it is converted to its flattened representation.You can call this method to retrieve the size information in order to allocate a buffer before calling the Flatten method. The superclass implementation returns 0.

If you subclass CyberItem, you must override this method. Your override must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The Flatten method (page 233).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996