graph_analysis
Public Member Functions | List of all members
graph_analysis::filters::EdgeRegexFilter Class Reference

Filter to sort out edges. More...

#include <RegexFilters.hpp>

Inheritance diagram for graph_analysis::filters::EdgeRegexFilter:
Inheritance graph
[legend]
Collaboration diagram for graph_analysis::filters::EdgeRegexFilter:
Collaboration graph
[legend]

Public Member Functions

 EdgeRegexFilter (const std::string &regex=std::string(), Type type=CONTENT, bool invert=false)
 
virtual std::string getName () const
 
- Public Member Functions inherited from graph_analysis::filters::RegexFilter< ::graph_analysis::Edge::Ptr >
 RegexFilter (const std::string &regex, Type type, bool invert)
 
virtual std::string getName () const
 
virtual std::string toString () const
 
virtual bool apply (::graph_analysis::Edge::Ptr element) const
 Apply only the main filter(!) to the target object. 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...
 

Additional Inherited Members

- 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
 
- Static Public Member Functions inherited from graph_analysis::Filter< ::graph_analysis::Edge::Ptr >
static Ptr Null ()
 
- Protected Attributes inherited from graph_analysis::filters::RegexFilter< ::graph_analysis::Edge::Ptr >
std::string mRegexStr
 
std::regex mRegex
 
Type mType
 
bool mInverted
 
- Protected Attributes inherited from graph_analysis::Filter< ::graph_analysis::Edge::Ptr >
FilterList mFilters
 

Detailed Description

Filter to sort out edges.

Constructor & Destructor Documentation

◆ EdgeRegexFilter()

graph_analysis::filters::EdgeRegexFilter::EdgeRegexFilter ( const std::string &  regex = std::string(),
Type  type = CONTENT,
bool  invert = false 
)

Member Function Documentation

◆ getName()

std::string graph_analysis::filters::EdgeRegexFilter::getName ( ) const
virtual

The documentation for this class was generated from the following files: