|
graph_analysis
|
#include <RegexFilters.hpp>


Public Member Functions | |
| RegexFilter (const std::string ®ex, Type type, bool invert) | |
| virtual std::string | getName () const |
| Get Name of the filter. More... | |
| virtual std::string | toString () const |
| Get string representation of filter. More... | |
| virtual bool | apply (T element) const |
| Apply only the main filter(!) to the target object. More... | |
Public Member Functions inherited from graph_analysis::Filter< T > | |
| 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 (T 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... | |
Protected Attributes | |
| std::string | mRegexStr |
| std::regex | mRegex |
| Type | mType |
| bool | mInverted |
Protected Attributes inherited from graph_analysis::Filter< T > | |
| FilterList | mFilters |
Additional Inherited Members | |
Public Types inherited from graph_analysis::Filter< T > | |
| typedef Filter< T > | FilterType |
| typedef shared_ptr< FilterType > | Ptr |
| typedef std::vector< FilterType::Ptr > | FilterList |
Static Public Member Functions inherited from graph_analysis::Filter< T > | |
| static Ptr | Null () |
RegexFilter provides the basic functionality to match Vertex or Edge content or class labels using a regular expression
|
inline |
|
inlinevirtual |
Apply only the main filter(!) to the target object.
| o | Filter object, i.e. target object to apply the filter on |
Reimplemented from graph_analysis::Filter< T >.
|
inlinevirtual |
Get Name of the filter.
Reimplemented from graph_analysis::Filter< T >.
Reimplemented in graph_analysis::filters::EdgeRegexFilter, and graph_analysis::filters::VertexRegexFilter.
|
inlinevirtual |
Get string representation of filter.
Reimplemented from graph_analysis::Filter< T >.
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13