|
LibSWOC++ 1.5.14
Solid Wall of C++
|
#include <IPRange.h>

Public Types | |
| using | range_type = IPRange |
| Import base range type. | |
| using | iterator = self_type |
| This class acts as a container and an iterator. | |
| using | const_iterator = iterator |
| All iteration is constant so no distinction between iterators. | |
Public Member Functions | |
| NetSource (range_type const &range) | |
| Construct from range. | |
| NetSource (IPRangeView const &rv) | |
| Construct from view. | |
| NetSource (self_type const &that)=default | |
| Copy constructor. | |
| iterator | begin () const |
| First network. | |
| iterator | end () const |
| Past last network. | |
| IPNet | operator* () const |
| self_type * | operator-> () |
Access this as if it were an IP6Net. | |
| IPAddr | addr () const |
| IPMask | mask () const |
| self_type & | operator++ () |
| Move to next network. | |
| self_type | operator++ (int) |
| Move to next network. | |
| bool | operator== (self_type const &that) const |
| Equality. | |
| bool | operator!= (self_type const &that) const |
| Inequality. | |
Protected Attributes | ||
| union { | ||
| std::monostate _nil | ||
| Default value, no addresses. More... | ||
| IP4Range::NetSource _ip4 | ||
| IPv4 addresses. More... | ||
| IP6Range::NetSource _ip6 | ||
| IPv6 addresses. More... | ||
| }; | ||
| sa_family_t | _family = AF_UNSPEC | |
| Mark for union content. | ||
Network generator class. This generates networks from a range and acts as both a forward iterator and a container.
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
| IP4Range::NetSource swoc::IPRange::NetSource::_ip4 |
| IP6Range::NetSource swoc::IPRange::NetSource::_ip6 |
| std::monostate swoc::IPRange::NetSource::_nil |