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.

This method can be optionally overridden by kObject-derived classes to report the amount of memory consumed by an object. The default implementation reports only the size of the class instance (additional allocations performed by the class are excluded).

Parameters
objectObject.
Returns
Object size, in bytes.