Mobile API Reference  MicroStrategy 2019
DSSGenericFunction Class Referenceabstract

#include <DSSGenericFunction.h>

Inheritance diagram for DSSGenericFunction:
DSSFunctionObject DSSFunctionObject DSSBandingM DSSBandingM DSSExpWghMovingAvg DSSExpWghMovingAvg DSSExpWghRunningAvg DSSExpWghRunningAvg DSSFinancialVSSTOS DSSFinancialVSSTOS DSSFinancialVSTOS DSSFinancialVSTOS DSSIndexFunction DSSIndexFunction DSSMovingGeneric DSSMovingGeneric DSSN_Tile DSSN_Tile DSSNNGenericFunction DSSNNGenericFunction DSSOlapGeneric DSSOlapGeneric DSSOperatorGeneric DSSOperatorGeneric DSSPercentRankRelativeFunction DSSPercentRankRelativeFunction DSSRunningGeneric DSSRunningGeneric DSSSimpleOperatorGeneric DSSSimpleOperatorGeneric DSSStatisticsGeneric DSSStatisticsGeneric DSSStatisticsSVTOSSimple DSSStatisticsSVTOSSimple DSSStatisticsSVVTOSSimple DSSStatisticsSVVTOSSimple DSSStatisticsVSTOS DSSStatisticsVSTOS DSSWeightCovarianceFunction DSSWeightCovarianceFunction DSSWeightMeanAveFunction DSSWeightMeanAveFunction

Public Member Functions

 DSSGenericFunction ()
 
virtual ~DSSGenericFunction ()
 
virtual int Calculate ()=0
 
virtual int GetOutput (Int32, Int32 *, double *, DSSDataFlag *)=0
 
virtual int GetOutputType (EnumDSSParameterType *)=0
 
virtual int SetInputParam (Int32, Int32, double *, DSSDataFlag *)=0
 
virtual int GetInputParamType (Int32, EnumDSSParameterType *)=0
 
virtual int Clear ()=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 GetOutputType (EnumDSSParameterType *)=0
 
virtual int SetInputParam (Int32, Int32, double *, DSSDataFlag *)=0
 
virtual int GetInputParamType (Int32, EnumDSSParameterType *)=0
 
virtual int Clear ()=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)
 

Additional Inherited Members

- Protected Attributes inherited from DSSFunctionObject
EnumSimpleOperatorType mFunctionIndex
 

Constructor & Destructor Documentation

◆ DSSGenericFunction() [1/2]

DSSGenericFunction::DSSGenericFunction ( )

◆ ~DSSGenericFunction() [1/2]

virtual DSSGenericFunction::~DSSGenericFunction ( )
virtual

◆ DSSGenericFunction() [2/2]

DSSGenericFunction::DSSGenericFunction ( )

◆ ~DSSGenericFunction() [2/2]

virtual DSSGenericFunction::~DSSGenericFunction ( )
virtual

Member Function Documentation

◆ Calculate() [1/2]

◆ Calculate() [2/2]

◆ Clear() [1/2]

◆ Clear() [2/2]

◆ DirectCalculate() [1/2]

virtual int DSSGenericFunction::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

Reimplemented in DSSOperatorGeneric, and DSSOperatorGeneric.

◆ DirectCalculate() [2/2]

virtual int DSSGenericFunction::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

Reimplemented in DSSOperatorGeneric, and DSSOperatorGeneric.

◆ get_PropertyInfo() [1/2]

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

◆ get_PropertyInfo() [2/2]

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

◆ getFunctionType() [1/2]

virtual EnumDSSFunctionType DSSGenericFunction::getFunctionType ( )
inlinevirtual

Implements DSSFunctionObject.

Reimplemented in DSSOperatorGeneric, and DSSOperatorGeneric.

◆ getFunctionType() [2/2]

virtual EnumDSSFunctionType DSSGenericFunction::getFunctionType ( )
inlinevirtual

Implements DSSFunctionObject.

Reimplemented in DSSOperatorGeneric, and DSSOperatorGeneric.

◆ GetInputParamType() [1/2]

◆ GetInputParamType() [2/2]

◆ GetOutput() [1/2]

◆ GetOutput() [2/2]

◆ GetOutputType() [1/2]

◆ GetOutputType() [2/2]

◆ IsNullProcessable() [1/2]

◆ IsNullProcessable() [2/2]

◆ SetInputParam() [1/2]

◆ SetInputParam() [2/2]

◆ SupportDirectCalculate() [1/2]

◆ SupportDirectCalculate() [2/2]