A helper struct that determines if a node in the graph has a given name. More...
#include <NodeNameFinder.h>
A helper struct that determines if a node in the graph has a given name.
Definition at line 16 of file NodeNameFinder.h.
Public Member Functions | |
| NodeNameFinder (std::string const &name, Graph const &graph) | |
| bool | operator() (boost::graph_traits< Graph >::vertex_descriptor vertex) const |
| Does a given vertex have the same name as the given name. More... | |
Public Attributes | |
| const std::string | name |
| We are looking for vertices with this name. More... | |
| Graph const & | graph |
| This graph stores the vertices. More... | |
| NodeNameFinder::NodeNameFinder | ( | std::string const & | name, |
| Graph const & | graph | ||
| ) |
| [in] | name | We are looking for nodes with this name |
| [in] | graph | A pointer to the graph that stores the nodes |
Definition at line 5 of file NodeNameFinder.cpp.
| bool NodeNameFinder::operator() | ( | boost::graph_traits< Graph >::vertex_descriptor | vertex | ) | const |
Does a given vertex have the same name as the given name.
param[in] vertex The vertex of the graph
Definition at line 7 of file NodeNameFinder.cpp.
| Graph const& muq::Modeling::NodeNameFinder::graph |
This graph stores the vertices.
Definition at line 36 of file NodeNameFinder.h.
Referenced by operator()().
| const std::string muq::Modeling::NodeNameFinder::name |
We are looking for vertices with this name.
Definition at line 33 of file NodeNameFinder.h.
Referenced by operator()().