libspatialindex API Reference  (git-trunk)
SpatialIndex::RTree::Node Class Referenceabstract

#include <Node.h>

Inheritance diagram for SpatialIndex::RTree::Node:
Inheritance graph
Collaboration diagram for SpatialIndex::RTree::Node:
Collaboration graph

Public Member Functions

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

Friends

class RTree
 
class Leaf
 
class Index
 
class Tools::PointerPool< Node >
 
class BulkLoader
 

Detailed Description

Definition at line 44 of file rtree/Node.h.

Constructor & Destructor Documentation

◆ ~Node()

Node::~Node ( )
override

Definition at line 264 of file rtree/Node.cc.

Member Function Documentation

◆ clone()

Tools::IObject * Node::clone ( )
overridevirtual

Implements Tools::IObject.

Definition at line 44 of file rtree/Node.cc.

◆ getByteArraySize()

uint32_t Node::getByteArraySize ( )
overridevirtual

Implements Tools::ISerializable.

Definition at line 52 of file rtree/Node.cc.

Referenced by storeToByteArray().

Here is the caller graph for this function:

◆ getChildData()

void Node::getChildData ( uint32_t  index,
uint32_t &  length,
uint8_t **  data 
) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 196 of file rtree/Node.cc.

◆ getChildIdentifier()

SpatialIndex::id_type Node::getChildIdentifier ( uint32_t  index) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 182 of file rtree/Node.cc.

◆ getChildrenCount()

uint32_t Node::getChildrenCount ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 177 of file rtree/Node.cc.

◆ getChildShape()

void Node::getChildShape ( uint32_t  index,
IShape **  out 
) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 189 of file rtree/Node.cc.

◆ getIdentifier()

SpatialIndex::id_type Node::getIdentifier ( ) const
overridevirtual

Implements SpatialIndex::IEntry.

Definition at line 164 of file rtree/Node.cc.

Referenced by SpatialIndex::RTree::RTree::internalNodesQuery().

Here is the caller graph for this function:

◆ getLevel()

uint32_t Node::getLevel ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 211 of file rtree/Node.cc.

◆ getShape()

void Node::getShape ( IShape **  out) const
overridevirtual

Implements SpatialIndex::IEntry.

Definition at line 169 of file rtree/Node.cc.

◆ isIndex()

bool Node::isIndex ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 221 of file rtree/Node.cc.

◆ isLeaf()

bool Node::isLeaf ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 216 of file rtree/Node.cc.

◆ loadFromByteArray()

void Node::loadFromByteArray ( const uint8_t *  data)
overridevirtual

Implements Tools::ISerializable.

Definition at line 63 of file rtree/Node.cc.

References SpatialIndex::Region::m_pHigh, and SpatialIndex::Region::m_pLow.

◆ storeToByteArray()

void Node::storeToByteArray ( uint8_t **  data,
uint32_t &  len 
)
overridevirtual

Friends And Related Function Documentation

◆ BulkLoader

friend class BulkLoader
friend

Definition at line 194 of file rtree/Node.h.

◆ Index

friend class Index
friend

Definition at line 192 of file rtree/Node.h.

Referenced by SpatialIndex::RTree::Index::split().

◆ Leaf

friend class Leaf
friend

Definition at line 191 of file rtree/Node.h.

Referenced by SpatialIndex::RTree::Leaf::split().

◆ RTree

friend class RTree
friend

Definition at line 190 of file rtree/Node.h.

◆ Tools::PointerPool< Node >

friend class Tools::PointerPool< Node >
friend

Definition at line 192 of file rtree/Node.h.


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