User`s guide
int ElementSize() const
Purpose Return size in bytes of element of array
C++
Syntax
#include "mclcppclass. h"
mwArray a(2, 2, mxDOUBLE_CLASS);
int size = a.ElementSize();// Should return sizeof(d oubl e)
Arguments None
Return
Value
The size in bytes of an elem ent of this ty pe of a rray.
Description Use this method to determine the size in by tes of an element of array
type.
Note If you d efine MX_COM PAT_32_OFF, this method is d efined as
size_t ElementSize() const.
C-49