#include <internet.h>
◆ address() [1/3]
constexpr net::ip::address::address |
( |
| ) |
|
|
inlineconstexprnoexcept |
◆ address() [2/3]
constexpr net::ip::address::address |
( |
const address_v4 & |
a | ) |
|
|
inlineconstexprnoexcept |
◆ address() [3/3]
constexpr net::ip::address::address |
( |
const address_v6 & |
a | ) |
|
|
inlineconstexprnoexcept |
◆ is_loopback()
constexpr bool net::ip::address::is_loopback |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ is_multicast()
constexpr bool net::ip::address::is_multicast |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ is_unspecified()
constexpr bool net::ip::address::is_unspecified |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ is_v4()
constexpr bool net::ip::address::is_v4 |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ is_v6()
constexpr bool net::ip::address::is_v6 |
( |
| ) |
const |
|
inlineconstexprnoexcept |
◆ to_string()
template<class Allocator = std::allocator<char>>
std::basic_string< char, std::char_traits< char >, Allocator > net::ip::address::to_string |
( |
const Allocator & |
a = Allocator() | ) |
const |
|
inline |
convert an address into a string.
- Returns
- empty string on error.
◆ to_v4()
constexpr address_v4 net::ip::address::to_v4 |
( |
| ) |
const |
|
inlineconstexpr |
get address_v4 part.
- Exceptions
-
bad_address_cast | if !is_v4() |
◆ to_v6()
constexpr address_v6 net::ip::address::to_v6 |
( |
| ) |
const |
|
inlineconstexpr |
get address_v6 part.
- Exceptions
-
bad_address_cast | if !is_v6() |
union { ... } net::ip::address::@26 |
◆ is_v4_
bool net::ip::address::is_v4_ |
|
private |
◆ v4_
◆ v6_
The documentation for this class was generated from the following file:
- router/src/harness/include/mysql/harness/net_ts/internet.h