ICP  1
variant_utils.h
Go to the documentation of this file.
1 
2 int allocateArrayVariant(VARIANT* v, VARTYPE v_type, int* dims_array, int ndims);
3 
4 int accessArrayVariant(VARIANT* v, float** values);
5 int accessArrayVariant(VARIANT* v, double** values);
6 int accessArrayVariant(VARIANT* v, long** values);
7 int accessArrayVariant(VARIANT* v, VARIANT** values);
8 int accessArrayVariant(VARIANT* v, BSTR** values);
9 
10 int unaccessArrayVariant(VARIANT* v);
11 
12 int arrayVariantLength(VARIANT* v);
13 int arrayVariantDimensions(VARIANT* v, int dims_array[], int& ndims);
14 
15 template <typename T>
16 int makeVariantFromArray(VARIANT* v, const T* the_array, int n);
17 
18 template <typename T>
19 int makeVariantFromArray(VARIANT* v, const std::vector<T>& the_array);
int allocateArrayVariant(VARIANT *v, VARTYPE v_type, int *dims_array, int ndims)
static int accessArrayVariant(VARIANT *v, void **values, VARTYPE vt)
int arrayVariantLength(VARIANT *v)
int arrayVariantDimensions(VARIANT *v, int dims_array[], int &ndims)
int unaccessArrayVariant(VARIANT *v)
int makeVariantFromArray(VARIANT *v, const std::vector< T > &the_array)