Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
SpatialAreaStore::VectorResultVisitor Class Reference
+ Inheritance diagram for SpatialAreaStore::VectorResultVisitor:
+ Collaboration diagram for SpatialAreaStore::VectorResultVisitor:

Public Member Functions

 VectorResultVisitor (std::vector< Area * > *result, SpatialAreaStore *store)
 
 ~VectorResultVisitor ()
 
virtual void visitNode (const SpatialIndex::INode &in)
 
virtual void visitData (const SpatialIndex::IData &in)
 
virtual void visitData (std::vector< const SpatialIndex::IData * > &v)
 

Private Attributes

SpatialAreaStorem_store = nullptr
 
std::vector< Area * > * m_result = nullptr
 

Constructor & Destructor Documentation

◆ VectorResultVisitor()

SpatialAreaStore::VectorResultVisitor::VectorResultVisitor ( std::vector< Area * > * result,
SpatialAreaStore * store )
inline

◆ ~VectorResultVisitor()

SpatialAreaStore::VectorResultVisitor::~VectorResultVisitor ( )
inline

Member Function Documentation

◆ visitData() [1/2]

virtual void SpatialAreaStore::VectorResultVisitor::visitData ( const SpatialIndex::IData & in)
inlinevirtual

References AreaStore::areas_map, m_result, and m_store.

Referenced by visitData().

+ Here is the caller graph for this function:

◆ visitData() [2/2]

virtual void SpatialAreaStore::VectorResultVisitor::visitData ( std::vector< const SpatialIndex::IData * > & v)
inlinevirtual

References visitData().

+ Here is the call graph for this function:

◆ visitNode()

virtual void SpatialAreaStore::VectorResultVisitor::visitNode ( const SpatialIndex::INode & in)
inlinevirtual

Member Data Documentation

◆ m_result

std::vector<Area *>* SpatialAreaStore::VectorResultVisitor::m_result = nullptr
private

Referenced by visitData().

◆ m_store

SpatialAreaStore* SpatialAreaStore::VectorResultVisitor::m_store = nullptr
private

Referenced by visitData().


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