ipaddress 1.1.0
Loading...
Searching...
No Matches
ipv4_network_base Class Reference

Base class for IPv4 network address manipulation. More...

#include <ipv4-network.hpp>

Inheritance diagram for ipv4_network_base:

Public Types

using ip_address_type = ipv4_address
 Alias for the IPv4 address type used within the class.
 

Public Member Functions

constexpr inline ip_version version () const noexcept
 Retrieves the IP version of the address.
 
constexpr inline size_t size () const noexcept
 Retrieves the size of the IPv4 address.
 

Detailed Description

Base class for IPv4 network address manipulation.

The ipv4_network_base class provides foundational functionality for IPv4 network address manipulation by extending the base_v4 class.

Member Function Documentation

◆ version()

constexpr inline ip_version version ( ) const
inlinenoexceptinherited

Retrieves the IP version of the address.

Returns
The IP version enumeration value for IPv4.

◆ size()

constexpr inline size_t size ( ) const
inlinenoexceptinherited

Retrieves the size of the IPv4 address.

Returns
The size of the IPv4 address in bytes.

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