pcpp::IFilterWithDirection Class Reference

#include <PcapFilter.h>

Inheritance diagram for pcpp::IFilterWithDirection:
pcpp::GeneralFilter pcpp::IPFilter pcpp::MacAddressFilter pcpp::PortFilter pcpp::PortRangeFilter

Public Member Functions

void setDirection (Direction dir)
- Public Member Functions inherited from pcpp::GeneralFilter
virtual void parseToString (std::string &result)=0
virtual ~GeneralFilter ()

Detailed Description

An abstract class that is the base class for all filters which contain a direction (source or destination). This class cannot be instantiated
For deeper understanding of the filter concept please refer to PcapFilter.h

Member Function Documentation

void pcpp::IFilterWithDirection::setDirection ( Direction  dir)

Set the direction for the filter (source or destination)

[in]dirThe direction