Mobile API Reference  MicroStrategy 2019
DFCDataConversion Class Reference

#include <DFCDataConversion.h>

Static Public Member Functions

static int ConvertFromVariant (CComVariant *pVar, EnumDSSDataType iType, unsigned char *ppData, int *pcbData)
 
static int ConvertToVariant (unsigned char *ipData, EnumDSSDataType iType, int icbDataSize, CComVariant *opVar)
 
static int VariantSize (CComVariant *pVar, EnumDSSDataType iType, int *pcbData)
 
static bool IsDataTypeCompatible (EnumDSSDataType typeA, EnumDSSDataType typeB)
 
static int ConvertToCommonType (EnumDSSDataType iType, EnumDSSDataType &oType)
 
static int DFCVariantChange2BSTR (CComVariant *pvargDest, CComVariant *pvargSrc, EnumDSSDataType *pDataType)
 
static int MsiVariantToVARIANT (const MDataType::Variant &iVariant, VARIANT &oVariant)
 
static int TolocalVARIANT (const MDataType::DateTime &irOriginal, VARIANT &orVal, bool ibIsGmt)
 
static void checkDispatchType (CComVariant *v, bool *oIsBigDecimal, bool *oIsCellFormatData, bool *oIsDate)
 
static int ConvertFromVariant (CComVariant *pVar, EnumDSSDataType iType, unsigned char *ppData, int *pcbData)
 
static int ConvertToVariant (unsigned char *ipData, EnumDSSDataType iType, int icbDataSize, CComVariant *opVar)
 
static int VariantSize (CComVariant *pVar, EnumDSSDataType iType, int *pcbData)
 
static bool IsDataTypeCompatible (EnumDSSDataType typeA, EnumDSSDataType typeB)
 
static int ConvertToCommonType (EnumDSSDataType iType, EnumDSSDataType &oType)
 
static int DFCVariantChange2BSTR (CComVariant *pvargDest, CComVariant *pvargSrc, EnumDSSDataType *pDataType)
 
static int MsiVariantToVARIANT (const MDataType::Variant &iVariant, VARIANT &oVariant)
 
static int TolocalVARIANT (const MDataType::DateTime &irOriginal, VARIANT &orVal, bool ibIsGmt)
 
static void checkDispatchType (CComVariant *v, bool *oIsBigDecimal, bool *oIsCellFormatData, bool *oIsDate)
 

Member Function Documentation

◆ checkDispatchType() [1/2]

static void DFCDataConversion::checkDispatchType ( CComVariant v,
bool *  oIsBigDecimal,
bool *  oIsCellFormatData,
bool *  oIsDate 
)
static

◆ checkDispatchType() [2/2]

static void DFCDataConversion::checkDispatchType ( CComVariant v,
bool *  oIsBigDecimal,
bool *  oIsCellFormatData,
bool *  oIsDate 
)
static

◆ ConvertFromVariant() [1/2]

static int DFCDataConversion::ConvertFromVariant ( CComVariant pVar,
EnumDSSDataType  iType,
unsigned char *  ppData,
int *  pcbData 
)
static

◆ ConvertFromVariant() [2/2]

static int DFCDataConversion::ConvertFromVariant ( CComVariant pVar,
EnumDSSDataType  iType,
unsigned char *  ppData,
int *  pcbData 
)
static

◆ ConvertToCommonType() [1/2]

static int DFCDataConversion::ConvertToCommonType ( EnumDSSDataType  iType,
EnumDSSDataType oType 
)
static

◆ ConvertToCommonType() [2/2]

static int DFCDataConversion::ConvertToCommonType ( EnumDSSDataType  iType,
EnumDSSDataType oType 
)
static

◆ ConvertToVariant() [1/2]

static int DFCDataConversion::ConvertToVariant ( unsigned char *  ipData,
EnumDSSDataType  iType,
int  icbDataSize,
CComVariant opVar 
)
static

◆ ConvertToVariant() [2/2]

static int DFCDataConversion::ConvertToVariant ( unsigned char *  ipData,
EnumDSSDataType  iType,
int  icbDataSize,
CComVariant opVar 
)
static

◆ DFCVariantChange2BSTR() [1/2]

static int DFCDataConversion::DFCVariantChange2BSTR ( CComVariant pvargDest,
CComVariant pvargSrc,
EnumDSSDataType pDataType 
)
static

◆ DFCVariantChange2BSTR() [2/2]

static int DFCDataConversion::DFCVariantChange2BSTR ( CComVariant pvargDest,
CComVariant pvargSrc,
EnumDSSDataType pDataType 
)
static

◆ IsDataTypeCompatible() [1/2]

static bool DFCDataConversion::IsDataTypeCompatible ( EnumDSSDataType  typeA,
EnumDSSDataType  typeB 
)
static

◆ IsDataTypeCompatible() [2/2]

static bool DFCDataConversion::IsDataTypeCompatible ( EnumDSSDataType  typeA,
EnumDSSDataType  typeB 
)
static

◆ MsiVariantToVARIANT() [1/2]

static int DFCDataConversion::MsiVariantToVARIANT ( const MDataType::Variant iVariant,
VARIANT oVariant 
)
static

◆ MsiVariantToVARIANT() [2/2]

static int DFCDataConversion::MsiVariantToVARIANT ( const MDataType::Variant iVariant,
VARIANT oVariant 
)
static

◆ TolocalVARIANT() [1/2]

static int DFCDataConversion::TolocalVARIANT ( const MDataType::DateTime irOriginal,
VARIANT orVal,
bool  ibIsGmt 
)
static

◆ TolocalVARIANT() [2/2]

static int DFCDataConversion::TolocalVARIANT ( const MDataType::DateTime irOriginal,
VARIANT orVal,
bool  ibIsGmt 
)
static

◆ VariantSize() [1/2]

static int DFCDataConversion::VariantSize ( CComVariant pVar,
EnumDSSDataType  iType,
int *  pcbData 
)
static

◆ VariantSize() [2/2]

static int DFCDataConversion::VariantSize ( CComVariant pVar,
EnumDSSDataType  iType,
int *  pcbData 
)
static