Mobile API Reference  MicroStrategy 2019
DSSLevelResolver Class Reference

#include <DSSLevelResolver.h>

Public Member Functions

 DSSLevelResolver (DSSCube *ipCube, MCESchema *ipSchema=NULL)
 
 ~DSSLevelResolver ()
 
int Init ()
 
int ResolveAggLevel (vector< int > &irvInputLevel, vector< int > &irvTargetLevel, vector< int > &orvAggLevel)
 
int ResolveDownwardLevel (vector< int > &irvAggLevel, vector< int > &irvTargetLevel, vector< int > &orvFinalLevel)
 
int ResolveTrueLevel (vector< int > &irvInputLevel, vector< int > &orvTrueLevel)
 
int ResolveAllLevel (Int32 iLength, DSS_ID *iSet, Int32 *input, Int32 *oResult)
 
int ResolveLookupUnits (vector< int > &irvInputLevel, vector< int > &irvLookupLevel)
 
int IsUpperLevel (vector< int > &irvInputLevel1, vector< int > &irvInputLevel2, bool &orResult)
 
int ResolveInterimAggLevel (METRIC_ID iMetricID, Int32 iSliceID, vector< Int32 > &irTargetLevels, vector< Int32 > &orAggLevels, vector< DSSSortDefinition *> *opSortDefinitions)
 
MCESchemagetMCESchema ()
 
 DSSLevelResolver (DSSCube *ipCube, MCESchema *ipSchema=NULL)
 
 ~DSSLevelResolver ()
 
int Init ()
 
int ResolveAggLevel (vector< int > &irvInputLevel, vector< int > &irvTargetLevel, vector< int > &orvAggLevel)
 
int ResolveDownwardLevel (vector< int > &irvAggLevel, vector< int > &irvTargetLevel, vector< int > &orvFinalLevel)
 
int ResolveTrueLevel (vector< int > &irvInputLevel, vector< int > &orvTrueLevel)
 
int ResolveAllLevel (Int32 iLength, DSS_ID *iSet, Int32 *input, Int32 *oResult)
 
int ResolveLookupUnits (vector< int > &irvInputLevel, vector< int > &irvLookupLevel)
 
int IsUpperLevel (vector< int > &irvInputLevel1, vector< int > &irvInputLevel2, bool &orResult)
 
int ResolveInterimAggLevel (METRIC_ID iMetricID, Int32 iSliceID, vector< Int32 > &irTargetLevels, vector< Int32 > &orAggLevels, vector< DSSSortDefinition *> *opSortDefinitions)
 
MCESchemagetMCESchema ()
 

Constructor & Destructor Documentation

◆ DSSLevelResolver() [1/2]

DSSLevelResolver::DSSLevelResolver ( DSSCube ipCube,
MCESchema ipSchema = NULL 
)

◆ ~DSSLevelResolver() [1/2]

DSSLevelResolver::~DSSLevelResolver ( )

◆ DSSLevelResolver() [2/2]

DSSLevelResolver::DSSLevelResolver ( DSSCube ipCube,
MCESchema ipSchema = NULL 
)

◆ ~DSSLevelResolver() [2/2]

DSSLevelResolver::~DSSLevelResolver ( )

Member Function Documentation

◆ getMCESchema() [1/2]

MCESchema* DSSLevelResolver::getMCESchema ( )
inline

◆ getMCESchema() [2/2]

MCESchema* DSSLevelResolver::getMCESchema ( )
inline

◆ Init() [1/2]

int DSSLevelResolver::Init ( )

◆ Init() [2/2]

int DSSLevelResolver::Init ( )

◆ IsUpperLevel() [1/2]

int DSSLevelResolver::IsUpperLevel ( vector< int > &  irvInputLevel1,
vector< int > &  irvInputLevel2,
bool &  orResult 
)

◆ IsUpperLevel() [2/2]

int DSSLevelResolver::IsUpperLevel ( vector< int > &  irvInputLevel1,
vector< int > &  irvInputLevel2,
bool &  orResult 
)

◆ ResolveAggLevel() [1/2]

int DSSLevelResolver::ResolveAggLevel ( vector< int > &  irvInputLevel,
vector< int > &  irvTargetLevel,
vector< int > &  orvAggLevel 
)

◆ ResolveAggLevel() [2/2]

int DSSLevelResolver::ResolveAggLevel ( vector< int > &  irvInputLevel,
vector< int > &  irvTargetLevel,
vector< int > &  orvAggLevel 
)

◆ ResolveAllLevel() [1/2]

int DSSLevelResolver::ResolveAllLevel ( Int32  iLength,
DSS_ID iSet,
Int32 input,
Int32 oResult 
)

◆ ResolveAllLevel() [2/2]

int DSSLevelResolver::ResolveAllLevel ( Int32  iLength,
DSS_ID iSet,
Int32 input,
Int32 oResult 
)

◆ ResolveDownwardLevel() [1/2]

int DSSLevelResolver::ResolveDownwardLevel ( vector< int > &  irvAggLevel,
vector< int > &  irvTargetLevel,
vector< int > &  orvFinalLevel 
)

◆ ResolveDownwardLevel() [2/2]

int DSSLevelResolver::ResolveDownwardLevel ( vector< int > &  irvAggLevel,
vector< int > &  irvTargetLevel,
vector< int > &  orvFinalLevel 
)

◆ ResolveInterimAggLevel() [1/2]

int DSSLevelResolver::ResolveInterimAggLevel ( METRIC_ID  iMetricID,
Int32  iSliceID,
vector< Int32 > &  irTargetLevels,
vector< Int32 > &  orAggLevels,
vector< DSSSortDefinition *> *  opSortDefinitions 
)

◆ ResolveInterimAggLevel() [2/2]

int DSSLevelResolver::ResolveInterimAggLevel ( METRIC_ID  iMetricID,
Int32  iSliceID,
vector< Int32 > &  irTargetLevels,
vector< Int32 > &  orAggLevels,
vector< DSSSortDefinition *> *  opSortDefinitions 
)

◆ ResolveLookupUnits() [1/2]

int DSSLevelResolver::ResolveLookupUnits ( vector< int > &  irvInputLevel,
vector< int > &  irvLookupLevel 
)

◆ ResolveLookupUnits() [2/2]

int DSSLevelResolver::ResolveLookupUnits ( vector< int > &  irvInputLevel,
vector< int > &  irvLookupLevel 
)

◆ ResolveTrueLevel() [1/2]

int DSSLevelResolver::ResolveTrueLevel ( vector< int > &  irvInputLevel,
vector< int > &  orvTrueLevel 
)

◆ ResolveTrueLevel() [2/2]

int DSSLevelResolver::ResolveTrueLevel ( vector< int > &  irvInputLevel,
vector< int > &  orvTrueLevel 
)