QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
Index Class Reference

#include <Index.h>

Public Member Functions

SpatialIndex::StorageManager::IBufferbuffer ()
 
void flush ()
 
RTStorageType GetIndexStorage ()
 
RTIndexType GetIndexType ()
 
RTIndexVariant GetIndexVariant ()
 
const Tools::PropertySet GetProperties ()
 
int64_t GetResultSetLimit ()
 
int64_t GetResultSetOffset ()
 
SpatialIndex::ISpatialIndexindex ()
 
 Index (const Tools::PropertySet &poProperties)
 
 Index (const Tools::PropertySet &poProperties, int(*readNext)(SpatialIndex::id_type *id, double **pMin, double **pMax, uint32_t *nDimension, const uint8_t **pData, uint32_t *nDataLength))
 
bool insertFeature (uint64_t id, double *min, double *max)
 
void SetIndexStorage (RTStorageType v)
 
void SetIndexType (RTIndexType v)
 
void SetIndexVariant (RTStorageType v)
 
void SetResultSetLimit (int64_t v)
 
void SetResultSetOffset (int64_t v)
 
 ~Index ()
 

Private Member Functions

SpatialIndex::ISpatialIndexCreateIndex ()
 
SpatialIndex::StorageManager::IBufferCreateIndexBuffer (SpatialIndex::IStorageManager &storage)
 
SpatialIndex::IStorageManagerCreateStorage ()
 
 Index ()
 
void Initialize ()
 
Indexoperator= (const Index &)
 
void Setup ()
 

Private Attributes

SpatialIndex::StorageManager::IBufferm_buffer
 
Tools::PropertySet m_properties
 
SpatialIndex::ISpatialIndexm_rtree
 
SpatialIndex::IStorageManagerm_storage
 

Constructor & Destructor Documentation

◆ Index() [1/3]

Index::Index ( const Tools::PropertySet & poProperties)

◆ Index() [2/3]

Index::Index ( const Tools::PropertySet & poProperties,
int(*)(SpatialIndex::id_type *id, double **pMin, double **pMax, uint32_t *nDimension, const uint8_t **pData, uint32_t *nDataLength) readNext )

◆ ~Index()

Index::~Index ( )

◆ Index() [3/3]

Index::Index ( )
private

Member Function Documentation

◆ buffer()

SpatialIndex::StorageManager::IBuffer & Index::buffer ( )
inline

◆ CreateIndex()

SpatialIndex::ISpatialIndex * Index::CreateIndex ( )
private

◆ CreateIndexBuffer()

SpatialIndex::StorageManager::IBuffer * Index::CreateIndexBuffer ( SpatialIndex::IStorageManager & storage)
private

◆ CreateStorage()

SpatialIndex::IStorageManager * Index::CreateStorage ( )
private

◆ flush()

void Index::flush ( )

◆ GetIndexStorage()

RTStorageType Index::GetIndexStorage ( )

◆ GetIndexType()

RTIndexType Index::GetIndexType ( )

◆ GetIndexVariant()

RTIndexVariant Index::GetIndexVariant ( )

◆ GetProperties()

const Tools::PropertySet Index::GetProperties ( )
inline

◆ GetResultSetLimit()

int64_t Index::GetResultSetLimit ( )

◆ GetResultSetOffset()

int64_t Index::GetResultSetOffset ( )

◆ index()

SpatialIndex::ISpatialIndex & Index::index ( )
inline

◆ Initialize()

void Index::Initialize ( )
private

◆ insertFeature()

bool Index::insertFeature ( uint64_t id,
double * min,
double * max )

◆ operator=()

Index & Index::operator= ( const Index & )
private

◆ SetIndexStorage()

void Index::SetIndexStorage ( RTStorageType v)

◆ SetIndexType()

void Index::SetIndexType ( RTIndexType v)

◆ SetIndexVariant()

void Index::SetIndexVariant ( RTStorageType v)

◆ SetResultSetLimit()

void Index::SetResultSetLimit ( int64_t v)

◆ SetResultSetOffset()

void Index::SetResultSetOffset ( int64_t v)

◆ Setup()

void Index::Setup ( )
private

Member Data Documentation

◆ m_buffer

SpatialIndex::StorageManager::IBuffer* Index::m_buffer
private

◆ m_properties

Tools::PropertySet Index::m_properties
private

◆ m_rtree

SpatialIndex::ISpatialIndex* Index::m_rtree
private

◆ m_storage

SpatialIndex::IStorageManager* Index::m_storage
private

The documentation for this class was generated from the following file: