OpenCPN Partial API docs
|
Represents network adapter information and provides related functionality. More...
#include <adapter_info.h>
Public Member Functions | |
std::string | GetIPAddress () |
std::string | GetNetMask () |
std::string | GetGateWay () |
std::string | CalculateBroadcastAddress (const std::string &ip, const std::string &netmask) |
std::string | GetBroadcastAddress () |
Represents network adapter information and provides related functionality.
Encapsulates IP address, netmask, and gateway, with methods to calculate and retrieve the broadcast address.
Definition at line 10 of file adapter_info.h.
AdapterInfo::AdapterInfo | ( | ) |
Definition at line 14 of file adapter_info.cpp.
std::string AdapterInfo::CalculateBroadcastAddress | ( | const std::string & | ip, |
const std::string & | netmask | ||
) |
Definition at line 79 of file adapter_info.cpp.
std::string AdapterInfo::GetBroadcastAddress | ( | ) |
Definition at line 88 of file adapter_info.cpp.
std::string AdapterInfo::GetGateWay | ( | ) |
Definition at line 96 of file adapter_info.cpp.
std::string AdapterInfo::GetIPAddress | ( | ) |
Definition at line 92 of file adapter_info.cpp.
std::string AdapterInfo::GetNetMask | ( | ) |
Definition at line 94 of file adapter_info.cpp.