libspatialindex API Reference  (git-trunk)
Tools::PropertySet Class Reference

#include <Tools.h>

Inheritance diagram for Tools::PropertySet:
Inheritance graph
Collaboration diagram for Tools::PropertySet:
Collaboration graph

Public Member Functions

 PropertySet ()
 
 PropertySet (const uint8_t *data)
 
 ~PropertySet () override
 
Variant getProperty (std::string property) const
 
void setProperty (std::string property, Variant const &v)
 
void removeProperty (std::string property)
 
uint32_t getByteArraySize () override
 
void loadFromByteArray (const uint8_t *data) override
 
void storeToByteArray (uint8_t **data, uint32_t &length) override
 
- Public Member Functions inherited from Tools::ISerializable
virtual ~ISerializable ()=default
 

Friends

SIDX_DLL std::ostream & operator<< (std::ostream &os, const Tools::PropertySet &p)
 

Detailed Description

Definition at line 301 of file Tools.h.

Constructor & Destructor Documentation

◆ PropertySet() [1/2]

Tools::PropertySet::PropertySet ( )
default

Referenced by PropertySet().

Here is the caller graph for this function:

◆ PropertySet() [2/2]

Tools::PropertySet::PropertySet ( const uint8_t *  data)

Definition at line 109 of file Tools.cc.

References PropertySet(), and ~PropertySet().

Here is the call graph for this function:

◆ ~PropertySet()

Tools::PropertySet::~PropertySet ( )
overridedefault

Referenced by PropertySet().

Here is the caller graph for this function:

Member Function Documentation

◆ getByteArraySize()

uint32_t Tools::PropertySet::getByteArraySize ( )
overridevirtual

◆ getProperty()

Tools::Variant Tools::PropertySet::getProperty ( std::string  property) const

Definition at line 346 of file Tools.cc.

Referenced by SpatialIndex::StorageManager::Buffer::Buffer(), CheckFilesExists(), SpatialIndex::RTree::createAndBulkLoadNewRTree(), SpatialIndex::MVRTree::createNewMVRTree(), SpatialIndex::RTree::createNewRTree(), SpatialIndex::TPRTree::createNewTPRTree(), SpatialIndex::StorageManager::CustomStorageManager::CustomStorageManager(), SpatialIndex::StorageManager::DiskStorageManager::DiskStorageManager(), SpatialIndex::TPRTree::TPRTree::flush(), SpatialIndex::RTree::RTree::flush(), SpatialIndex::MVRTree::MVRTree::flush(), Index_GetLeaves(), Index_GetProperties(), IndexProperty_GetBufferingCapacity(), IndexProperty_GetCustomStorageCallbacks(), IndexProperty_GetCustomStorageCallbacksSize(), IndexProperty_GetDimension(), IndexProperty_GetEnsureTightMBRs(), IndexProperty_GetFileName(), IndexProperty_GetFileNameExtensionDat(), IndexProperty_GetFileNameExtensionIdx(), IndexProperty_GetFillFactor(), IndexProperty_GetIndexCapacity(), IndexProperty_GetIndexID(), IndexProperty_GetIndexPoolCapacity(), IndexProperty_GetIndexStorage(), IndexProperty_GetIndexType(), IndexProperty_GetIndexVariant(), IndexProperty_GetLeafCapacity(), IndexProperty_GetLeafPoolCapacity(), IndexProperty_GetNearMinimumOverlapFactor(), IndexProperty_GetOverwrite(), IndexProperty_GetPagesize(), IndexProperty_GetPointPoolCapacity(), IndexProperty_GetRegionPoolCapacity(), IndexProperty_GetReinsertFactor(), IndexProperty_GetResultSetLimit(), IndexProperty_GetSplitDistributionFactor(), IndexProperty_GetTPRHorizon(), IndexProperty_GetWriteThrough(), IndexProperty_SetCustomStorageCallbacks(), SpatialIndex::MVRTree::MVRTree::MVRTree(), SpatialIndex::RTree::RTree::RTree(), and SpatialIndex::TPRTree::TPRTree::TPRTree().

Here is the caller graph for this function:

◆ loadFromByteArray()

◆ removeProperty()

void Tools::PropertySet::removeProperty ( std::string  property)

Definition at line 366 of file Tools.cc.

References Tools::Interval::Interval().

Here is the call graph for this function:

◆ setProperty()

void Tools::PropertySet::setProperty ( std::string  property,
Variant const &  v 
)

Definition at line 354 of file Tools.cc.

Referenced by SpatialIndex::StorageManager::createNewDiskStorageManager(), SpatialIndex::MVRTree::createNewMVRTree(), SpatialIndex::StorageManager::createNewRandomEvictionsBuffer(), SpatialIndex::RTree::createNewRTree(), SpatialIndex::TPRTree::createNewTPRTree(), GetDefaults(), SpatialIndex::TPRTree::TPRTree::getIndexProperties(), SpatialIndex::RTree::RTree::getIndexProperties(), SpatialIndex::MVRTree::MVRTree::getIndexProperties(), Index_GetProperties(), IndexProperty_SetBufferingCapacity(), IndexProperty_SetCustomStorageCallbacks(), IndexProperty_SetCustomStorageCallbacksSize(), IndexProperty_SetDimension(), IndexProperty_SetEnsureTightMBRs(), IndexProperty_SetFileName(), IndexProperty_SetFileNameExtensionDat(), IndexProperty_SetFileNameExtensionIdx(), IndexProperty_SetFillFactor(), IndexProperty_SetIndexCapacity(), IndexProperty_SetIndexID(), IndexProperty_SetIndexPoolCapacity(), IndexProperty_SetIndexStorage(), IndexProperty_SetIndexType(), IndexProperty_SetIndexVariant(), IndexProperty_SetLeafCapacity(), IndexProperty_SetLeafPoolCapacity(), IndexProperty_SetNearMinimumOverlapFactor(), IndexProperty_SetOverwrite(), IndexProperty_SetPagesize(), IndexProperty_SetPointPoolCapacity(), IndexProperty_SetRegionPoolCapacity(), IndexProperty_SetReinsertFactor(), IndexProperty_SetResultSetLimit(), IndexProperty_SetSplitDistributionFactor(), IndexProperty_SetTPRHorizon(), IndexProperty_SetWriteThrough(), SpatialIndex::StorageManager::loadDiskStorageManager(), SpatialIndex::MVRTree::loadMVRTree(), SpatialIndex::RTree::loadRTree(), SpatialIndex::TPRTree::loadTPRTree(), SpatialIndex::MVRTree::MVRTree::MVRTree(), SpatialIndex::RTree::RTree::RTree(), and SpatialIndex::TPRTree::TPRTree::TPRTree().

Here is the caller graph for this function:

◆ storeToByteArray()

void Tools::PropertySet::storeToByteArray ( uint8_t **  data,
uint32_t &  length 
)
overridevirtual

Friends And Related Function Documentation

◆ operator<<

SIDX_DLL std::ostream& operator<< ( std::ostream &  os,
const Tools::PropertySet p 
)
friend

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