libspatialindex API Reference  (git-trunk)
Index Class Reference

#include <Index.h>

Collaboration diagram for Index:
Collaboration graph

Public Member Functions

 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, size_t *nDataLength))
 
 ~Index ()
 
const Tools::PropertySet GetProperties ()
 
bool insertFeature (uint64_t id, double *min, double *max)
 
RTIndexType GetIndexType ()
 
void SetIndexType (RTIndexType v)
 
RTStorageType GetIndexStorage ()
 
void SetIndexStorage (RTStorageType v)
 
RTIndexVariant GetIndexVariant ()
 
void SetIndexVariant (RTIndexVariant v)
 
int64_t GetResultSetOffset ()
 
void SetResultSetOffset (int64_t v)
 
int64_t GetResultSetLimit ()
 
void SetResultSetLimit (int64_t v)
 
void flush ()
 
SpatialIndex::ISpatialIndexindex ()
 
SpatialIndex::StorageManager::IBufferbuffer ()
 

Detailed Description

Definition at line 34 of file include/spatialindex/capi/Index.h.

Constructor & Destructor Documentation

◆ Index() [1/2]

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

Definition at line 76 of file capi/Index.cc.

References Index().

Referenced by Index().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Index() [2/2]

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

◆ ~Index()

Index::~Index ( )

Definition at line 84 of file capi/Index.cc.

Member Function Documentation

◆ buffer()

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

Definition at line 64 of file include/spatialindex/capi/Index.h.

Referenced by Index_ClearBuffer().

Here is the caller graph for this function:

◆ flush()

void Index::flush ( )

Definition at line 428 of file capi/Index.cc.

References SpatialIndex::IStorageManager::flush(), and SpatialIndex::ISpatialIndex::flush().

Referenced by Index_Flush().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetIndexStorage()

RTStorageType Index::GetIndexStorage ( )

◆ GetIndexType()

RTIndexType Index::GetIndexType ( )

Definition at line 288 of file capi/Index.cc.

References Tools::PropertySet::getProperty(), Tools::Variant::m_val, Tools::Variant::m_varType, RT_InvalidIndexType, Tools::Variant::ulVal, Tools::VT_EMPTY, and Tools::VT_ULONG.

Referenced by SetIndexVariant().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetIndexVariant()

RTIndexVariant Index::GetIndexVariant ( )

◆ GetProperties()

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

Definition at line 42 of file include/spatialindex/capi/Index.h.

Referenced by Index_GetProperties().

Here is the caller graph for this function:

◆ GetResultSetLimit()

◆ GetResultSetOffset()

◆ index()

◆ insertFeature()

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

◆ SetIndexStorage()

void Index::SetIndexStorage ( RTStorageType  v)

Definition at line 333 of file capi/Index.cc.

References Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), Tools::Variant::ulVal, and Tools::VT_ULONG.

Here is the call graph for this function:

◆ SetIndexType()

void Index::SetIndexType ( RTIndexType  v)

Definition at line 306 of file capi/Index.cc.

References Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), Tools::Variant::ulVal, and Tools::VT_ULONG.

Here is the call graph for this function:

◆ SetIndexVariant()

void Index::SetIndexVariant ( RTIndexVariant  v)

Definition at line 360 of file capi/Index.cc.

References GetIndexType(), Tools::Variant::m_val, RT_MVRTree, RT_RTree, RT_TPRTree, and Tools::Variant::ulVal.

Here is the call graph for this function:

◆ SetResultSetLimit()

void Index::SetResultSetLimit ( int64_t  v)

Definition at line 420 of file capi/Index.cc.

References Tools::Variant::llVal, Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), and Tools::VT_LONGLONG.

Referenced by Index_SetResultSetLimit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetResultSetOffset()

void Index::SetResultSetOffset ( int64_t  v)

Definition at line 394 of file capi/Index.cc.

References Tools::Variant::llVal, Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), and Tools::VT_LONGLONG.

Referenced by Index_SetResultSetOffset().

Here is the call graph for this function:
Here is the caller graph for this function:

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