|
using | value_type = T |
| The type of network value.
|
|
using | size_type = size_t |
| An unsigned integral type.
|
|
using | difference_type = typename It<value_type>::difference_type |
| Unsigned integer type for differences.
|
|
using | pointer = value_type* |
| Pointer to the network type.
|
|
using | const_pointer = const value_type* |
| Const pointer to the network type.
|
|
using | reference = value_type& |
| Reference to the network type.
|
|
using | const_reference = const value_type& |
| Const reference to the network type.
|
|
using | iterator = It<value_type> |
| Iterator for summarize network range.
|
|
using | const_iterator = It<value_type> |
| Const iterator for summarize network range.
|
|
using | ip_address_type = typename value_type::ip_address_type |
| The underlying IP address type.
|
|
|
constexpr inline | summarize_sequence () noexcept=default |
| Default constructor.
|
|
constexpr inline | summarize_sequence (const ip_address_type &first, const ip_address_type &last) noexcept |
| Constructs a summarize_sequence for a given IP address range.
|
|
constexpr inline const_iterator | begin () const noexcept |
| Returns an iterator to the beginning of the summarized IP networks.
|
|
constexpr inline const_iterator | end () const noexcept |
| Returns an iterator representing the end of the summarized IP networks.
|
|
constexpr inline const_iterator | cbegin () const noexcept |
| Returns a constant iterator to the beginning of the summarized IP networks.
|
|
constexpr inline const_iterator | cend () const noexcept |
| Returns a constant iterator to the end of the summarized IP networks.
|
|
template<typename T, template< typename > class It = ip_summarize_iterator>
class ipaddress::summarize_sequence< T, It >
A container class for iterating over a summarized range of networks.
The iterator traverses the given IP range by summarizing it into the largest possible contiguous IP networks.
- Template Parameters
-
T | Represents the type of the IP network. |
It | The iterator type used for traversing the summarized network range. |