|
libspatialindex API Reference
(git-trunk)
|
#include <Index.h>

Public Member Functions | |
| Index (const Tools::PropertySet &poProperties) | |
| Index (const Tools::PropertySet &poProperties, std::unique_ptr< SpatialIndex::IDataStream > stream) | |
| 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::ISpatialIndex & | index () |
| SpatialIndex::StorageManager::IBuffer & | buffer () |
Definition at line 35 of file include/spatialindex/capi/Index.h.
| Index::Index | ( | const Tools::PropertySet & | poProperties | ) |
Definition at line 100 of file capi/Index.cc.
References Index().
Referenced by Index().


| Index::Index | ( | const Tools::PropertySet & | poProperties, |
| std::unique_ptr< SpatialIndex::IDataStream > | stream | ||
| ) |
Definition at line 125 of file capi/Index.cc.
References SpatialIndex::RTree::BLM_STR, SpatialIndex::RTree::createAndBulkLoadNewRTree(), GetIndexStorage(), Index(), Tools::Variant::llVal, Tools::Variant::m_val, Tools::Variant::m_varType, RT_Memory, Tools::Variant::ulVal, Tools::VT_EMPTY, Tools::VT_LONGLONG, and Tools::VT_ULONG.

| 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 | ||
| ) |
Definition at line 115 of file capi/Index.cc.
References Index().

| Index::~Index | ( | ) |
Definition at line 108 of file capi/Index.cc.
|
inline |
Definition at line 66 of file include/spatialindex/capi/Index.h.
Referenced by Index_ClearBuffer().

| void Index::flush | ( | ) |
Definition at line 386 of file capi/Index.cc.
References SpatialIndex::IStorageManager::flush(), and SpatialIndex::ISpatialIndex::flush().
Referenced by Index_Flush().


| RTStorageType Index::GetIndexStorage | ( | ) |
Definition at line 294 of file capi/Index.cc.
References Tools::PropertySet::getProperty(), Tools::Variant::m_val, Tools::Variant::m_varType, RT_InvalidStorageType, Tools::Variant::ulVal, Tools::VT_EMPTY, and Tools::VT_ULONG.
Referenced by Index().


| RTIndexType Index::GetIndexType | ( | ) |
Definition at line 268 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().


| RTIndexVariant Index::GetIndexVariant | ( | ) |
Definition at line 321 of file capi/Index.cc.
References Tools::PropertySet::getProperty(), Tools::Variant::m_val, Tools::Variant::m_varType, RT_InvalidIndexVariant, Tools::Variant::ulVal, Tools::VT_EMPTY, and Tools::VT_ULONG.

|
inline |
Definition at line 44 of file include/spatialindex/capi/Index.h.
Referenced by Index_GetProperties().

| int64_t Index::GetResultSetLimit | ( | ) |
Definition at line 372 of file capi/Index.cc.
Referenced by Index_Contains_id(), Index_Contains_obj(), Index_GetResultSetLimit(), Index_Intersects_id(), Index_Intersects_internal(), Index_Intersects_obj(), Index_MVRIntersects_id(), Index_MVRIntersects_obj(), Index_MVRNearestNeighbors_id(), Index_MVRNearestNeighbors_obj(), Index_NearestNeighbors_id(), Index_NearestNeighbors_obj(), Index_SegmentIntersects_id(), Index_SegmentIntersects_obj(), Index_TPIntersects_id(), Index_TPIntersects_obj(), Index_TPNearestNeighbors_id(), and Index_TPNearestNeighbors_obj().

| int64_t Index::GetResultSetOffset | ( | ) |
Definition at line 357 of file capi/Index.cc.
Referenced by Index_Contains_id(), Index_Contains_obj(), Index_GetResultSetOffset(), Index_Intersects_id(), Index_Intersects_internal(), Index_Intersects_obj(), Index_MVRIntersects_id(), Index_MVRIntersects_obj(), Index_MVRNearestNeighbors_id(), Index_MVRNearestNeighbors_obj(), Index_NearestNeighbors_id(), Index_NearestNeighbors_obj(), Index_SegmentIntersects_id(), Index_SegmentIntersects_obj(), Index_TPIntersects_id(), Index_TPIntersects_obj(), Index_TPNearestNeighbors_id(), and Index_TPNearestNeighbors_obj().

|
inline |
Definition at line 65 of file include/spatialindex/capi/Index.h.
Referenced by Index_Contains_count(), Index_Contains_id(), Index_Contains_obj(), Index_DeleteData(), Index_DeleteMVRData(), Index_DeleteTPData(), Index_GetBounds(), Index_GetLeaves(), Index_GetProperties(), Index_InsertData(), Index_InsertMVRData(), Index_InsertTPData(), Index_Intersects_count(), Index_Intersects_id(), Index_Intersects_internal(), Index_Intersects_obj(), Index_IsValid(), Index_MVRIntersects_count(), Index_MVRIntersects_id(), Index_MVRIntersects_obj(), Index_MVRNearestNeighbors_id(), Index_MVRNearestNeighbors_obj(), Index_NearestNeighbors_id(), Index_NearestNeighbors_obj(), Index_SegmentIntersects_count(), Index_SegmentIntersects_id(), Index_SegmentIntersects_obj(), Index_TPIntersects_count(), Index_TPIntersects_id(), Index_TPIntersects_obj(), Index_TPNearestNeighbors_id(), and Index_TPNearestNeighbors_obj().

| bool Index::insertFeature | ( | uint64_t | id, |
| double * | min, | ||
| double * | max | ||
| ) |
| void Index::SetIndexStorage | ( | RTStorageType | v | ) |
Definition at line 313 of file capi/Index.cc.
References Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), Tools::Variant::ulVal, and Tools::VT_ULONG.

| void Index::SetIndexType | ( | RTIndexType | v | ) |
Definition at line 286 of file capi/Index.cc.
References Tools::Variant::m_val, Tools::Variant::m_varType, Tools::PropertySet::setProperty(), Tools::Variant::ulVal, and Tools::VT_ULONG.

| void Index::SetIndexVariant | ( | RTIndexVariant | v | ) |
Definition at line 340 of file capi/Index.cc.
References GetIndexType(), Tools::Variant::m_val, RT_MVRTree, RT_RTree, RT_TPRTree, and Tools::Variant::ulVal.

| void Index::SetResultSetLimit | ( | int64_t | v | ) |
Definition at line 377 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().


| void Index::SetResultSetOffset | ( | int64_t | v | ) |
Definition at line 362 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().

