|
graph_analysis
|
#include <EdgeContextFilter.hpp>


Public Types | |
| typedef shared_ptr< EdgeContextFilter > | Ptr |
Public Types inherited from graph_analysis::Filter< graph_analysis::Edge::Ptr > | |
| typedef Filter< graph_analysis::Edge::Ptr > | FilterType |
| typedef shared_ptr< FilterType > | Ptr |
| typedef std::vector< FilterType::Ptr > | FilterList |
Public Member Functions | |
| virtual std::string | getName () const |
| Get Name of the filter. More... | |
| virtual std::string | toString () const |
| Get string representation of filter. More... | |
| virtual bool | evaluateTarget (graph_analysis::Edge::Ptr e) const |
| Evaluated the target of the edge. More... | |
| bool | matchesTarget (graph_analysis::Edge::Ptr e) const |
| Use this and associated subfilters, to check if this target vertex is matched by the filter. More... | |
| virtual bool | evaluateSource (graph_analysis::Edge::Ptr e) const |
| Evaluated the source vertex of the edge. More... | |
| bool | matchesSource (graph_analysis::Edge::Ptr e) const |
| Use this and associated subfilters, to check if this edge's source vertex is matched by the filter. More... | |
Public Member Functions inherited from graph_analysis::Filter< graph_analysis::Edge::Ptr > | |
| virtual | ~Filter () |
| int | replace (FilterType::Ptr filter, int position=-1) |
| void | clear () |
| int | add (FilterType::Ptr filter, int position=-1) |
| void | removeAt (int position) |
| bool | matches (graph_analysis::Edge::Ptr o, filters::Operator op=filters::OR) const |
| Apply all filters, i.e. root filter and children to the filter object, i.e., test whether filter matches the filter object. More... | |
| virtual bool | apply (graph_analysis::Edge::Ptr o) const |
| Apply only the main filter(!) to the target object. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from graph_analysis::Filter< graph_analysis::Edge::Ptr > | |
| static Ptr | Null () |
Protected Attributes inherited from graph_analysis::Filter< graph_analysis::Edge::Ptr > | |
| FilterList | mFilters |
Interface definition for an edge context filter which allows to define whether the target / source node of a specific edge should be filtered
| typedef shared_ptr<EdgeContextFilter> graph_analysis::filters::EdgeContextFilter::Ptr |
|
inlinevirtual |
Evaluated the source vertex of the edge.
Reimplemented in graph_analysis::filters::CombinedEdgeRegexFilter.
|
inlinevirtual |
Evaluated the target of the edge.
Reimplemented in graph_analysis::filters::CombinedEdgeRegexFilter.
|
inlinevirtual |
Get Name of the filter.
Reimplemented from graph_analysis::Filter< graph_analysis::Edge::Ptr >.
Reimplemented in graph_analysis::filters::CombinedEdgeRegexFilter.
| bool graph_analysis::filters::EdgeContextFilter::matchesSource | ( | graph_analysis::Edge::Ptr | e | ) | const |
Use this and associated subfilters, to check if this edge's source vertex is matched by the filter.
| bool graph_analysis::filters::EdgeContextFilter::matchesTarget | ( | graph_analysis::Edge::Ptr | e | ) | const |
Use this and associated subfilters, to check if this target vertex is matched by the filter.
|
inlinevirtual |
Get string representation of filter.
Reimplemented from graph_analysis::Filter< graph_analysis::Edge::Ptr >.
Reimplemented in graph_analysis::filters::CombinedEdgeRegexFilter.
1.8.13