Mobile API Reference  MicroStrategy 2019
CellDataHelper.h
Go to the documentation of this file.
1 //
2 // CellDataHelper.h
3 // ReportServiceCore
4 //
5 // Created by Liao Taimin on 9/20/14.
6 // Copyright (c) 2014 MicroStrategy, Inc. All rights reserved.
7 //
8 
9 #ifndef ReportServiceCore_CellDataHelper_h
10 #define ReportServiceCore_CellDataHelper_h
11 
12 #include "PDCHeader/PDCvector"
13 //#include "DFCDateTime/DFCDateTime.h"
14 
15 using namespace std;
16 
23 {
24 public:
34  static int SplitCellData(Int32 nParam, CComVariant * pParam,
35  std::vector<double>& orValues,
36  std::vector<EnumCellFormatDataTypes>& orTypes,
37  std::vector<DSS_ID>& orFormatIDs);
38 
47  static int CreateVariantFromCellData(double pValue, EnumCellFormatDataTypes pType, const GUID& pFormatID, CComVariant* oResult);
48 
60  static EnumCellFormatDataTypes CalculateCellDataType(Int32 nParam, EnumCellFormatDataTypes * pParam);
61 
73  static DSS_ID CalculateCellDataFormatID(Int32 nParam, DSS_ID * pParam);
74 
78  static DSS_ID GetDefaultFormatID();
79 
83  static DSS_ID GetMixFormatID();
84 
85 };
86 
87 #endif
EnumCellFormatDataTypes
Definition: DSSCOMMaster_i.h:9357
Definition: LessThanGUID.h:49
#define Int32
Definition: BasicTypes.h:20
Definition: CellDataHelper.h:22
Definition: Msi_ccomvariant.h:24
Definition: Base/Base/GUID.h:32