|
OpenCPN Partial API docs
|
Represents network adapter information and provides related functionality. More...
#include <AdapterInfo.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 AdapterInfo.h.
| AdapterInfo::AdapterInfo | ( | ) |
Definition at line 11 of file AdapterInfo.cpp.
| std::string AdapterInfo::CalculateBroadcastAddress | ( | const std::string & | ip, |
| const std::string & | netmask ) |
Definition at line 76 of file AdapterInfo.cpp.
| std::string AdapterInfo::GetBroadcastAddress | ( | ) |
Definition at line 85 of file AdapterInfo.cpp.
| std::string AdapterInfo::GetGateWay | ( | ) |
Definition at line 93 of file AdapterInfo.cpp.
| std::string AdapterInfo::GetIPAddress | ( | ) |
Definition at line 89 of file AdapterInfo.cpp.
| std::string AdapterInfo::GetNetMask | ( | ) |
Definition at line 91 of file AdapterInfo.cpp.