getTotalSize()

This function returns the total size in bytes of all objects that are allocated by a CPad.

Syntax

virtual int32 getTotalSize()

Description

The function returns the current size in bytes allocated by the CPad. The function always returns a positive number if the pad is not empty, or 0 if the pad is empty. The sizes that make up the total are subject only to the restrictions of allocate()/deallocate().