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

#include <Node.h>

Inheritance diagram for SpatialIndex::TPRTree::Node:
Inheritance graph
Collaboration diagram for SpatialIndex::TPRTree::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 TPRTree
 
class Leaf
 
class Index
 
class Tools::PointerPool< Node >
 

Detailed Description

Definition at line 43 of file tprtree/Node.h.

Constructor & Destructor Documentation

◆ ~Node()

Member Function Documentation

◆ clone()

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

Implements Tools::IObject.

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

◆ getByteArraySize()

uint32_t Node::getByteArraySize ( )
overridevirtual

Implements Tools::ISerializable.

Definition at line 52 of file tprtree/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 229 of file tprtree/Node.cc.

References Index::index().

Here is the call graph for this function:

◆ getChildIdentifier()

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

Implements SpatialIndex::INode.

Definition at line 215 of file tprtree/Node.cc.

References Index::index().

Here is the call graph for this function:

◆ getChildrenCount()

uint32_t Node::getChildrenCount ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 210 of file tprtree/Node.cc.

◆ getChildShape()

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

Implements SpatialIndex::INode.

Definition at line 222 of file tprtree/Node.cc.

◆ getIdentifier()

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

Implements SpatialIndex::IEntry.

Definition at line 197 of file tprtree/Node.cc.

◆ getLevel()

uint32_t Node::getLevel ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 244 of file tprtree/Node.cc.

◆ getShape()

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

Implements SpatialIndex::IEntry.

Definition at line 202 of file tprtree/Node.cc.

◆ isIndex()

bool Node::isIndex ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 254 of file tprtree/Node.cc.

References SpatialIndex::MovingRegion::makeInfinite().

Here is the call graph for this function:

◆ isLeaf()

bool Node::isLeaf ( ) const
overridevirtual

Implements SpatialIndex::INode.

Definition at line 249 of file tprtree/Node.cc.

◆ loadFromByteArray()

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

◆ storeToByteArray()

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

Friends And Related Function Documentation

◆ Index

friend class Index
friend

Definition at line 204 of file tprtree/Node.h.

Referenced by ~Node().

◆ Leaf

friend class Leaf
friend

Definition at line 203 of file tprtree/Node.h.

◆ Tools::PointerPool< Node >

friend class Tools::PointerPool< Node >
friend

Definition at line 205 of file tprtree/Node.h.

◆ TPRTree

friend class TPRTree
friend

Definition at line 202 of file tprtree/Node.h.


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