Function
Return size information.
Syntax
#include <dx/dx.h>
int DXTypeSize(Type t)
int DXCategorySize(Category c)
Functional Details
DXTypeSize returns the size in bytes of a variable
of type t.
DXCategorySize returns the size multiplier for
category c.
For a variable of type t and category c, the size in bytes is DXTypeSize(t) * DXCategorySize(c).
Note: | This is the size of a single item of that type (e.g., a single component of a 3-vector). DXGetItemSize, in contrast, returns the size in bytes of the 3-vector. |
The type is one of the following:
The category is either CATEGORY_REAL or CATEGORY_COMPLEX.
Return Value
DXTypeSize returns the size in bytes. DXCategorySize returns the multiplier in bytes.
See Also
[Data Explorer Home Page | Contact Data Explorer | Same document on Data Explorer Home Page ]