44 long Get(
long iIndex);
53 void Set(
long iIndex,
long value);
~HxLongSafeArray()
Destroy the array when the object created it.
void SetFromVector(std::vector< int > &values)
Replace the elements with those of a vector.
void GetVariant(VARIANT *variant)
Refer a variant to the array, without copying it.
long Get(long iIndex)
Read an element.
void Set(long iIndex, long value)
Write an element.
HxLongSafeArray(std::vector< int > &values)
Create an array that the object destroys, with the elements of a vector.
HxLongSafeArray(SAFEARRAY *array)
Wrap an array, or create an empty one that the object destroys.
HxSafeArray(SAFEARRAY *array)
Wrap an array and count its elements.