2#ifndef CLICK_ELEMFILTER_HH
3#define CLICK_ELEMFILTER_HH
Cast-based filter predicate for elements.
Definition elemfilter.hh:41
bool check_match(Element *e, bool isoutput, int port)
Determine whether an element matches this filter.
Definition elemfilter.cc:70
Base class for filter predicates for elements and ports.
Definition elemfilter.hh:7
void filter(Vector< Element * > &es)
Remove all non-matching elements from es.
Definition elemfilter.cc:55
virtual ~ElementFilter()
Destroy an ElementFilter.
Definition elemfilter.hh:14
virtual bool check_match(Element *e, bool isoutput, int port)
Determine whether an element or port matches this filter.
Definition elemfilter.cc:49
ElementFilter()
Construct an ElementFilter.
Definition elemfilter.hh:10
Base class for Click elements.
Definition element.hh:42
A string of characters.
Definition string.hh:22
Vector template.
Definition vector.hh:111