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

Classes | |
| class | const_iterator |
| Bidirectional constant iterator for iteration over ranges. More... | |
Public Types | |
| using | iterator = const_iterator |
Public Member Functions | |
| IPRangeSet ()=default | |
| Default construct empty set. | |
| self_type & | mark (swoc::IPRange const &r) |
| self_type & | fill (swoc::IPRange const &r) |
| bool | contains (swoc::IPAddr const &addr) const |
| size_t | count () const |
| bool | empty () const |
| void | clear () |
| Remove all addresses in the set. | |
| const_iterator | begin () const |
| const_iterator | end () const |
Protected Attributes | |
| Space | _addrs |
| The address set. | |
An IPSpace that contains only addresses.
This is to IPSpace as std::set is to std::map. The value_type is removed from the API and only the keys are visible. This suits use cases where the goal is to track the presence of addresses without any additional data.
mark and fill.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |