Mobile API Reference  MicroStrategy 2019
NGBPathInfo Class Reference

#include <DSSRWDataModel.h>

Public Member Functions

 NGBPathInfo ()
 
 ~NGBPathInfo ()
 
void buildNGBIndexHash ()
 
int GetNGBKey (int iRow, int iLevel, int *opKey)
 
bool containSameKey (int iRow1, int iRow2, int iLevel)
 
int GetRowCountByNGBPath (int iRow, int iLevel, int &oRowCount)
 
int GetRowsByNGBPath (int iRow, int iLevel, vector< int > &ovRows)
 
int GetIndicesByNGBPath (int iRow, int iLevel, vector< int > &ovIndices)
 
int GetAllText (MBase::CString &orText)
 
DSSBaseElementProxyGetAllElement ()
 
int GetElements (const vector< int > &ivIndex, const int iUnit, vector< DSSBaseElementProxy *> &ovElements)
 
int GetElementsByRows (const vector< int > &ivRows, const int iUnit, vector< DSSBaseElementProxy *> &ovElements)
 
int GetElementTexts (vector< int > &irvIndices, int unit, vector< string > &ovTexts)
 
void setDataModel (DSSRWDataModel *ipModel)
 
int loadFromBinary (DSSBinaryDataReader *ipReadStream)
 
string GetNGBNodeKey (int iUnit)
 
int toString (std::ostream &out)
 
int getNGBSelectedRow (int iLevel)
 
void setNGBSelectedRow (int iLevel, int iRow)
 
int GetNGBUnitCount ()
 
DSSBaseElementProxygetSpecialElement (int i)
 
int GetSpecialElementCount ()
 
std::string getSpecialElementText (int i)
 
int GetElementCount (int iUnit)
 
GroupbyElementGetRootElement ()
 
bool operator() (int a, int b)
 
int getNGBNodeIndex (string nodekey)
 
int getNGBIndexRowCount ()
 
int getMaxElementIndex (int iUnit)
 
void clearUnitElements ()
 
int RemoveFromNGBIndex (const vector< int > &irRemovedRows)
 
 NGBPathInfo ()
 
 ~NGBPathInfo ()
 
void buildNGBIndexHash ()
 
int GetNGBKey (int iRow, int iLevel, int *opKey)
 
bool containSameKey (int iRow1, int iRow2, int iLevel)
 
int GetRowCountByNGBPath (int iRow, int iLevel, int &oRowCount)
 
int GetRowsByNGBPath (int iRow, int iLevel, vector< int > &ovRows)
 
int GetIndicesByNGBPath (int iRow, int iLevel, vector< int > &ovIndices)
 
int GetAllText (MBase::CString &orText)
 
DSSBaseElementProxyGetAllElement ()
 
int GetElements (const vector< int > &ivIndex, const int iUnit, vector< DSSBaseElementProxy *> &ovElements)
 
int GetElementsByRows (const vector< int > &ivRows, const int iUnit, vector< DSSBaseElementProxy *> &ovElements)
 
int GetElementTexts (vector< int > &irvIndices, int unit, vector< string > &ovTexts)
 
void setDataModel (DSSRWDataModel *ipModel)
 
int loadFromBinary (DSSBinaryDataReader *ipReadStream)
 
string GetNGBNodeKey (int iUnit)
 
int toString (std::ostream &out)
 
int getNGBSelectedRow (int iLevel)
 
void setNGBSelectedRow (int iLevel, int iRow)
 
int GetNGBUnitCount ()
 
DSSBaseElementProxygetSpecialElement (int i)
 
int GetSpecialElementCount ()
 
std::string getSpecialElementText (int i)
 
int GetElementCount (int iUnit)
 
GroupbyElementGetRootElement ()
 
bool operator() (int a, int b)
 
int getNGBNodeIndex (string nodekey)
 
int getNGBIndexRowCount ()
 
int getMaxElementIndex (int iUnit)
 
void clearUnitElements ()
 
int RemoveFromNGBIndex (const vector< int > &irRemovedRows)
 

Public Attributes

vector< string > mvNGBNodeKey
 
vector< bool > mvHasTotal
 
int mNGBCount
 
int mnNGBIndexRow
 
vector< int > mNGBIndex
 
vector< int > mNGBIndexHash
 

Protected Attributes

vector< SpecialElementmvSpecialElements
 
vector< int > mvMaxIndexForUnit
 
vector< vector< DSSBaseElementProxy * > > mvUnitElements
 
vector< int > mvCurrentSelectedRow
 
int mlAllElementOffset
 
DSSBaseElementProxympAllElement
 
DSSRWDataModelmpDataModel
 
GroupbyElementmpRootElement
 

Constructor & Destructor Documentation

◆ NGBPathInfo() [1/2]

NGBPathInfo::NGBPathInfo ( )

◆ ~NGBPathInfo() [1/2]

NGBPathInfo::~NGBPathInfo ( )

◆ NGBPathInfo() [2/2]

NGBPathInfo::NGBPathInfo ( )

◆ ~NGBPathInfo() [2/2]

NGBPathInfo::~NGBPathInfo ( )

Member Function Documentation

◆ buildNGBIndexHash() [1/2]

void NGBPathInfo::buildNGBIndexHash ( )

◆ buildNGBIndexHash() [2/2]

void NGBPathInfo::buildNGBIndexHash ( )

◆ clearUnitElements() [1/2]

void NGBPathInfo::clearUnitElements ( )

◆ clearUnitElements() [2/2]

void NGBPathInfo::clearUnitElements ( )

◆ containSameKey() [1/2]

bool NGBPathInfo::containSameKey ( int  iRow1,
int  iRow2,
int  iLevel 
)

◆ containSameKey() [2/2]

bool NGBPathInfo::containSameKey ( int  iRow1,
int  iRow2,
int  iLevel 
)

◆ GetAllElement() [1/2]

DSSBaseElementProxy* NGBPathInfo::GetAllElement ( )

◆ GetAllElement() [2/2]

DSSBaseElementProxy* NGBPathInfo::GetAllElement ( )

◆ GetAllText() [1/2]

int NGBPathInfo::GetAllText ( MBase::CString orText)

◆ GetAllText() [2/2]

int NGBPathInfo::GetAllText ( MBase::CString orText)

◆ GetElementCount() [1/2]

int NGBPathInfo::GetElementCount ( int  iUnit)

◆ GetElementCount() [2/2]

int NGBPathInfo::GetElementCount ( int  iUnit)

◆ GetElements() [1/2]

int NGBPathInfo::GetElements ( const vector< int > &  ivIndex,
const int  iUnit,
vector< DSSBaseElementProxy *> &  ovElements 
)

◆ GetElements() [2/2]

int NGBPathInfo::GetElements ( const vector< int > &  ivIndex,
const int  iUnit,
vector< DSSBaseElementProxy *> &  ovElements 
)

◆ GetElementsByRows() [1/2]

int NGBPathInfo::GetElementsByRows ( const vector< int > &  ivRows,
const int  iUnit,
vector< DSSBaseElementProxy *> &  ovElements 
)

◆ GetElementsByRows() [2/2]

int NGBPathInfo::GetElementsByRows ( const vector< int > &  ivRows,
const int  iUnit,
vector< DSSBaseElementProxy *> &  ovElements 
)

◆ GetElementTexts() [1/2]

int NGBPathInfo::GetElementTexts ( vector< int > &  irvIndices,
int  unit,
vector< string > &  ovTexts 
)

◆ GetElementTexts() [2/2]

int NGBPathInfo::GetElementTexts ( vector< int > &  irvIndices,
int  unit,
vector< string > &  ovTexts 
)

◆ GetIndicesByNGBPath() [1/2]

int NGBPathInfo::GetIndicesByNGBPath ( int  iRow,
int  iLevel,
vector< int > &  ovIndices 
)

◆ GetIndicesByNGBPath() [2/2]

int NGBPathInfo::GetIndicesByNGBPath ( int  iRow,
int  iLevel,
vector< int > &  ovIndices 
)

◆ getMaxElementIndex() [1/2]

int NGBPathInfo::getMaxElementIndex ( int  iUnit)

◆ getMaxElementIndex() [2/2]

int NGBPathInfo::getMaxElementIndex ( int  iUnit)

◆ getNGBIndexRowCount() [1/2]

int NGBPathInfo::getNGBIndexRowCount ( )
inline

◆ getNGBIndexRowCount() [2/2]

int NGBPathInfo::getNGBIndexRowCount ( )
inline

◆ GetNGBKey() [1/2]

int NGBPathInfo::GetNGBKey ( int  iRow,
int  iLevel,
int *  opKey 
)

◆ GetNGBKey() [2/2]

int NGBPathInfo::GetNGBKey ( int  iRow,
int  iLevel,
int *  opKey 
)

◆ getNGBNodeIndex() [1/2]

int NGBPathInfo::getNGBNodeIndex ( string  nodekey)

◆ getNGBNodeIndex() [2/2]

int NGBPathInfo::getNGBNodeIndex ( string  nodekey)

◆ GetNGBNodeKey() [1/2]

string NGBPathInfo::GetNGBNodeKey ( int  iUnit)

◆ GetNGBNodeKey() [2/2]

string NGBPathInfo::GetNGBNodeKey ( int  iUnit)

◆ getNGBSelectedRow() [1/2]

int NGBPathInfo::getNGBSelectedRow ( int  iLevel)

◆ getNGBSelectedRow() [2/2]

int NGBPathInfo::getNGBSelectedRow ( int  iLevel)

◆ GetNGBUnitCount() [1/2]

int NGBPathInfo::GetNGBUnitCount ( )
inline

◆ GetNGBUnitCount() [2/2]

int NGBPathInfo::GetNGBUnitCount ( )
inline

◆ GetRootElement() [1/2]

GroupbyElement* NGBPathInfo::GetRootElement ( )

◆ GetRootElement() [2/2]

GroupbyElement* NGBPathInfo::GetRootElement ( )

◆ GetRowCountByNGBPath() [1/2]

int NGBPathInfo::GetRowCountByNGBPath ( int  iRow,
int  iLevel,
int &  oRowCount 
)

◆ GetRowCountByNGBPath() [2/2]

int NGBPathInfo::GetRowCountByNGBPath ( int  iRow,
int  iLevel,
int &  oRowCount 
)

◆ GetRowsByNGBPath() [1/2]

int NGBPathInfo::GetRowsByNGBPath ( int  iRow,
int  iLevel,
vector< int > &  ovRows 
)

◆ GetRowsByNGBPath() [2/2]

int NGBPathInfo::GetRowsByNGBPath ( int  iRow,
int  iLevel,
vector< int > &  ovRows 
)

◆ getSpecialElement() [1/2]

DSSBaseElementProxy* NGBPathInfo::getSpecialElement ( int  i)

◆ getSpecialElement() [2/2]

DSSBaseElementProxy* NGBPathInfo::getSpecialElement ( int  i)

◆ GetSpecialElementCount() [1/2]

int NGBPathInfo::GetSpecialElementCount ( )

◆ GetSpecialElementCount() [2/2]

int NGBPathInfo::GetSpecialElementCount ( )

◆ getSpecialElementText() [1/2]

std::string NGBPathInfo::getSpecialElementText ( int  i)

◆ getSpecialElementText() [2/2]

std::string NGBPathInfo::getSpecialElementText ( int  i)

◆ loadFromBinary() [1/2]

int NGBPathInfo::loadFromBinary ( DSSBinaryDataReader ipReadStream)

◆ loadFromBinary() [2/2]

int NGBPathInfo::loadFromBinary ( DSSBinaryDataReader ipReadStream)

◆ operator()() [1/2]

bool NGBPathInfo::operator() ( int  a,
int  b 
)

◆ operator()() [2/2]

bool NGBPathInfo::operator() ( int  a,
int  b 
)

◆ RemoveFromNGBIndex() [1/2]

int NGBPathInfo::RemoveFromNGBIndex ( const vector< int > &  irRemovedRows)

◆ RemoveFromNGBIndex() [2/2]

int NGBPathInfo::RemoveFromNGBIndex ( const vector< int > &  irRemovedRows)

◆ setDataModel() [1/2]

void NGBPathInfo::setDataModel ( DSSRWDataModel ipModel)
inline

◆ setDataModel() [2/2]

void NGBPathInfo::setDataModel ( DSSRWDataModel ipModel)
inline

◆ setNGBSelectedRow() [1/2]

void NGBPathInfo::setNGBSelectedRow ( int  iLevel,
int  iRow 
)

◆ setNGBSelectedRow() [2/2]

void NGBPathInfo::setNGBSelectedRow ( int  iLevel,
int  iRow 
)

◆ toString() [1/2]

int NGBPathInfo::toString ( std::ostream &  out)

◆ toString() [2/2]

int NGBPathInfo::toString ( std::ostream &  out)

Member Data Documentation

◆ mlAllElementOffset

int NGBPathInfo::mlAllElementOffset
protected

◆ mNGBCount

int NGBPathInfo::mNGBCount

◆ mNGBIndex

vector< int > NGBPathInfo::mNGBIndex

◆ mNGBIndexHash

vector< int > NGBPathInfo::mNGBIndexHash

◆ mnNGBIndexRow

int NGBPathInfo::mnNGBIndexRow

◆ mpAllElement

DSSBaseElementProxy * NGBPathInfo::mpAllElement
protected

◆ mpDataModel

DSSRWDataModel * NGBPathInfo::mpDataModel
protected

◆ mpRootElement

GroupbyElement * NGBPathInfo::mpRootElement
protected

◆ mvCurrentSelectedRow

vector< int > NGBPathInfo::mvCurrentSelectedRow
protected

◆ mvHasTotal

vector< bool > NGBPathInfo::mvHasTotal

◆ mvMaxIndexForUnit

vector< int > NGBPathInfo::mvMaxIndexForUnit
protected

◆ mvNGBNodeKey

vector< string > NGBPathInfo::mvNGBNodeKey

◆ mvSpecialElements

vector< SpecialElement > NGBPathInfo::mvSpecialElements
protected

◆ mvUnitElements

vector< vector< DSSBaseElementProxy * > > NGBPathInfo::mvUnitElements
protected