RINASim
October 2016
Documentation of framework for OMNeT++
|
#include <NeighborTableEntry.h>
Public Member Functions | |
NeighborTableEntry (const APN &napn) | |
virtual | ~NeighborTableEntry () |
bool | operator== (const NeighborTableEntry &other) const |
std::string | info () const |
const APN & | getApn () const |
void | setApn (const APN &apn) |
const APNList & | getNeigbors () const |
void | setNeigbors (const APNList &neigbors) |
void | addNeighbor (const APN &neighbor) |
bool | hasNeighbor (const APN &neighbor) const |
Private Attributes | |
APN | Apn |
APNList | Neigbors |
Definition at line 29 of file NeighborTableEntry.h.
NeighborTableEntry::NeighborTableEntry | ( | const APN & | napn | ) |
Definition at line 25 of file NeighborTableEntry.cc.
|
virtual |
Definition at line 30 of file NeighborTableEntry.cc.
void NeighborTableEntry::addNeighbor | ( | const APN & | neighbor | ) |
Definition at line 63 of file NeighborTableEntry.cc.
Referenced by NeighborTable::addNewNeighbor().
const APN & NeighborTableEntry::getApn | ( | ) | const |
Definition at line 34 of file NeighborTableEntry.cc.
const APNList & NeighborTableEntry::getNeigbors | ( | ) | const |
Definition at line 42 of file NeighborTableEntry.cc.
Referenced by NeighborTable::findNeighborsByApn().
bool NeighborTableEntry::hasNeighbor | ( | const APN & | neighbor | ) | const |
Definition at line 71 of file NeighborTableEntry.cc.
std::string NeighborTableEntry::info | ( | ) | const |
Definition at line 50 of file NeighborTableEntry.cc.
Referenced by operator<<().
bool NeighborTableEntry::operator== | ( | const NeighborTableEntry & | other | ) | const |
Definition at line 46 of file NeighborTableEntry.cc.
void NeighborTableEntry::setApn | ( | const APN & | apn | ) |
Definition at line 38 of file NeighborTableEntry.cc.
void NeighborTableEntry::setNeigbors | ( | const APNList & | neigbors | ) |
Definition at line 59 of file NeighborTableEntry.cc.
|
private |
Definition at line 47 of file NeighborTableEntry.h.
Referenced by getApn(), info(), operator==(), and setApn().
|
private |
Definition at line 48 of file NeighborTableEntry.h.
Referenced by addNeighbor(), getNeigbors(), hasNeighbor(), info(), operator==(), setNeigbors(), and ~NeighborTableEntry().