libosmscout
0.1
|
#include <Location.h>
Inherited by osmscout::AdminRegionPathCollectorVisitor, osmscout::AdminRegionReverseLookupVisitor, osmscout::AdminRegionSearchVisitor, and osmscout::PostalAreaSearchVisitor.
Public Types | |
enum | Action { skipChildren, visitChildren, stop, error } |
Public Member Functions | |
virtual Action | Visit (const AdminRegion ®ion)=0 |
virtual | ~AdminRegionVisitor ()=default |
Visitor that gets called for every region found. It is the task of the visitor to decide if a region matches the given criteria.
Enumerator | |
---|---|
skipChildren | Do not visit child regions, but continue with traversal. |
visitChildren | Visit child regions. |
stop | Stop. |
error | Signal an error. |
|
virtualdefault |
|
pure virtual |