Mobile API Reference  MicroStrategy 2019
DSSSliceMapper Class Reference

#include <DSSSliceMapper.h>

Public Member Functions

 DSSSliceMapper (int levelNum, int MetricNum, int AttributeNum)
 
 ~DSSSliceMapper ()
 
int AddSlice (bool *level, int tag, EnumDssSliceFlag SliceFlag, int metric, int SliceID, int levelID, EnumDSSRuntimeSubtotalType lExtremeType=DssRuntimeSubtotalDefault, int iModelIndex=-1, int iTRMetricID=-1, int nXVariable=0, int *ipXVariables=NULL, EnumDSSObjectType *ipXVariableTypes=NULL, int *ipXIndexMetrics=NULL)
 
int SearchID (bool *level, int tag, EnumDssSliceFlag SliceFlag, int metric, int *SliceID, EnumDSSRuntimeSubtotalType *opExtremeType=NULL)
 
int Count (int levelID, int *count, EnumDssSliceFlag iSliceFlag=DssOriginalSlice)
 
int Item (int Ilevel, int ITag, bool **level, int *tag, EnumDssSliceFlag iSliceFlag=DssOriginalSlice, DSSModelInfo **oppModelInfo=NULL)
 
int levelHashFunc (bool *level)
 
int FindLevelInHash (bool *level, int *Index)
 
int AddLevelInHash (bool *level, int *Index)
 
int GetLevel (int levelID, bool **level)
 
int CountLevels (int *count)
 
void ClearBuffer ()
 
int getSlicesByLevel (bool *iLevel, std::vector< int > &ivMetrics, std::vector< int > &ovSliceID)
 
int AddLevel (bool *level, int *Index, int levelID)
 
int ReplaceSliceByLevel (bool *level, int iSliceID, int iMetric, int iTag, EnumDssSliceFlag iSliceFlag)
 
int Init (void)
 
 DSSSliceMapper (int levelNum, int MetricNum, int AttributeNum)
 
 ~DSSSliceMapper ()
 
int AddSlice (bool *level, int tag, EnumDssSliceFlag SliceFlag, int metric, int SliceID, int levelID, EnumDSSRuntimeSubtotalType lExtremeType=DssRuntimeSubtotalDefault, int iModelIndex=-1, int iTRMetricID=-1, int nXVariable=0, int *ipXVariables=NULL, EnumDSSObjectType *ipXVariableTypes=NULL, int *ipXIndexMetrics=NULL)
 
int SearchID (bool *level, int tag, EnumDssSliceFlag SliceFlag, int metric, int *SliceID, EnumDSSRuntimeSubtotalType *opExtremeType=NULL)
 
int Count (int levelID, int *count, EnumDssSliceFlag iSliceFlag=DssOriginalSlice)
 
int Item (int Ilevel, int ITag, bool **level, int *tag, EnumDssSliceFlag iSliceFlag=DssOriginalSlice, DSSModelInfo **oppModelInfo=NULL)
 
int levelHashFunc (bool *level)
 
int FindLevelInHash (bool *level, int *Index)
 
int AddLevelInHash (bool *level, int *Index)
 
int GetLevel (int levelID, bool **level)
 
int CountLevels (int *count)
 
void ClearBuffer ()
 
int getSlicesByLevel (bool *iLevel, std::vector< int > &ivMetrics, std::vector< int > &ovSliceID)
 
int AddLevel (bool *level, int *Index, int levelID)
 
int ReplaceSliceByLevel (bool *level, int iSliceID, int iMetric, int iTag, EnumDssSliceFlag iSliceFlag)
 
int Init (void)
 

Constructor & Destructor Documentation

◆ DSSSliceMapper() [1/2]

DSSSliceMapper::DSSSliceMapper ( int  levelNum,
int  MetricNum,
int  AttributeNum 
)

◆ ~DSSSliceMapper() [1/2]

DSSSliceMapper::~DSSSliceMapper ( )

◆ DSSSliceMapper() [2/2]

DSSSliceMapper::DSSSliceMapper ( int  levelNum,
int  MetricNum,
int  AttributeNum 
)

◆ ~DSSSliceMapper() [2/2]

DSSSliceMapper::~DSSSliceMapper ( )

Member Function Documentation

◆ AddLevel() [1/2]

int DSSSliceMapper::AddLevel ( bool *  level,
int *  Index,
int  levelID 
)

◆ AddLevel() [2/2]

int DSSSliceMapper::AddLevel ( bool *  level,
int *  Index,
int  levelID 
)

◆ AddLevelInHash() [1/2]

int DSSSliceMapper::AddLevelInHash ( bool *  level,
int *  Index 
)

◆ AddLevelInHash() [2/2]

int DSSSliceMapper::AddLevelInHash ( bool *  level,
int *  Index 
)

◆ AddSlice() [1/2]

int DSSSliceMapper::AddSlice ( bool *  level,
int  tag,
EnumDssSliceFlag  SliceFlag,
int  metric,
int  SliceID,
int  levelID,
EnumDSSRuntimeSubtotalType  lExtremeType = DssRuntimeSubtotalDefault,
int  iModelIndex = -1,
int  iTRMetricID = -1,
int  nXVariable = 0,
int *  ipXVariables = NULL,
EnumDSSObjectType ipXVariableTypes = NULL,
int *  ipXIndexMetrics = NULL 
)

◆ AddSlice() [2/2]

int DSSSliceMapper::AddSlice ( bool *  level,
int  tag,
EnumDssSliceFlag  SliceFlag,
int  metric,
int  SliceID,
int  levelID,
EnumDSSRuntimeSubtotalType  lExtremeType = DssRuntimeSubtotalDefault,
int  iModelIndex = -1,
int  iTRMetricID = -1,
int  nXVariable = 0,
int *  ipXVariables = NULL,
EnumDSSObjectType ipXVariableTypes = NULL,
int *  ipXIndexMetrics = NULL 
)

◆ ClearBuffer() [1/2]

void DSSSliceMapper::ClearBuffer ( )

◆ ClearBuffer() [2/2]

void DSSSliceMapper::ClearBuffer ( )

◆ Count() [1/2]

int DSSSliceMapper::Count ( int  levelID,
int *  count,
EnumDssSliceFlag  iSliceFlag = DssOriginalSlice 
)

◆ Count() [2/2]

int DSSSliceMapper::Count ( int  levelID,
int *  count,
EnumDssSliceFlag  iSliceFlag = DssOriginalSlice 
)

◆ CountLevels() [1/2]

int DSSSliceMapper::CountLevels ( int *  count)

◆ CountLevels() [2/2]

int DSSSliceMapper::CountLevels ( int *  count)

◆ FindLevelInHash() [1/2]

int DSSSliceMapper::FindLevelInHash ( bool *  level,
int *  Index 
)

◆ FindLevelInHash() [2/2]

int DSSSliceMapper::FindLevelInHash ( bool *  level,
int *  Index 
)

◆ GetLevel() [1/2]

int DSSSliceMapper::GetLevel ( int  levelID,
bool **  level 
)

◆ GetLevel() [2/2]

int DSSSliceMapper::GetLevel ( int  levelID,
bool **  level 
)

◆ getSlicesByLevel() [1/2]

int DSSSliceMapper::getSlicesByLevel ( bool *  iLevel,
std::vector< int > &  ivMetrics,
std::vector< int > &  ovSliceID 
)

◆ getSlicesByLevel() [2/2]

int DSSSliceMapper::getSlicesByLevel ( bool *  iLevel,
std::vector< int > &  ivMetrics,
std::vector< int > &  ovSliceID 
)

◆ Init() [1/2]

int DSSSliceMapper::Init ( void  )

◆ Init() [2/2]

int DSSSliceMapper::Init ( void  )

◆ Item() [1/2]

int DSSSliceMapper::Item ( int  Ilevel,
int  ITag,
bool **  level,
int *  tag,
EnumDssSliceFlag  iSliceFlag = DssOriginalSlice,
DSSModelInfo **  oppModelInfo = NULL 
)

◆ Item() [2/2]

int DSSSliceMapper::Item ( int  Ilevel,
int  ITag,
bool **  level,
int *  tag,
EnumDssSliceFlag  iSliceFlag = DssOriginalSlice,
DSSModelInfo **  oppModelInfo = NULL 
)

◆ levelHashFunc() [1/2]

int DSSSliceMapper::levelHashFunc ( bool *  level)

◆ levelHashFunc() [2/2]

int DSSSliceMapper::levelHashFunc ( bool *  level)

◆ ReplaceSliceByLevel() [1/2]

int DSSSliceMapper::ReplaceSliceByLevel ( bool *  level,
int  iSliceID,
int  iMetric,
int  iTag,
EnumDssSliceFlag  iSliceFlag 
)

◆ ReplaceSliceByLevel() [2/2]

int DSSSliceMapper::ReplaceSliceByLevel ( bool *  level,
int  iSliceID,
int  iMetric,
int  iTag,
EnumDssSliceFlag  iSliceFlag 
)

◆ SearchID() [1/2]

int DSSSliceMapper::SearchID ( bool *  level,
int  tag,
EnumDssSliceFlag  SliceFlag,
int  metric,
int *  SliceID,
EnumDSSRuntimeSubtotalType opExtremeType = NULL 
)

◆ SearchID() [2/2]

int DSSSliceMapper::SearchID ( bool *  level,
int  tag,
EnumDssSliceFlag  SliceFlag,
int  metric,
int *  SliceID,
EnumDSSRuntimeSubtotalType opExtremeType = NULL 
)