Mobile API Reference  MicroStrategy 2019
DSSRankFunction Class Reference

#include <DSSRankFunction.h>

Inheritance diagram for DSSRankFunction:
DSSNNGenericFunction DSSNNGenericFunction DSSGenericFunction DSSGenericFunction DSSGenericFunction DSSGenericFunction DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject DSSFunctionObject

Public Types

enum  EnumNullInclude {
  First = -1, Ignore = 0, Last = 1, First = -1,
  Ignore = 0, Last = 1
}
 
enum  EnumNullInclude {
  First = -1, Ignore = 0, Last = 1, First = -1,
  Ignore = 0, Last = 1
}
 

Public Member Functions

 DSSRankFunction ()
 
 ~DSSRankFunction ()
 
virtual int setProperty (Int32 Index, CComVariant *pValue)
 
int SetPropertyByValue (CComVariant *pValue)
 
int SetPropertyAsc (VARIANT *pValue)
 
int SetPropertyNullInclude (VARIANT *pValue)
 
int get_FunctionType (EnumDSSFunctionType *pType)
 
int Calculate ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSDataFlag **ipFlags, VARIANT_BOOL *ipAllDataValid, EnumDSSDataType *iType, vector< Int32 > *ipvDataByGroup, Int32 nResSize, double *opData, DSSDataFlag *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
virtual bool SupportDirectCalculate ()
 
int GetOutput (Int32 nSize, Int32 *nDataSize, CComVariant *pData, DSSDataFlag *pFlag)
 
int GetOutputType (Int32 nSize, EnumDSSDataType *pInputType, EnumDSSDataType *pOutputDataType, EnumDSSParameterType *pType)
 
int Clear ()
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, EnumDSSDataType dataType, CComVariant *pData, DSSDataFlag *pFlag)
 
int GetInputParamType (Int32 nParamIndex, EnumDSSParameterType *pType)
 
int IsNullProcessable (bool *pCanProcessNULL)
 
int GetOutput (Int32 nSize, Int32 *nDataSize, double *pData, DSSDataFlag *pFlag)
 
int GetOutputType (EnumDSSParameterType *pType)
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, double *pData, DSSDataFlag *pFlag)
 
 DSSRankFunction ()
 
 ~DSSRankFunction ()
 
virtual int setProperty (Int32 Index, CComVariant *pValue)
 
int SetPropertyByValue (CComVariant *pValue)
 
int SetPropertyAsc (VARIANT *pValue)
 
int SetPropertyNullInclude (VARIANT *pValue)
 
int get_FunctionType (EnumDSSFunctionType *pType)
 
int Calculate ()
 
virtual int DirectCalculate (Int32 nParam, Int32 *ipSize, Int32 **ipOffsets, void **ipData, double *ipDivider, DSSDataFlag **ipFlags, VARIANT_BOOL *ipAllDataValid, EnumDSSDataType *iType, vector< Int32 > *ipvDataByGroup, Int32 nResSize, double *opData, DSSDataFlag *opFlag, VARIANT_BOOL *opAllDataValid, EnumNullCheckingOption iNullCheckingOption)
 
virtual bool SupportDirectCalculate ()
 
int GetOutput (Int32 nSize, Int32 *nDataSize, CComVariant *pData, DSSDataFlag *pFlag)
 
int GetOutputType (Int32 nSize, EnumDSSDataType *pInputType, EnumDSSDataType *pOutputDataType, EnumDSSParameterType *pType)
 
int Clear ()
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, EnumDSSDataType dataType, CComVariant *pData, DSSDataFlag *pFlag)
 
int GetInputParamType (Int32 nParamIndex, EnumDSSParameterType *pType)
 
int IsNullProcessable (bool *pCanProcessNULL)
 
int GetOutput (Int32 nSize, Int32 *nDataSize, double *pData, DSSDataFlag *pFlag)
 
int GetOutputType (EnumDSSParameterType *pType)
 
int SetInputParam (Int32 nParamIndex, Int32 nSize, double *pData, DSSDataFlag *pFlag)
 
- Public Member Functions inherited from DSSNNGenericFunction
 DSSNNGenericFunction ()
 
virtual ~DSSNNGenericFunction ()
 
virtual bool IsNNFunctionOnly ()
 
 DSSNNGenericFunction ()
 
virtual ~DSSNNGenericFunction ()
 
virtual bool IsNNFunctionOnly ()
 
- Public Member Functions inherited from DSSGenericFunction
 DSSGenericFunction ()
 
virtual ~DSSGenericFunction ()
 
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 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
 

Member Enumeration Documentation

◆ EnumNullInclude [1/2]

Enumerator
First 
Ignore 
Last 
First 
Ignore 
Last 

◆ EnumNullInclude [2/2]

Enumerator
First 
Ignore 
Last 
First 
Ignore 
Last 

Constructor & Destructor Documentation

◆ DSSRankFunction() [1/2]

DSSRankFunction::DSSRankFunction ( )

◆ ~DSSRankFunction() [1/2]

DSSRankFunction::~DSSRankFunction ( )

◆ DSSRankFunction() [2/2]

DSSRankFunction::DSSRankFunction ( )

◆ ~DSSRankFunction() [2/2]

DSSRankFunction::~DSSRankFunction ( )

Member Function Documentation

◆ Calculate() [1/2]

int DSSRankFunction::Calculate ( )
virtual

Implements DSSGenericFunction.

◆ Calculate() [2/2]

int DSSRankFunction::Calculate ( )
virtual

Implements DSSGenericFunction.

◆ Clear() [1/2]

int DSSRankFunction::Clear ( )
virtual

Implements DSSGenericFunction.

◆ Clear() [2/2]

int DSSRankFunction::Clear ( )
virtual

Implements DSSGenericFunction.

◆ DirectCalculate() [1/2]

virtual int DSSRankFunction::DirectCalculate ( Int32  nParam,
Int32 ipSize,
Int32 **  ipOffsets,
void **  ipData,
double *  ipDivider,
DSSDataFlag **  ipFlags,
VARIANT_BOOL ipAllDataValid,
EnumDSSDataType iType,
vector< Int32 > *  ipvDataByGroup,
Int32  nResSize,
double *  opData,
DSSDataFlag opFlag,
VARIANT_BOOL opAllDataValid,
EnumNullCheckingOption  iNullCheckingOption 
)
virtual

◆ DirectCalculate() [2/2]

virtual int DSSRankFunction::DirectCalculate ( Int32  nParam,
Int32 ipSize,
Int32 **  ipOffsets,
void **  ipData,
double *  ipDivider,
DSSDataFlag **  ipFlags,
VARIANT_BOOL ipAllDataValid,
EnumDSSDataType iType,
vector< Int32 > *  ipvDataByGroup,
Int32  nResSize,
double *  opData,
DSSDataFlag opFlag,
VARIANT_BOOL opAllDataValid,
EnumNullCheckingOption  iNullCheckingOption 
)
virtual

◆ get_FunctionType() [1/2]

int DSSRankFunction::get_FunctionType ( EnumDSSFunctionType pType)

◆ get_FunctionType() [2/2]

int DSSRankFunction::get_FunctionType ( EnumDSSFunctionType pType)

◆ GetInputParamType() [1/2]

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

Implements DSSGenericFunction.

◆ GetInputParamType() [2/2]

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

Implements DSSGenericFunction.

◆ GetOutput() [1/4]

int DSSRankFunction::GetOutput ( Int32  nSize,
Int32 nDataSize,
CComVariant pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSNNGenericFunction.

◆ GetOutput() [2/4]

int DSSRankFunction::GetOutput ( Int32  nSize,
Int32 nDataSize,
CComVariant pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSNNGenericFunction.

◆ GetOutput() [3/4]

int DSSRankFunction::GetOutput ( Int32  nSize,
Int32 nDataSize,
double *  pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSGenericFunction.

◆ GetOutput() [4/4]

int DSSRankFunction::GetOutput ( Int32  nSize,
Int32 nDataSize,
double *  pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSGenericFunction.

◆ GetOutputType() [1/4]

int DSSRankFunction::GetOutputType ( Int32  nSize,
EnumDSSDataType pInputType,
EnumDSSDataType pOutputDataType,
EnumDSSParameterType pType 
)
virtual

Implements DSSNNGenericFunction.

◆ GetOutputType() [2/4]

int DSSRankFunction::GetOutputType ( Int32  nSize,
EnumDSSDataType pInputType,
EnumDSSDataType pOutputDataType,
EnumDSSParameterType pType 
)
virtual

Implements DSSNNGenericFunction.

◆ GetOutputType() [3/4]

int DSSRankFunction::GetOutputType ( EnumDSSParameterType pType)
virtual

Implements DSSGenericFunction.

◆ GetOutputType() [4/4]

int DSSRankFunction::GetOutputType ( EnumDSSParameterType pType)
virtual

Implements DSSGenericFunction.

◆ IsNullProcessable() [1/2]

int DSSRankFunction::IsNullProcessable ( bool *  pCanProcessNULL)
virtual

Implements DSSGenericFunction.

◆ IsNullProcessable() [2/2]

int DSSRankFunction::IsNullProcessable ( bool *  pCanProcessNULL)
virtual

Implements DSSGenericFunction.

◆ SetInputParam() [1/4]

int DSSRankFunction::SetInputParam ( Int32  nParamIndex,
Int32  nSize,
EnumDSSDataType  dataType,
CComVariant pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSNNGenericFunction.

◆ SetInputParam() [2/4]

int DSSRankFunction::SetInputParam ( Int32  nParamIndex,
Int32  nSize,
EnumDSSDataType  dataType,
CComVariant pData,
DSSDataFlag pFlag 
)
virtual

Implements DSSNNGenericFunction.

◆ SetInputParam() [3/4]

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

Implements DSSGenericFunction.

◆ SetInputParam() [4/4]

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

Implements DSSGenericFunction.

◆ setProperty() [1/2]

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

◆ setProperty() [2/2]

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

◆ SetPropertyAsc() [1/2]

int DSSRankFunction::SetPropertyAsc ( VARIANT pValue)

◆ SetPropertyAsc() [2/2]

int DSSRankFunction::SetPropertyAsc ( VARIANT pValue)

◆ SetPropertyByValue() [1/2]

int DSSRankFunction::SetPropertyByValue ( CComVariant pValue)

◆ SetPropertyByValue() [2/2]

int DSSRankFunction::SetPropertyByValue ( CComVariant pValue)

◆ SetPropertyNullInclude() [1/2]

int DSSRankFunction::SetPropertyNullInclude ( VARIANT pValue)

◆ SetPropertyNullInclude() [2/2]

int DSSRankFunction::SetPropertyNullInclude ( VARIANT pValue)

◆ SupportDirectCalculate() [1/2]

virtual bool DSSRankFunction::SupportDirectCalculate ( )
virtual

Reimplemented from DSSGenericFunction.

◆ SupportDirectCalculate() [2/2]

virtual bool DSSRankFunction::SupportDirectCalculate ( )
virtual

Reimplemented from DSSGenericFunction.