MySQL 8.0.39
Source Code Documentation
net::ip::address_v4 Class Reference

#include <internet.h>

Classes

struct  bytes_type
 

Public Types

using uint_type = uint_least32_t
 

Public Member Functions

constexpr address_v4 () noexcept
 
constexpr address_v4 (uint_type val)
 
constexpr address_v4 (const bytes_type &b)
 
constexpr bool is_unspecified () const noexcept
 
constexpr bool is_loopback () const noexcept
 
constexpr bool is_multicast () const noexcept
 
template<class Allocator = std::allocator<char>>
std::basic_string< char, std::char_traits< char >, Allocator > to_string (const Allocator &a=Allocator()) const
 
constexpr bytes_type to_bytes () const noexcept
 
constexpr uint_type to_uint () const noexcept
 

Static Public Member Functions

static constexpr address_v4 any () noexcept
 
static constexpr address_v4 loopback () noexcept
 
static constexpr address_v4 broadcast () noexcept
 

Private Attributes

bytes_type addr_
 

Member Typedef Documentation

◆ uint_type

using net::ip::address_v4::uint_type = uint_least32_t

Constructor & Destructor Documentation

◆ address_v4() [1/3]

constexpr net::ip::address_v4::address_v4 ( )
inlineconstexprnoexcept

◆ address_v4() [2/3]

constexpr net::ip::address_v4::address_v4 ( uint_type  val)
inlineexplicitconstexpr

◆ address_v4() [3/3]

constexpr net::ip::address_v4::address_v4 ( const bytes_type b)
inlineconstexpr

Member Function Documentation

◆ any()

static constexpr address_v4 net::ip::address_v4::any ( )
inlinestaticconstexprnoexcept

◆ broadcast()

static constexpr address_v4 net::ip::address_v4::broadcast ( )
inlinestaticconstexprnoexcept

◆ is_loopback()

constexpr bool net::ip::address_v4::is_loopback ( ) const
inlineconstexprnoexcept

◆ is_multicast()

constexpr bool net::ip::address_v4::is_multicast ( ) const
inlineconstexprnoexcept

◆ is_unspecified()

constexpr bool net::ip::address_v4::is_unspecified ( ) const
inlineconstexprnoexcept

◆ loopback()

static constexpr address_v4 net::ip::address_v4::loopback ( )
inlinestaticconstexprnoexcept

◆ to_bytes()

constexpr bytes_type net::ip::address_v4::to_bytes ( ) const
inlineconstexprnoexcept

◆ to_string()

template<class Allocator = std::allocator<char>>
std::basic_string< char, std::char_traits< char >, Allocator > net::ip::address_v4::to_string ( const Allocator &  a = Allocator()) const
inline

◆ to_uint()

constexpr uint_type net::ip::address_v4::to_uint ( ) const
inlineconstexprnoexcept

Member Data Documentation

◆ addr_

bytes_type net::ip::address_v4::addr_
private

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