Mobile API Reference  MicroStrategy 2019
DSSSimpleFunction Class Referenceabstract

#include <DSSSimpleFunction.h>

Inheritance diagram for DSSSimpleFunction:
DSSFunctionObject DSSFunctionObject DSSBanding DSSBanding DSSFinancialSTOS DSSFinancialSTOS DSSNNSimpleFunction DSSNNSimpleFunction DSSStatisticsSTOS DSSStatisticsSTOS DSSStdMathSTOS DSSStdMathSTOS

Public Member Functions

 DSSSimpleFunction ()
 
virtual ~DSSSimpleFunction ()
 
virtual EnumDSSFunctionType getFunctionType ()
 
virtual int Calculate (int nParam, double *ipParams, double *opResult, DSSDataFlag *opFlag)=0
 
int CalculateRepeat (int nParam, int nRepeat, double **ipParams, double *opResult, DSSDataFlag *opFlag)
 
virtual bool SupportDirectCalculate ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSDataFlag **ipFlags, VARIANT_BOOL *ipAllDataValid, DSSDataType_Type *iType, DSSXTabBitVector *ipMask, Int32 nResSize, double *opData, DSSDataFlag *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
 DSSSimpleFunction ()
 
virtual ~DSSSimpleFunction ()
 
virtual EnumDSSFunctionType getFunctionType ()
 
virtual int Calculate (int nParam, double *ipParams, double *opResult, DSSDataFlag *opFlag)=0
 
int CalculateRepeat (int nParam, int nRepeat, double **ipParams, double *opResult, DSSDataFlag *opFlag)
 
virtual bool SupportDirectCalculate ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSDataFlag **ipFlags, VARIANT_BOOL *ipAllDataValid, DSSDataType_Type *iType, DSSXTabBitVector *ipMask, Int32 nResSize, double *opData, DSSDataFlag *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
- 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

◆ DSSSimpleFunction() [1/2]

DSSSimpleFunction::DSSSimpleFunction ( )

◆ ~DSSSimpleFunction() [1/2]

virtual DSSSimpleFunction::~DSSSimpleFunction ( )
virtual

◆ DSSSimpleFunction() [2/2]

DSSSimpleFunction::DSSSimpleFunction ( )

◆ ~DSSSimpleFunction() [2/2]

virtual DSSSimpleFunction::~DSSSimpleFunction ( )
virtual

Member Function Documentation

◆ Calculate() [1/2]

◆ Calculate() [2/2]

◆ CalculateRepeat() [1/2]

int DSSSimpleFunction::CalculateRepeat ( int  nParam,
int  nRepeat,
double **  ipParams,
double *  opResult,
DSSDataFlag opFlag 
)

◆ CalculateRepeat() [2/2]

int DSSSimpleFunction::CalculateRepeat ( int  nParam,
int  nRepeat,
double **  ipParams,
double *  opResult,
DSSDataFlag opFlag 
)

◆ DirectCalculate() [1/2]

virtual int DSSSimpleFunction::DirectCalculate ( Int32  nParam,
Int32 ipSize,
Int32 **  ipOffsets,
void **  ipData,
double *  ipDivider,
DSSDataFlag **  ipFlags,
VARIANT_BOOL ipAllDataValid,
DSSDataType_Type iType,
DSSXTabBitVector ipMask,
Int32  nResSize,
double *  opData,
DSSDataFlag opFlag,
VARIANT_BOOL opAllDataValid,
EnumNullCheckingOption  iNullCheckingOption 
)
virtual

◆ DirectCalculate() [2/2]

virtual int DSSSimpleFunction::DirectCalculate ( Int32  nParam,
Int32 ipSize,
Int32 **  ipOffsets,
void **  ipData,
double *  ipDivider,
DSSDataFlag **  ipFlags,
VARIANT_BOOL ipAllDataValid,
DSSDataType_Type iType,
DSSXTabBitVector ipMask,
Int32  nResSize,
double *  opData,
DSSDataFlag opFlag,
VARIANT_BOOL opAllDataValid,
EnumNullCheckingOption  iNullCheckingOption 
)
virtual

◆ getFunctionType() [1/2]

virtual EnumDSSFunctionType DSSSimpleFunction::getFunctionType ( )
inlinevirtual

Implements DSSFunctionObject.

Reimplemented in DSSNNSimpleFunction, and DSSNNSimpleFunction.

◆ getFunctionType() [2/2]

virtual EnumDSSFunctionType DSSSimpleFunction::getFunctionType ( )
inlinevirtual

Implements DSSFunctionObject.

Reimplemented in DSSNNSimpleFunction, and DSSNNSimpleFunction.

◆ SupportDirectCalculate() [1/2]

virtual bool DSSSimpleFunction::SupportDirectCalculate ( )
virtual

◆ SupportDirectCalculate() [2/2]

virtual bool DSSSimpleFunction::SupportDirectCalculate ( )
virtual