QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
SpatialIndex::RTree::Leaf Class Reference

#include <Leaf.h>

Inheritance diagram for SpatialIndex::RTree::Leaf:
SpatialIndex::RTree::Node SpatialIndex::INode SpatialIndex::IEntry Tools::ISerializable Tools::IObject

Public Member Functions

virtual ~Leaf ()
 
- Public Member Functions inherited from SpatialIndex::RTree::Node
virtual Tools::IObjectclone ()
 
virtual uint32_t getByteArraySize ()
 
virtual void getChildData (uint32_t index, uint32_t &length, byte **data) const
 
virtual id_type getChildIdentifier (uint32_t index) const
 
virtual uint32_t getChildrenCount () const
 
virtual void getChildShape (uint32_t index, IShape **out) const
 
virtual id_type getIdentifier () const
 
virtual uint32_t getLevel () const
 
virtual void getShape (IShape **out) const
 
virtual bool isIndex () const
 
virtual bool isLeaf () const
 
virtual void loadFromByteArray (const byte *data)
 
virtual void storeToByteArray (byte **data, uint32_t &len)
 
virtual ~Node ()
 
- Public Member Functions inherited from SpatialIndex::INode
virtual ~INode ()
 
- Public Member Functions inherited from SpatialIndex::IEntry
virtual ~IEntry ()
 
- Public Member Functions inherited from Tools::IObject
virtual ~IObject ()
 
- Public Member Functions inherited from Tools::ISerializable
virtual ~ISerializable ()
 

Protected Member Functions

virtual NodePtr chooseSubtree (const Region &mbr, uint32_t level, std::stack< id_type > &pathBuffer)
 
virtual void deleteData (id_type id, std::stack< id_type > &pathBuffer)
 
virtual NodePtr findLeaf (const Region &mbr, id_type id, std::stack< id_type > &pathBuffer)
 
 Leaf (RTree *pTree, id_type id)
 
virtual void split (uint32_t dataLength, byte *pData, Region &mbr, id_type id, NodePtr &left, NodePtr &right)
 

Friends

class BulkLoader
 
class RTree
 

Constructor & Destructor Documentation

◆ ~Leaf()

virtual SpatialIndex::RTree::Leaf::~Leaf ( )
virtual

◆ Leaf()

SpatialIndex::RTree::Leaf::Leaf ( RTree * pTree,
id_type id )
protected

Member Function Documentation

◆ chooseSubtree()

virtual NodePtr SpatialIndex::RTree::Leaf::chooseSubtree ( const Region & mbr,
uint32_t level,
std::stack< id_type > & pathBuffer )
protectedvirtual

◆ deleteData()

virtual void SpatialIndex::RTree::Leaf::deleteData ( id_type id,
std::stack< id_type > & pathBuffer )
protectedvirtual

◆ findLeaf()

virtual NodePtr SpatialIndex::RTree::Leaf::findLeaf ( const Region & mbr,
id_type id,
std::stack< id_type > & pathBuffer )
protectedvirtual

◆ split()

virtual void SpatialIndex::RTree::Leaf::split ( uint32_t dataLength,
byte * pData,
Region & mbr,
id_type id,
NodePtr & left,
NodePtr & right )
protectedvirtual

Friends And Related Symbol Documentation

◆ BulkLoader

friend class BulkLoader
friend

◆ RTree

friend class RTree
friend

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