#include <PIMBase.h>
inet::PIMBase::AssertMetric::AssertMetric |
( |
| ) |
|
|
inline |
short preference
Definition: PIMBase.h:44
int metric
Definition: PIMBase.h:45
short rptBit
Definition: PIMBase.h:43
inet::PIMBase::AssertMetric::AssertMetric |
( |
int |
preference, |
|
|
int |
metric, |
|
|
IPv4Address |
address |
|
) |
| |
|
inline |
short preference
Definition: PIMBase.h:44
IPv4Address address
Definition: PIMBase.h:46
int metric
Definition: PIMBase.h:45
short rptBit
Definition: PIMBase.h:43
short preference
Definition: PIMBase.h:44
IPv4Address address
Definition: PIMBase.h:46
int metric
Definition: PIMBase.h:45
short rptBit
Definition: PIMBase.h:43
bool inet::PIMBase::AssertMetric::isInfinite |
( |
| ) |
const |
|
inline |
Referenced by operator<().
short preference
Definition: PIMBase.h:44
bool inet::PIMBase::AssertMetric::operator!= |
( |
const AssertMetric & |
other | ) |
const |
short preference
Definition: PIMBase.h:44
IPv4Address address
Definition: PIMBase.h:46
int metric
Definition: PIMBase.h:45
short rptBit
Definition: PIMBase.h:43
bool inet::PIMBase::AssertMetric::operator< |
( |
const AssertMetric & |
other | ) |
const |
56 if (other.isInfinite())
58 if (
rptBit != other.rptBit)
59 return rptBit < other.rptBit;
62 if (
metric != other.metric)
63 return metric < other.metric;
bool isInfinite() const
Definition: PIMBase.h:55
short preference
Definition: PIMBase.h:44
IPv4Address address
Definition: PIMBase.h:46
int metric
Definition: PIMBase.h:45
short rptBit
Definition: PIMBase.h:43
bool inet::PIMBase::AssertMetric::operator== |
( |
const AssertMetric & |
other | ) |
const |
short preference
Definition: PIMBase.h:44
IPv4Address address
Definition: PIMBase.h:46
int metric
Definition: PIMBase.h:45
short rptBit
Definition: PIMBase.h:43
int inet::PIMBase::AssertMetric::metric |
short inet::PIMBase::AssertMetric::preference |
short inet::PIMBase::AssertMetric::rptBit |
The documentation for this struct was generated from the following files: