#include <Device.h>
Public Member Functions | |
| Device (Device const &device) | |
| Creates a Device object as a copy of another. | |
| std::vector< Address > const & | get_addresses () const |
| Gets the addresses associated to this device. | |
| std::string const & | get_description () const |
| Gets a description of the device. | |
| std::string const & | get_name () const |
| Gets the name of the device. | |
| bool | is_loopback () const |
| Returns whether the device is a loopback one. | |
| Device & | operator= (Device const &device) |
| Assigns another Device object's contents to this one. | |
| virtual | ~Device () |
| Destroys a Device object. | |
Static Public Member Functions | |
| static std::vector< Device > | find_all () |
| Gets all the available devices. | |
| static std::string | lookup () |
| Gets a network device. | |
| pcappp::Device::~Device | ( | ) | [virtual] |
Destroys a Device object.
| std::vector< Device > pcappp::Device::find_all | ( | ) | [static] |
| std::vector<Address> const& pcappp::Device::get_addresses | ( | ) | const [inline] |
Gets the addresses associated to this device.
| std::string const& pcappp::Device::get_description | ( | ) | const [inline] |
Gets a description of the device.
| std::string const& pcappp::Device::get_name | ( | ) | const [inline] |
Gets the name of the device.
| bool pcappp::Device::is_loopback | ( | ) | const [inline] |
Returns whether the device is a loopback one.
| std::string pcappp::Device::lookup | ( | ) | [static] |
Assigns another Device object's contents to this one.
1.5.5