Mobile API Reference  MicroStrategy 2019
DSSLikeFunc Class Reference

#include <DSSLikeFunc.h>

Inheritance diagram for DSSLikeFunc:
DSSNNSimpleFunction DSSNNSimpleFunction DSSSimpleFunction DSSSimpleFunction DSSSimpleFunction DSSSimpleFunction DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject

Public Member Functions

 DSSLikeFunc ()
 
 ~DSSLikeFunc ()
 
int Calculate (Int32 nSize, CComVariant *pVec, CComVariant *opResult, DSSDataFlag *pFlag)
 
virtual int setProperty (Int32 Index, CComVariant *pValue)
 
int GetOutputType (Int32 size, EnumDSSDataType *inputType, EnumDSSDataType *outputType)
 
int Calculate (int nParam, double *ipParams, double *opResult, DSSDataFlag *opFlag)
 
 DSSLikeFunc ()
 
 ~DSSLikeFunc ()
 
int Calculate (Int32 nSize, CComVariant *pVec, CComVariant *opResult, DSSDataFlag *pFlag)
 
virtual int setProperty (Int32 Index, CComVariant *pValue)
 
int GetOutputType (Int32 size, EnumDSSDataType *inputType, EnumDSSDataType *outputType)
 
int Calculate (int nParam, double *ipParams, double *opResult, DSSDataFlag *opFlag)
 
- Public Member Functions inherited from DSSNNSimpleFunction
 DSSNNSimpleFunction ()
 
virtual ~DSSNNSimpleFunction ()
 
virtual EnumDSSFunctionType getFunctionType ()
 
virtual int Calculate (int nParam, CComVariant *ipParams, CComVariant *opResult, DSSDataFlag *opFlag)=0
 
int CalculateRepeat (int nParam, int nRepeat, CComVariant *ipParams, CComVariant *opResult, DSSDataFlag *opFlag)
 
virtual int GetOutputType (int size, EnumDSSDataType *inputType, EnumDSSDataType *outputType)=0
 
virtual bool IsNNFunctionOnly ()
 
 DSSNNSimpleFunction ()
 
virtual ~DSSNNSimpleFunction ()
 
virtual EnumDSSFunctionType getFunctionType ()
 
virtual int Calculate (int nParam, CComVariant *ipParams, CComVariant *opResult, DSSDataFlag *opFlag)=0
 
int CalculateRepeat (int nParam, int nRepeat, CComVariant *ipParams, CComVariant *opResult, DSSDataFlag *opFlag)
 
virtual int GetOutputType (int size, EnumDSSDataType *inputType, EnumDSSDataType *outputType)=0
 
virtual bool IsNNFunctionOnly ()
 
- Public Member Functions inherited from DSSSimpleFunction
 DSSSimpleFunction ()
 
virtual ~DSSSimpleFunction ()
 
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 ()
 
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

◆ DSSLikeFunc() [1/2]

DSSLikeFunc::DSSLikeFunc ( )

◆ ~DSSLikeFunc() [1/2]

DSSLikeFunc::~DSSLikeFunc ( )

◆ DSSLikeFunc() [2/2]

DSSLikeFunc::DSSLikeFunc ( )

◆ ~DSSLikeFunc() [2/2]

DSSLikeFunc::~DSSLikeFunc ( )

Member Function Documentation

◆ Calculate() [1/4]

int DSSLikeFunc::Calculate ( Int32  nSize,
CComVariant pVec,
CComVariant opResult,
DSSDataFlag pFlag 
)

◆ Calculate() [2/4]

int DSSLikeFunc::Calculate ( Int32  nSize,
CComVariant pVec,
CComVariant opResult,
DSSDataFlag pFlag 
)

◆ Calculate() [3/4]

int DSSLikeFunc::Calculate ( int  nParam,
double *  ipParams,
double *  opResult,
DSSDataFlag opFlag 
)
virtual

Implements DSSSimpleFunction.

◆ Calculate() [4/4]

int DSSLikeFunc::Calculate ( int  nParam,
double *  ipParams,
double *  opResult,
DSSDataFlag opFlag 
)
virtual

Implements DSSSimpleFunction.

◆ GetOutputType() [1/2]

int DSSLikeFunc::GetOutputType ( Int32  size,
EnumDSSDataType inputType,
EnumDSSDataType outputType 
)

◆ GetOutputType() [2/2]

int DSSLikeFunc::GetOutputType ( Int32  size,
EnumDSSDataType inputType,
EnumDSSDataType outputType 
)

◆ setProperty() [1/2]

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

◆ setProperty() [2/2]

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