Mobile API Reference  MicroStrategy 2019
DSSViewMap Class Reference

#include <DSSViewMap.h>

Public Member Functions

 DSSViewMap ()
 
 ~DSSViewMap ()
 
int Init (vector< GUID > &irGBUnitID, int nRows, int *ipKeys, std::string iFilePath="", char *pGBPage=NULL, int GBPageSize=0, int GBPagePosInFile=0)
 
int CountRows ()
 
int getView (int *ipKeys, int nUnits, int &orViewID)
 
int getViewPartialMatch (int *ipKeys, int nUnits, vector< int > &orvViews, int &orCount)
 
int getUnitCount ()
 
int findGBUnit (GUID &irUnitID)
 
int getUnitKey (int iRow, int iUnit, int &orKey)
 
int size ()
 
int getSubtotalKeys (GUID &irUnitID, set< int > &irExcludedTotalKeys, vector< int > &orTotalKeys)
 
int getUnitID (int iUnit, GUID &orUnitID)
 
int getGBUnitCount ()
 
int createMMapMemory (const char *ipFilePath, bool &ibUseNewFile)
 
int MapGBKeys (bool ibReloadHashTable=true)
 
int UnMapGBKeys (bool ibReleaseHashTable=true)
 
 DSSViewMap ()
 
 ~DSSViewMap ()
 
int Init (vector< GUID > &irGBUnitID, int nRows, int *ipKeys, std::string iFilePath="", char *pGBPage=NULL, int GBPageSize=0, int GBPagePosInFile=0)
 
int CountRows ()
 
int getView (int *ipKeys, int nUnits, int &orViewID)
 
int getViewPartialMatch (int *ipKeys, int nUnits, vector< int > &orvViews, int &orCount)
 
int getUnitCount ()
 
int findGBUnit (GUID &irUnitID)
 
int getUnitKey (int iRow, int iUnit, int &orKey)
 
int size ()
 
int getSubtotalKeys (GUID &irUnitID, set< int > &irExcludedTotalKeys, vector< int > &orTotalKeys)
 
int getUnitID (int iUnit, GUID &orUnitID)
 
int getGBUnitCount ()
 
int createMMapMemory (const char *ipFilePath, bool &ibUseNewFile)
 
int MapGBKeys (bool ibReloadHashTable=true)
 
int UnMapGBKeys (bool ibReleaseHashTable=true)
 

Constructor & Destructor Documentation

◆ DSSViewMap() [1/2]

DSSViewMap::DSSViewMap ( )

◆ ~DSSViewMap() [1/2]

DSSViewMap::~DSSViewMap ( )

◆ DSSViewMap() [2/2]

DSSViewMap::DSSViewMap ( )

◆ ~DSSViewMap() [2/2]

DSSViewMap::~DSSViewMap ( )

Member Function Documentation

◆ CountRows() [1/2]

int DSSViewMap::CountRows ( )

◆ CountRows() [2/2]

int DSSViewMap::CountRows ( )

◆ createMMapMemory() [1/2]

int DSSViewMap::createMMapMemory ( const char *  ipFilePath,
bool &  ibUseNewFile 
)

◆ createMMapMemory() [2/2]

int DSSViewMap::createMMapMemory ( const char *  ipFilePath,
bool &  ibUseNewFile 
)

◆ findGBUnit() [1/2]

int DSSViewMap::findGBUnit ( GUID irUnitID)

◆ findGBUnit() [2/2]

int DSSViewMap::findGBUnit ( GUID irUnitID)

◆ getGBUnitCount() [1/2]

int DSSViewMap::getGBUnitCount ( )

◆ getGBUnitCount() [2/2]

int DSSViewMap::getGBUnitCount ( )

◆ getSubtotalKeys() [1/2]

int DSSViewMap::getSubtotalKeys ( GUID irUnitID,
set< int > &  irExcludedTotalKeys,
vector< int > &  orTotalKeys 
)

◆ getSubtotalKeys() [2/2]

int DSSViewMap::getSubtotalKeys ( GUID irUnitID,
set< int > &  irExcludedTotalKeys,
vector< int > &  orTotalKeys 
)

◆ getUnitCount() [1/2]

int DSSViewMap::getUnitCount ( )
inline

◆ getUnitCount() [2/2]

int DSSViewMap::getUnitCount ( )
inline

◆ getUnitID() [1/2]

int DSSViewMap::getUnitID ( int  iUnit,
GUID orUnitID 
)

◆ getUnitID() [2/2]

int DSSViewMap::getUnitID ( int  iUnit,
GUID orUnitID 
)

◆ getUnitKey() [1/2]

int DSSViewMap::getUnitKey ( int  iRow,
int  iUnit,
int &  orKey 
)

◆ getUnitKey() [2/2]

int DSSViewMap::getUnitKey ( int  iRow,
int  iUnit,
int &  orKey 
)

◆ getView() [1/2]

int DSSViewMap::getView ( int *  ipKeys,
int  nUnits,
int &  orViewID 
)

◆ getView() [2/2]

int DSSViewMap::getView ( int *  ipKeys,
int  nUnits,
int &  orViewID 
)

◆ getViewPartialMatch() [1/2]

int DSSViewMap::getViewPartialMatch ( int *  ipKeys,
int  nUnits,
vector< int > &  orvViews,
int &  orCount 
)

◆ getViewPartialMatch() [2/2]

int DSSViewMap::getViewPartialMatch ( int *  ipKeys,
int  nUnits,
vector< int > &  orvViews,
int &  orCount 
)

◆ Init() [1/2]

int DSSViewMap::Init ( vector< GUID > &  irGBUnitID,
int  nRows,
int *  ipKeys,
std::string  iFilePath = "",
char *  pGBPage = NULL,
int  GBPageSize = 0,
int  GBPagePosInFile = 0 
)

◆ Init() [2/2]

int DSSViewMap::Init ( vector< GUID > &  irGBUnitID,
int  nRows,
int *  ipKeys,
std::string  iFilePath = "",
char *  pGBPage = NULL,
int  GBPageSize = 0,
int  GBPagePosInFile = 0 
)

◆ MapGBKeys() [1/2]

int DSSViewMap::MapGBKeys ( bool  ibReloadHashTable = true)

◆ MapGBKeys() [2/2]

int DSSViewMap::MapGBKeys ( bool  ibReloadHashTable = true)

◆ size() [1/2]

int DSSViewMap::size ( )

◆ size() [2/2]

int DSSViewMap::size ( )

◆ UnMapGBKeys() [1/2]

int DSSViewMap::UnMapGBKeys ( bool  ibReleaseHashTable = true)

◆ UnMapGBKeys() [2/2]

int DSSViewMap::UnMapGBKeys ( bool  ibReleaseHashTable = true)