Mobile API Reference  MicroStrategy 2019
DSSUCase Class Reference

#include <DSSUCase.h>

Inheritance diagram for DSSUCase:
DSSNNSimpleFunction DSSNNSimpleFunction DSSSimpleFunction DSSSimpleFunction DSSSimpleFunction DSSSimpleFunction DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject

Public Member Functions

 DSSUCase ()
 
 ~DSSUCase ()
 
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)
 
int SetStringCompareOption (VARIANT_BOOL iOpt)
 
virtual bool IsNNFunctionOnly ()
 
 DSSUCase ()
 
 ~DSSUCase ()
 
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)
 
int SetStringCompareOption (VARIANT_BOOL iOpt)
 
virtual bool IsNNFunctionOnly ()
 
- 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
 
 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
 
- 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

◆ DSSUCase() [1/2]

DSSUCase::DSSUCase ( )

◆ ~DSSUCase() [1/2]

DSSUCase::~DSSUCase ( )

◆ DSSUCase() [2/2]

DSSUCase::DSSUCase ( )

◆ ~DSSUCase() [2/2]

DSSUCase::~DSSUCase ( )

Member Function Documentation

◆ Calculate() [1/4]

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

◆ Calculate() [2/4]

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

◆ Calculate() [3/4]

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

Implements DSSSimpleFunction.

◆ Calculate() [4/4]

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

Implements DSSSimpleFunction.

◆ GetOutputType() [1/2]

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

◆ GetOutputType() [2/2]

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

◆ IsNNFunctionOnly() [1/2]

virtual bool DSSUCase::IsNNFunctionOnly ( )
inlinevirtual

Reimplemented from DSSNNSimpleFunction.

◆ IsNNFunctionOnly() [2/2]

virtual bool DSSUCase::IsNNFunctionOnly ( )
inlinevirtual

Reimplemented from DSSNNSimpleFunction.

◆ setProperty() [1/2]

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

◆ setProperty() [2/2]

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

◆ SetStringCompareOption() [1/2]

int DSSUCase::SetStringCompareOption ( VARIANT_BOOL  iOpt)

◆ SetStringCompareOption() [2/2]

int DSSUCase::SetStringCompareOption ( VARIANT_BOOL  iOpt)