ICP
1
|
Go to the source code of this file.
Functions | |
int | allocateArrayVariant (VARIANT *v, VARTYPE v_type, int *dims_array, int ndims) |
static int | accessArrayVariant (VARIANT *v, void **values, VARTYPE vt) |
int | accessArrayVariant (VARIANT *v, float **values) |
int | accessArrayVariant (VARIANT *v, double **values) |
int | accessArrayVariant (VARIANT *v, long **values) |
int | accessArrayVariant (VARIANT *v, BSTR **values) |
int | accessArrayVariant (VARIANT *v, VARIANT **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 std::vector< T > &the_array) |
template<> | |
int | makeVariantFromArray (VARIANT *v, const std::vector< std::string > &the_array) |
template<typename T > | |
int | makeVariantFromArray (VARIANT *v, const T *the_array, int n) |
template<> | |
int | makeVariantFromArray (VARIANT *v, const char *the_array, int n) |
template int | makeVariantFromArray (VARIANT *v, const std::vector< float > &the_array) |
|
static |
Definition at line 31 of file variant_utils.cpp.
Referenced by accessArrayVariant(), build_string_vector(), Cdae::getArrayValue(), Cdae::getArrayValueMain(), Cdae::getFramesAllPeriods(), Cdae::getsect(), Cdae::getSpectraIntegral2(), Cdae::getSpectraIntegralHelper(), Cdae::getSpectraSum(), Cdae::getSpectrum(), Cdae::getStatusMessages(), Cdae::getUAmpHAllPeriods(), Cdae::getValueMain(), makeVariantFromArray(), variantToStringTable(), Cdae::VMEReadArray(), and Cdae::VMEWriteArray().
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, |
BSTR ** | values | ||
) |
Definition at line 65 of file variant_utils.cpp.
int accessArrayVariant | ( | VARIANT * | v, |
VARIANT ** | values | ||
) |
Definition at line 70 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.
Referenced by Cdae::getArrayValueMain(), Cdae::getFramesAllPeriods(), Cdae::getsect(), Cdae::getSpectraIntegral2(), Cdae::getSpectraIntegralHelper(), Cdae::getSpectraSum(), Cdae::getSpectrum(), Cdae::getStatusMessages(), Cdae::getUAmpHAllPeriods(), Cdae::getValueMain(), makeVariantFromArray(), and Cdae::VMEReadArray().
int arrayVariantDimensions | ( | VARIANT * | v, |
int | dims_array[], | ||
int & | ndims | ||
) |
Definition at line 115 of file variant_utils.cpp.
Referenced by InstAPILib::getBeamlineParameterNames(), InstAPILib::getSampleParameterNames(), and variantToStringTable().
int arrayVariantLength | ( | VARIANT * | v | ) |
Definition at line 86 of file variant_utils.cpp.
Referenced by build_string_vector(), Cdae::getArrayValue(), Cdae::getSpectraIntegralHelper(), and Cdae::VMEWriteArray().
int makeVariantFromArray | ( | VARIANT * | v, |
const std::vector< T > & | the_array | ||
) |
Definition at line 141 of file variant_utils.cpp.
Referenced by makeVariantFromArray(), and Cselog::SEGetValues().
int makeVariantFromArray | ( | VARIANT * | v, |
const std::vector< std::string > & | the_array | ||
) |
Definition at line 147 of file variant_utils.cpp.
References accessArrayVariant(), allocateArrayVariant(), and unaccessArrayVariant().
int makeVariantFromArray | ( | VARIANT * | v, |
const T * | the_array, | ||
int | n | ||
) |
Definition at line 163 of file variant_utils.cpp.
int makeVariantFromArray | ( | VARIANT * | v, |
const char * | the_array, | ||
int | n | ||
) |
Definition at line 178 of file variant_utils.cpp.
template int makeVariantFromArray | ( | VARIANT * | v, |
const std::vector< float > & | the_array | ||
) |
int unaccessArrayVariant | ( | VARIANT * | v | ) |
Definition at line 75 of file variant_utils.cpp.
Referenced by build_string_vector(), Cdae::getArrayValue(), Cdae::getArrayValueMain(), Cdae::getFramesAllPeriods(), Cdae::getsect(), Cdae::getSpectraIntegral2(), Cdae::getSpectraIntegralHelper(), Cdae::getSpectraSum(), Cdae::getSpectrum(), Cdae::getStatusMessages(), Cdae::getUAmpHAllPeriods(), Cdae::getValueMain(), makeVariantFromArray(), variantToStringTable(), and Cdae::VMEReadArray().