Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSize kObject_VSize ( kObject  object)
protected

Protected virtual method that calculates the total size (in bytes) of the object instance.

This method can be overridden in derived collection classes to support kObject_Size.

Collection classes should report the size of any aggregated child elements.

There is no requirement to call kObject_VSize from derived VSize methods. However, derived classes have the option of doing so, if it simplifies implementation.

Parameters
objectObject instance.
Returns
Operation status.