COleSafeArray Members
Construction
Constructs a COleSafeArray object. |
Operations
Gives control of the existing VARIANT array to the COleSafeArray object. |
|
Frees all data in the underlying VARIANT. |
|
Detaches the VARIANT array from the COleSafeArray object (so that the data will not be freed). |
Win32 API Wrappers
Retrieves a pointer to the array data. |
|
Allocates memory for the array. |
|
Allocates memory for the safe array descriptor. |
|
Creates a copy of an existing array. |
|
Creates a safe array. |
|
Destroys an existing array. |
|
Destroys data in a safe array. |
|
Destroys a descriptor of a safe array. |
|
Returns the number of dimensions in the array. |
|
Copies the contents of the safe array into a CByteArray. |
|
Retrieves a single element of the safe array. |
|
Returns the size, in bytes, of one element in a safe array. |
|
Returns the lower bound for any dimension of a safe array. |
|
Returns the upper bound for any dimension of a safe array. |
|
Increments the lock count of an array and places a pointer to the array data in the array descriptor. |
|
Returns a pointer to the indexed element. |
|
Assigns a single element into the array. |
|
Changes the least significant (rightmost) bound of a safe array. |
|
Decrements the lock count of an array and invalidates the pointer retrieved by AccessData. |
|
Decrements the lock count of an array so it can be freed or resized. |
One-Dimensional Array Operations
Creates a one-dimensional COleSafeArray object. |
|
Returns the number of elements in the one-dimensional COleSafeArray object. |
|
Changes the number of elements in a one-dimensional COleSafeArray object. |
Operators
Outputs the contents of a COleSafeArray object to the dump context. |
|
Copies values into a COleSafeArray object (SAFEARRAY, VARIANT, COleVariant, or COleSafeArray array). |
|
Compares two variant arrays (SAFEARRAY, VARIANT, COleVariant, or COleSafeArray arrays). |
|
Accesses the underlying VARIANT structure of the COleSafeArray object. |
|
Accesses the underlying VARIANT structure of the COleSafeArray object. |