|
wavelength 1.0.0
|
One-dimensional OLE Automation array that a script host passes to or receives from the control. More...
#include <HxSafeArray.h>

Public Member Functions | |
| HxSafeArray (SAFEARRAY *array) | |
| Wrap an array and count its elements. | |
| int | NumItems () |
| Report the number of elements. | |
| void | Resize (int numItems) |
| Change the number of elements, with a lower bound of zero. | |
Protected Attributes | |
| int | mNumItems |
| SAFEARRAY * | mArray |
One-dimensional OLE Automation array that a script host passes to or receives from the control.
The object is 8 bytes. The class is not polymorphic, so its name and the names of its members are inferred from the source file and the assertion text.
| HxSafeArray::HxSafeArray | ( | SAFEARRAY * | array | ) |
Wrap an array and count its elements.
Failing to read a bound is a failure.
| array | The array. It is not copied. |
| int HxSafeArray::NumItems | ( | ) |
Report the number of elements.
| void HxSafeArray::Resize | ( | int | numItems | ) |
Change the number of elements, with a lower bound of zero.
| numItems | The new number of elements. |
|
protected |
The number of elements.
|
protected |
The array.