pcpp::IFileDevice Class Reference

#include <PcapFileDevice.h>

Inheritance diagram for pcpp::IFileDevice:
pcpp::IPcapDevice pcpp::IFileReaderDevice pcpp::IFileWriterDevice pcpp::PcapFileReaderDevice pcpp::PcapNgFileReaderDevice pcpp::PcapFileWriterDevice pcpp::PcapNgFileWriterDevice

Public Member Functions

std::string getFileName ()
virtual void close ()
- Public Member Functions inherited from pcpp::IPcapDevice
virtual bool open ()=0
bool isOpened ()
virtual void getStatistics (pcap_stat &stats)=0
bool setFilter (GeneralFilter &filter)
virtual bool setFilter (std::string filterAsString)
void clearFilter ()

Additional Inherited Members

- Static Public Member Functions inherited from pcpp::IPcapDevice
static bool verifyFilter (std::string filterAsString)
static bool matchPakcetWithFilter (std::string filterAsString, RawPacket *rawPacket)

Detailed Description

An abstract class (cannot be instantiated, has a private c'tor) which is the parent class for all file devices

Member Function Documentation

virtual void pcpp::IFileDevice::close ( )
std::string pcpp::IFileDevice::getFileName ( )
The name of the file