C++ Actor Framework 0.19
|
Base type for addresses based on a byte representation such as IP or Ethernet addresses. More...
#include <byte_address.hpp>
Public Member Functions | |
uint8_t & | operator[] (size_t index) noexcept |
Returns the byte at given index. | |
const uint8_t & | operator[] (size_t index) const noexcept |
Returns the byte at given index. | |
size_t | size () const noexcept |
Returns the number of bytes of the address. | |
Derived | network_address (size_t prefix_length) const noexcept |
Derived & | operator&= (const Derived &other) |
Bitwise ANDs *this and other . | |
Derived & | operator|= (const Derived &other) |
Bitwise ORs *this and other . | |
Derived & | operator^= (const Derived &other) |
Bitwise XORs *this and other . | |
Friends | |
Derived | operator& (const Derived &x, const Derived &y) |
Derived | operator| (const Derived &x, const Derived &y) |
Derived | operator^ (const Derived &x, const Derived &y) |
Base type for addresses based on a byte representation such as IP or Ethernet addresses.