22 #include <geos/export.h>
25 namespace planargraph {
85 isVisitedVar = p_isVisited;
100 for(T i = start; i != end; ++i) {
101 (*i)->setVisited(visited);
113 template <
typename T>
117 for(T i = start; i != end; ++i) {
118 i->second->setVisited(visited);
130 template <
typename T>
134 for(T i = start; i != end; ++i) {
135 (*i)->setMarked(marked);
148 template <
typename T>
152 for(T i = start; i != end; ++i) {
153 i->second->setMarked(marked);
175 isMarkedVar = p_isMarked;
The base class for all graph component classes.
Definition: planargraph/GraphComponent.h:45
static void setVisited(T start, T end, bool visited)
Sets the Visited state for the elements of a container, from start to end iterator.
Definition: planargraph/GraphComponent.h:98
virtual void setVisited(bool p_isVisited)
Sets the visited flag for this component.
Definition: planargraph/GraphComponent.h:83
static void setMarkedMap(T start, T end, bool marked)
Sets the Marked state for the values of each map container element, from start to end iterator.
Definition: planargraph/GraphComponent.h:150
virtual void setMarked(bool p_isMarked)
Sets the marked flag for this component.
Definition: planargraph/GraphComponent.h:173
static void setMarked(T start, T end, bool marked)
Sets the Marked state for the elements of a container, from start to end iterator.
Definition: planargraph/GraphComponent.h:132
static void setVisitedMap(T start, T end, bool visited)
Sets the Visited state for the values of each map container element, from start to end iterator.
Definition: planargraph/GraphComponent.h:115
bool isMarkedVar
Variable holding ''marked'' status.
Definition: planargraph/GraphComponent.h:50
bool isVisitedVar
Variable holding ''visited'' status.
Definition: planargraph/GraphComponent.h:53
virtual bool isVisited() const
Tests if a component has been visited during the course of a graph algorithm.
Definition: planargraph/GraphComponent.h:73
virtual bool isMarked() const
Tests if a component has been marked at some point during the processing involving this graph.
Definition: planargraph/GraphComponent.h:163
Basic namespace for all GEOS functionalities.
Definition: Angle.h:25