#include <IpMap.h>
Inherited by ts::detail::Ip4Node [protected]
, and ts::detail::Ip6Node [protected]
.
Public Types | |
typedef T | Metric |
Metric (storage) type. | |
typedef A | ArgType |
Type used to pass instances of Metric . | |
Public Member Functions | |
Interval () | |
Default constructor. | |
Interval (ArgType min, ArgType max) | |
Construct with values. | |
Data Fields | |
Metric | _min |
Minimum value in span. | |
Metric | _max |
Maximum value in span. |
Interval class.
This holds an interval based on a metric T along with client data.
Definition at line 42 of file IpMap.h.
typedef A ts::detail::Interval< T, A >::ArgType |
Type used to pass instances of Metric
.
Reimplemented in ts::detail::Ip6Node.
typedef T ts::detail::Interval< T, A >::Metric |
ts::detail::Interval< T, A >::Interval | ( | ) | [inline] |
ts::detail::Interval< T, A >::Interval | ( | ArgType | min, | |
ArgType | max | |||
) | [inline] |
Metric ts::detail::Interval< T, A >::_max |
Maximum value in span.
Reimplemented in ts::detail::Ip4Node.
Definition at line 53 of file IpMap.h.
Referenced by ts::detail::Ip6Node::decrementMax(), ts::detail::Ip6Node::max(), ts::detail::Ip6Node::setMax(), and ts::detail::Ip6Node::setMaxMinusOne().
Metric ts::detail::Interval< T, A >::_min |
Minimum value in span.
Reimplemented in ts::detail::Ip4Node.
Definition at line 52 of file IpMap.h.
Referenced by ts::detail::Ip6Node::incrementMin(), ts::detail::Ip6Node::min(), ts::detail::Ip6Node::setMin(), and ts::detail::Ip6Node::setMinPlusOne().