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

Public Types | |
| using | range_type = IP6Range |
| 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 (self_type const &that)=default | |
| Copy constructor. | |
| iterator | begin () const |
| First network. | |
| iterator | end () const |
| Past last network. | |
| bool | empty () const |
| IP6Net | operator* () const |
| self_type * | operator-> () |
Access this as if it were an IP6Net. | |
| IP6Addr const & | 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 Member Functions | |
| void | search_wider () |
| void | search_narrower () |
| bool | is_valid (IPMask const &mask) |
Protected Attributes | |
| IP6Range | _range |
| Remaining range. | |
| IPMask | _mask {IP6Addr::WIDTH} |
| Current CIDR value. | |
Network generator class. This generates networks from a range and acts as both a forward iterator and a container.
|
explicit |
Construct from range.
Definition at line 1200 of file swoc_ip.cc.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
| auto swoc::IP6Range::NetSource::operator++ | ( | ) |
Move to next network.
Definition at line 1207 of file swoc_ip.cc.
|
inline |
|
inline |
|
protected |
Definition at line 1237 of file swoc_ip.cc.
|
protected |
Definition at line 1224 of file swoc_ip.cc.
|
protected |
|
protected |