Mobile API Reference  MicroStrategy 2019
DSSOlapGeneric Class Reference

#include <DSSOlapGeneric.h>

Inheritance diagram for DSSOlapGeneric:
DSSGenericFunction DSSGenericFunction DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject

Public Member Functions

virtual int setProperty (Int32 Index, CComVariant *pValue)
 
int get_PropertyInfo (Int32 PropertyIndex, BSTR *pName, BSTR *pDescription, VARIANT *pValue)
 
 DSSOlapGeneric ()
 
 ~DSSOlapGeneric ()
 
int Calculate ()
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, double *pData, DSSDataFlag *pFlag)
 
int GetOutput (Int32 nSize, Int32 *nDataSize, double *pData, DSSDataFlag *pFlag)
 
int GetOutputType (EnumDSSParameterType *pType)
 
int GetInputParamType (Int32 nParamIndex, EnumDSSParameterType *pType)
 
int IsNullProcessable (bool *pCanProcessNULL)
 
int Clear ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSDataFlag **ipFlags, VARIANT_BOOL *ipAllDataValid, EnumDSSDataType *iType, vector< Int32 > *ipvDataByGroup, Int32 nResSize, double *opData, DSSDataFlag *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
virtual bool SupportDirectCalculate ()
 
virtual int setProperty (Int32 Index, CComVariant *pValue)
 
int get_PropertyInfo (Int32 PropertyIndex, BSTR *pName, BSTR *pDescription, VARIANT *pValue)
 
 DSSOlapGeneric ()
 
 ~DSSOlapGeneric ()
 
int Calculate ()
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, double *pData, DSSDataFlag *pFlag)
 
int GetOutput (Int32 nSize, Int32 *nDataSize, double *pData, DSSDataFlag *pFlag)
 
int GetOutputType (EnumDSSParameterType *pType)
 
int GetInputParamType (Int32 nParamIndex, EnumDSSParameterType *pType)
 
int IsNullProcessable (bool *pCanProcessNULL)
 
int Clear ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSDataFlag **ipFlags, VARIANT_BOOL *ipAllDataValid, EnumDSSDataType *iType, vector< Int32 > *ipvDataByGroup, Int32 nResSize, double *opData, DSSDataFlag *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
virtual bool SupportDirectCalculate ()
 
- Public Member Functions inherited from DSSGenericFunction
 DSSGenericFunction ()
 
virtual ~DSSGenericFunction ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSData_Flags **ipFlags, VARIANT_BOOL *ipAllDataValid, DSSDataType_Type *iType, vector< Int32 > *ipvDataByGroup, Int32 nResSize, double *opData, DSSData_Flags *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
virtual EnumDSSFunctionType getFunctionType ()
 
 DSSGenericFunction ()
 
virtual ~DSSGenericFunction ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSData_Flags **ipFlags, VARIANT_BOOL *ipAllDataValid, DSSDataType_Type *iType, vector< Int32 > *ipvDataByGroup, Int32 nResSize, double *opData, DSSData_Flags *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
virtual EnumDSSFunctionType getFunctionType ()
 
- Public Member Functions inherited from DSSFunctionObject
 DSSFunctionObject ()
 
virtual ~DSSFunctionObject ()
 
virtual int setProperty (int Index, CComVariant *ipVal)
 
void Init (EnumSimpleOperatorType Index)
 
EnumSimpleOperatorType getOperatorType ()
 
virtual bool SupportCellFormat ()
 
virtual int CalculateCellData (Int32 nParam, CComVariant *pParam, CComVariant *pResult, DSSDataFlag *pFlag)
 
 DSSFunctionObject ()
 
virtual ~DSSFunctionObject ()
 
virtual int setProperty (int Index, CComVariant *ipVal)
 
void Init (EnumSimpleOperatorType Index)
 
EnumSimpleOperatorType getOperatorType ()
 
virtual bool SupportCellFormat ()
 
virtual int CalculateCellData (Int32 nParam, CComVariant *pParam, CComVariant *pResult, DSSDataFlag *pFlag)
 

Protected Member Functions

bool GetDistinct ()
 
bool GetCountNull ()
 
int GetWindow (Int32 currentIndex, Int32 dataSize, Int32 &startIndex, Int32 &endIndex)
 
bool GetDistinct ()
 
bool GetCountNull ()
 
int GetWindow (Int32 currentIndex, Int32 dataSize, Int32 &startIndex, Int32 &endIndex)
 

Additional Inherited Members

- Protected Attributes inherited from DSSFunctionObject
EnumSimpleOperatorType mFunctionIndex
 

Constructor & Destructor Documentation

◆ DSSOlapGeneric() [1/2]

DSSOlapGeneric::DSSOlapGeneric ( )

◆ ~DSSOlapGeneric() [1/2]

DSSOlapGeneric::~DSSOlapGeneric ( )

◆ DSSOlapGeneric() [2/2]

DSSOlapGeneric::DSSOlapGeneric ( )

◆ ~DSSOlapGeneric() [2/2]

DSSOlapGeneric::~DSSOlapGeneric ( )

Member Function Documentation

◆ Calculate() [1/2]

int DSSOlapGeneric::Calculate ( )
virtual

Implements DSSGenericFunction.

◆ Calculate() [2/2]

int DSSOlapGeneric::Calculate ( )
virtual

Implements DSSGenericFunction.

◆ Clear() [1/2]

int DSSOlapGeneric::Clear ( )
virtual

Implements DSSGenericFunction.

◆ Clear() [2/2]

int DSSOlapGeneric::Clear ( )
virtual

Implements DSSGenericFunction.

◆ DirectCalculate() [1/2]

virtual int DSSOlapGeneric::DirectCalculate ( Int32  nParam,
Int32 ipSize,
Int32 **  ipOffsets,
void **  ipData,
double *  ipDivider,
DSSDataFlag **  ipFlags,
VARIANT_BOOL ipAllDataValid,
EnumDSSDataType iType,
vector< Int32 > *  ipvDataByGroup,
Int32  nResSize,
double *  opData,
DSSDataFlag opFlag,
VARIANT_BOOL opAllDataValid,
EnumNullCheckingOption  iNullCheckingOption 
)
virtual

◆ DirectCalculate() [2/2]

virtual int DSSOlapGeneric::DirectCalculate ( Int32  nParam,
Int32 ipSize,
Int32 **  ipOffsets,
void **  ipData,
double *  ipDivider,
DSSDataFlag **  ipFlags,
VARIANT_BOOL ipAllDataValid,
EnumDSSDataType iType,
vector< Int32 > *  ipvDataByGroup,
Int32  nResSize,
double *  opData,
DSSDataFlag opFlag,
VARIANT_BOOL opAllDataValid,
EnumNullCheckingOption  iNullCheckingOption 
)
virtual

◆ get_PropertyInfo() [1/2]

int DSSOlapGeneric::get_PropertyInfo ( Int32  PropertyIndex,
BSTR pName,
BSTR pDescription,
VARIANT pValue 
)
virtual

Reimplemented from DSSGenericFunction.

◆ get_PropertyInfo() [2/2]

int DSSOlapGeneric::get_PropertyInfo ( Int32  PropertyIndex,
BSTR pName,
BSTR pDescription,
VARIANT pValue 
)
virtual

Reimplemented from DSSGenericFunction.

◆ GetCountNull() [1/2]

bool DSSOlapGeneric::GetCountNull ( )
protected

Returns a value indicating whether to count NULL values in for OLAPCount

◆ GetCountNull() [2/2]

bool DSSOlapGeneric::GetCountNull ( )
protected

Returns a value indicating whether to count NULL values in for OLAPCount

◆ GetDistinct() [1/2]

bool DSSOlapGeneric::GetDistinct ( )
protected

Returns a value indicating whether the DISTINCT flag is set

◆ GetDistinct() [2/2]

bool DSSOlapGeneric::GetDistinct ( )
protected

Returns a value indicating whether the DISTINCT flag is set

◆ GetInputParamType() [1/2]

int DSSOlapGeneric::GetInputParamType ( Int32  nParamIndex,
EnumDSSParameterType pType 
)
virtual

Implements DSSGenericFunction.

◆ GetInputParamType() [2/2]

int DSSOlapGeneric::GetInputParamType ( Int32  nParamIndex,
EnumDSSParameterType pType 
)
virtual

Implements DSSGenericFunction.

◆ GetOutput() [1/2]

int DSSOlapGeneric::GetOutput ( Int32  nSize,
Int32 nDataSize,
double *  pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSGenericFunction.

◆ GetOutput() [2/2]

int DSSOlapGeneric::GetOutput ( Int32  nSize,
Int32 nDataSize,
double *  pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSGenericFunction.

◆ GetOutputType() [1/2]

int DSSOlapGeneric::GetOutputType ( EnumDSSParameterType pType)
virtual

Implements DSSGenericFunction.

◆ GetOutputType() [2/2]

int DSSOlapGeneric::GetOutputType ( EnumDSSParameterType pType)
virtual

Implements DSSGenericFunction.

◆ GetWindow() [1/2]

int DSSOlapGeneric::GetWindow ( Int32  currentIndex,
Int32  dataSize,
Int32 startIndex,
Int32 endIndex 
)
protected

Calculates the window with which the current row calculation should be performed

◆ GetWindow() [2/2]

int DSSOlapGeneric::GetWindow ( Int32  currentIndex,
Int32  dataSize,
Int32 startIndex,
Int32 endIndex 
)
protected

Calculates the window with which the current row calculation should be performed

◆ IsNullProcessable() [1/2]

int DSSOlapGeneric::IsNullProcessable ( bool *  pCanProcessNULL)
virtual

Implements DSSGenericFunction.

◆ IsNullProcessable() [2/2]

int DSSOlapGeneric::IsNullProcessable ( bool *  pCanProcessNULL)
virtual

Implements DSSGenericFunction.

◆ SetInputParam() [1/2]

int DSSOlapGeneric::SetInputParam ( Int32  nParamIndex,
Int32  nSize,
double *  pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSGenericFunction.

◆ SetInputParam() [2/2]

int DSSOlapGeneric::SetInputParam ( Int32  nParamIndex,
Int32  nSize,
double *  pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSGenericFunction.

◆ setProperty() [1/2]

virtual int DSSOlapGeneric::setProperty ( Int32  Index,
CComVariant pValue 
)
virtual

Sets function properties. This method is required by ICDSSFunctionObject

◆ setProperty() [2/2]

virtual int DSSOlapGeneric::setProperty ( Int32  Index,
CComVariant pValue 
)
virtual

Sets function properties. This method is required by ICDSSFunctionObject

◆ SupportDirectCalculate() [1/2]

virtual bool DSSOlapGeneric::SupportDirectCalculate ( )
virtual

Reimplemented from DSSGenericFunction.

◆ SupportDirectCalculate() [2/2]

virtual bool DSSOlapGeneric::SupportDirectCalculate ( )
virtual

Reimplemented from DSSGenericFunction.