getObjectSize()
This function returns the size of an object in a CPad.
Syntax
virtual size_t getObjectSize(void *ptr);
Description
This function returns the size, in bytes, of the object allocated at the location indicated by the specified pointer object.
Exceptions
This function throws an exception if an invalid CPad is specified.