Mobile API Reference  MicroStrategy 2019
ElementIndex Class Reference

#include <DSSTabularIndex.h>

Inheritance diagram for ElementIndex:
DSSCMMemoryMap DSSCMMemoryMap

Public Member Functions

 ElementIndex ()
 
virtual ~ElementIndex ()
 
virtual int createMMapMemory (const char *ipFilePath, bool ibUseNewFile=false)
 
virtual int releaseMMapMemory ()
 
virtual int reloadMMapMemory ()
 
virtual int GetRawSize ()
 
int Size ()
 
 ElementIndex ()
 
virtual ~ElementIndex ()
 
virtual int createMMapMemory (const char *ipFilePath, bool ibUseNewFile=false)
 
virtual int releaseMMapMemory ()
 
virtual int reloadMMapMemory ()
 
virtual int GetRawSize ()
 
int Size ()
 
- Public Member Functions inherited from DSSCMMemoryMap
 DSSCMMemoryMap ()
 
virtual ~DSSCMMemoryMap ()
 
bool GetUseMappedFile ()
 
void SetUseMappedFile (bool ibUseMappedFile)
 
bool NeedDoMMap (const char *ipFilePath)
 
int GetMMPBufSize ()
 
int GetOffset ()
 
int GetOffsetAligned ()
 
void SetMMPBufSize (int iMMpBufSize)
 
void SetOffset (int iOffset)
 
void SetOffsetAligned (int iOffsetAligned)
 
void SetFilePath (const char *ipFilePath)
 
int MMap (const char *ipFilePath, int iFileOffset, int iBinarySize)
 
 DSSCMMemoryMap ()
 
virtual ~DSSCMMemoryMap ()
 
bool GetUseMappedFile ()
 
void SetUseMappedFile (bool ibUseMappedFile)
 
bool NeedDoMMap (const char *ipFilePath)
 
int GetMMPBufSize ()
 
int GetOffset ()
 
int GetOffsetAligned ()
 
void SetMMPBufSize (int iMMpBufSize)
 
void SetOffset (int iOffset)
 
void SetOffsetAligned (int iOffsetAligned)
 
void SetFilePath (const char *ipFilePath)
 
int MMap (const char *ipFilePath, int iFileOffset, int iBinarySize)
 

Public Attributes

int mnElements
 
int * mpElements
 
int * mpElementAddress
 
int * mpRows
 
DSSTabularIndexmpIndex
 

Additional Inherited Members

- Protected Attributes inherited from DSSCMMemoryMap
std::string mFilePath
 
bool mbUseMappedFile
 
char * mpMMPBuffer
 
int mMMPBufSize
 
int mOffset
 
int mOffsetAligned
 
EnumCMBlockType mBlockType
 

Constructor & Destructor Documentation

◆ ElementIndex() [1/2]

ElementIndex::ElementIndex ( )

◆ ~ElementIndex() [1/2]

virtual ElementIndex::~ElementIndex ( )
virtual

◆ ElementIndex() [2/2]

ElementIndex::ElementIndex ( )

◆ ~ElementIndex() [2/2]

virtual ElementIndex::~ElementIndex ( )
virtual

Member Function Documentation

◆ createMMapMemory() [1/2]

virtual int ElementIndex::createMMapMemory ( const char *  ipFilePath,
bool  ibUseNewFile = false 
)
virtual

Implements DSSCMMemoryMap.

◆ createMMapMemory() [2/2]

virtual int ElementIndex::createMMapMemory ( const char *  ipFilePath,
bool  ibUseNewFile = false 
)
virtual

Implements DSSCMMemoryMap.

◆ GetRawSize() [1/2]

virtual int ElementIndex::GetRawSize ( )
virtual

Implements DSSCMMemoryMap.

◆ GetRawSize() [2/2]

virtual int ElementIndex::GetRawSize ( )
virtual

Implements DSSCMMemoryMap.

◆ releaseMMapMemory() [1/2]

virtual int ElementIndex::releaseMMapMemory ( )
virtual

Reimplemented from DSSCMMemoryMap.

◆ releaseMMapMemory() [2/2]

virtual int ElementIndex::releaseMMapMemory ( )
virtual

Reimplemented from DSSCMMemoryMap.

◆ reloadMMapMemory() [1/2]

virtual int ElementIndex::reloadMMapMemory ( )
virtual

Reimplemented from DSSCMMemoryMap.

◆ reloadMMapMemory() [2/2]

virtual int ElementIndex::reloadMMapMemory ( )
virtual

Reimplemented from DSSCMMemoryMap.

◆ Size() [1/2]

int ElementIndex::Size ( )

◆ Size() [2/2]

int ElementIndex::Size ( )

Member Data Documentation

◆ mnElements

int ElementIndex::mnElements

◆ mpElementAddress

int * ElementIndex::mpElementAddress

◆ mpElements

int * ElementIndex::mpElements

◆ mpIndex

DSSTabularIndex * ElementIndex::mpIndex

◆ mpRows

int * ElementIndex::mpRows