MySQL 9.1.0
Source Code Documentation
net::NetworkInterfaceEntry Class Reference

an entry in the network interface result. More...

#include <netif.h>

Public Types

using flags_type = InterfaceFlag
 

Public Member Functions

 NetworkInterfaceEntry (std::string id, std::string display_name, flags_type::value_type flags)
 
std::string id () const
 
std::string display_name () const
 
flags_type flags () const
 
NetworkInterfaceNetworks< net::ip::network_v4 > & v4_networks ()
 
const NetworkInterfaceNetworks< net::ip::network_v4 > & v4_networks () const
 
NetworkInterfaceNetworks< net::ip::network_v6 > & v6_networks ()
 
const NetworkInterfaceNetworks< net::ip::network_v6 > & v6_networks () const
 

Private Attributes

std::string id_
 
std::string display_name_
 
flags_type flags_
 
NetworkInterfaceNetworks< net::ip::network_v4net_v4_s_
 
NetworkInterfaceNetworks< net::ip::network_v6net_v6_s_
 

Detailed Description

an entry in the network interface result.

Member Typedef Documentation

◆ flags_type

Constructor & Destructor Documentation

◆ NetworkInterfaceEntry()

net::NetworkInterfaceEntry::NetworkInterfaceEntry ( std::string  id,
std::string  display_name,
flags_type::value_type  flags 
)
inline

Member Function Documentation

◆ display_name()

std::string net::NetworkInterfaceEntry::display_name ( ) const
inline

◆ flags()

flags_type net::NetworkInterfaceEntry::flags ( ) const
inline

◆ id()

std::string net::NetworkInterfaceEntry::id ( ) const
inline

◆ v4_networks() [1/2]

NetworkInterfaceNetworks< net::ip::network_v4 > & net::NetworkInterfaceEntry::v4_networks ( )
inline

◆ v4_networks() [2/2]

const NetworkInterfaceNetworks< net::ip::network_v4 > & net::NetworkInterfaceEntry::v4_networks ( ) const
inline

◆ v6_networks() [1/2]

NetworkInterfaceNetworks< net::ip::network_v6 > & net::NetworkInterfaceEntry::v6_networks ( )
inline

◆ v6_networks() [2/2]

const NetworkInterfaceNetworks< net::ip::network_v6 > & net::NetworkInterfaceEntry::v6_networks ( ) const
inline

Member Data Documentation

◆ display_name_

std::string net::NetworkInterfaceEntry::display_name_
private

◆ flags_

flags_type net::NetworkInterfaceEntry::flags_
private

◆ id_

std::string net::NetworkInterfaceEntry::id_
private

◆ net_v4_s_

NetworkInterfaceNetworks<net::ip::network_v4> net::NetworkInterfaceEntry::net_v4_s_
private

◆ net_v6_s_

NetworkInterfaceNetworks<net::ip::network_v6> net::NetworkInterfaceEntry::net_v6_s_
private

The documentation for this class was generated from the following file: