ICP  1
Functions
variant_utils.h File Reference

Go to the source code of this file.

Functions

int allocateArrayVariant (VARIANT *v, VARTYPE v_type, int *dims_array, int ndims)
 
int accessArrayVariant (VARIANT *v, float **values)
 
int accessArrayVariant (VARIANT *v, double **values)
 
int accessArrayVariant (VARIANT *v, long **values)
 
int accessArrayVariant (VARIANT *v, VARIANT **values)
 
int accessArrayVariant (VARIANT *v, BSTR **values)
 
int unaccessArrayVariant (VARIANT *v)
 
int arrayVariantLength (VARIANT *v)
 
int arrayVariantDimensions (VARIANT *v, int dims_array[], int &ndims)
 
template<typename T >
int makeVariantFromArray (VARIANT *v, const T *the_array, int n)
 
template<typename T >
int makeVariantFromArray (VARIANT *v, const std::vector< T > &the_array)
 

Function Documentation

int accessArrayVariant ( VARIANT *  v,
float **  values 
)

Definition at line 50 of file variant_utils.cpp.

int accessArrayVariant ( VARIANT *  v,
double **  values 
)

Definition at line 55 of file variant_utils.cpp.

int accessArrayVariant ( VARIANT *  v,
long **  values 
)

Definition at line 60 of file variant_utils.cpp.

int accessArrayVariant ( VARIANT *  v,
VARIANT **  values 
)

Definition at line 70 of file variant_utils.cpp.

int accessArrayVariant ( VARIANT *  v,
BSTR **  values 
)

Definition at line 65 of file variant_utils.cpp.

int allocateArrayVariant ( VARIANT *  v,
VARTYPE  v_type,
int *  dims_array,
int  ndims 
)

Definition at line 6 of file variant_utils.cpp.

int arrayVariantDimensions ( VARIANT *  v,
int  dims_array[],
int &  ndims 
)

Definition at line 115 of file variant_utils.cpp.

int arrayVariantLength ( VARIANT *  v)

Definition at line 86 of file variant_utils.cpp.

template<typename T >
int makeVariantFromArray ( VARIANT *  v,
const T *  the_array,
int  n 
)

Definition at line 163 of file variant_utils.cpp.

template<typename T >
int makeVariantFromArray ( VARIANT *  v,
const std::vector< T > &  the_array 
)

Definition at line 141 of file variant_utils.cpp.

int unaccessArrayVariant ( VARIANT *  v)

Definition at line 75 of file variant_utils.cpp.