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

Estimates the memory consumed by this object, including any aggregated child elements.

The default implementation of this method reports only the size of the class instance (additional allocations performed by the class are excluded). Derived classes can override kObject_VSize to provide type-specific size estimates.

Parameters
objectObject.
Returns
Object size, in bytes.