Mobile API Reference  MicroStrategy 2019
DSSIndexFunction Class Reference

#include <DSSIndexFunction.h>

Inheritance diagram for DSSIndexFunction:
DSSGenericFunction DSSGenericFunction DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSPercentile DSSPercentile

Public Member Functions

 DSSIndexFunction ()
 
 ~DSSIndexFunction ()
 
int GetOutputType (EnumDSSParameterType *pType)
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, double *pData, DSSDataFlag *pFlag)
 
int GetInputParamType (Int32 nParamIndex, EnumDSSParameterType *pType)
 
int Clear ()
 
 DSSIndexFunction ()
 
 ~DSSIndexFunction ()
 
int GetOutputType (EnumDSSParameterType *pType)
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, double *pData, DSSDataFlag *pFlag)
 
int GetInputParamType (Int32 nParamIndex, EnumDSSParameterType *pType)
 
int Clear ()
 
- Public Member Functions inherited from DSSGenericFunction
 DSSGenericFunction ()
 
virtual ~DSSGenericFunction ()
 
virtual int Calculate ()=0
 
virtual int GetOutput (Int32, Int32 *, double *, DSSDataFlag *)=0
 
virtual int IsNullProcessable (bool *)=0
 
virtual bool SupportDirectCalculate ()
 
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 ()
 
virtual int get_PropertyInfo (Int32 PropertyIndex, BSTR *pName, BSTR *pDescription, VARIANT *pValue)
 
 DSSGenericFunction ()
 
virtual ~DSSGenericFunction ()
 
virtual int Calculate ()=0
 
virtual int GetOutput (Int32, Int32 *, double *, DSSDataFlag *)=0
 
virtual int IsNullProcessable (bool *)=0
 
virtual bool SupportDirectCalculate ()
 
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 ()
 
virtual int get_PropertyInfo (Int32 PropertyIndex, BSTR *pName, BSTR *pDescription, VARIANT *pValue)
 
- 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 Attributes

double * mV
 
Int32 mVSize
 
double mS
 
DSSDataFlag mSFlag
 
DSSDataFlagmVFlag
 
- Protected Attributes inherited from DSSFunctionObject
EnumSimpleOperatorType mFunctionIndex
 

Constructor & Destructor Documentation

◆ DSSIndexFunction() [1/2]

DSSIndexFunction::DSSIndexFunction ( )

◆ ~DSSIndexFunction() [1/2]

DSSIndexFunction::~DSSIndexFunction ( )

◆ DSSIndexFunction() [2/2]

DSSIndexFunction::DSSIndexFunction ( )

◆ ~DSSIndexFunction() [2/2]

DSSIndexFunction::~DSSIndexFunction ( )

Member Function Documentation

◆ Clear() [1/2]

int DSSIndexFunction::Clear ( )
virtual

Implements DSSGenericFunction.

◆ Clear() [2/2]

int DSSIndexFunction::Clear ( )
virtual

Implements DSSGenericFunction.

◆ GetInputParamType() [1/2]

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

Implements DSSGenericFunction.

◆ GetInputParamType() [2/2]

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

Implements DSSGenericFunction.

◆ GetOutputType() [1/2]

int DSSIndexFunction::GetOutputType ( EnumDSSParameterType pType)
virtual

Implements DSSGenericFunction.

◆ GetOutputType() [2/2]

int DSSIndexFunction::GetOutputType ( EnumDSSParameterType pType)
virtual

Implements DSSGenericFunction.

◆ SetInputParam() [1/2]

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

Implements DSSGenericFunction.

◆ SetInputParam() [2/2]

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

Implements DSSGenericFunction.

Member Data Documentation

◆ mS

double DSSIndexFunction::mS
protected

◆ mSFlag

DSSDataFlag DSSIndexFunction::mSFlag
protected

◆ mV

double * DSSIndexFunction::mV
protected

◆ mVFlag

DSSDataFlag * DSSIndexFunction::mVFlag
protected

◆ mVSize

Int32 DSSIndexFunction::mVSize
protected