RINASim  October 2016
Documentation of framework for OMNeT++
NeighborTableEntry Class Reference

#include <NeighborTableEntry.h>

Public Member Functions

 NeighborTableEntry (const APN &napn)
 
virtual ~NeighborTableEntry ()
 
bool operator== (const NeighborTableEntry &other) const
 
std::string info () const
 
const APNgetApn () const
 
void setApn (const APN &apn)
 
const APNListgetNeigbors () const
 
void setNeigbors (const APNList &neigbors)
 
void addNeighbor (const APN &neighbor)
 
bool hasNeighbor (const APN &neighbor) const
 

Private Attributes

APN Apn
 
APNList Neigbors
 

Detailed Description

Definition at line 29 of file NeighborTableEntry.h.

Constructor & Destructor Documentation

NeighborTableEntry::NeighborTableEntry ( const APN napn)

Definition at line 25 of file NeighborTableEntry.cc.

NeighborTableEntry::~NeighborTableEntry ( )
virtual

Definition at line 30 of file NeighborTableEntry.cc.

Member Function Documentation

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.

Member Data Documentation

APN NeighborTableEntry::Apn
private

Definition at line 47 of file NeighborTableEntry.h.

Referenced by getApn(), info(), operator==(), and setApn().

APNList NeighborTableEntry::Neigbors
private

The documentation for this class was generated from the following files: