PcapPlusPlus
pcpp::IFileWriterDevice Class Referenceabstract

#include <PcapFileDevice.h>

Inheritance diagram for pcpp::IFileWriterDevice:
pcpp::IFileDevice pcpp::IPcapDevice pcpp::PcapFileWriterDevice pcpp::PcapNgFileWriterDevice

Public Member Functions

virtual ~IFileWriterDevice ()
 
- Public Member Functions inherited from pcpp::IFileDevice
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 file writer devices

Constructor & Destructor Documentation

◆ ~IFileWriterDevice()

virtual pcpp::IFileWriterDevice::~IFileWriterDevice ( )
inlinevirtual

A destructor for this class