|
OverSim
|
Auxiliary class for CoordBasedRouting: Holds the min and max border values for each dimension and the area's NodeID prefix. More...
#include <CoordBasedRouting.h>
Public Member Functions | |
| CBRArea (uint8_t dim) | |
| CBRArea Constructor, reserves space for min & max vectors. | |
| CBRArea (const Coords &bottoms, const Coords &tops, const std::string &prefix) | |
| ~CBRArea () | |
Public Attributes | |
| Coords | min |
| Coords | max |
| std::string | prefix |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const CBRArea &area) |
Auxiliary class for CoordBasedRouting: Holds the min and max border values for each dimension and the area's NodeID prefix.
Definition at line 41 of file CoordBasedRouting.h.
| CBRArea::CBRArea | ( | uint8_t | dim | ) |
CBRArea Constructor, reserves space for min & max vectors.
Definition at line 438 of file CoordBasedRouting.cc.
|
inline |
Definition at line 50 of file CoordBasedRouting.h.
|
friend |
| Coords CBRArea::max |
Definition at line 53 of file CoordBasedRouting.h.
Referenced by CoordBasedRouting::getEuclidianDistanceByKeyAndCoords(), CoordBasedRouting::getPrefix(), operator<<(), and CoordBasedRouting::parseSource().
| Coords CBRArea::min |
Definition at line 50 of file CoordBasedRouting.h.
Referenced by CoordBasedRouting::getEuclidianDistanceByKeyAndCoords(), CoordBasedRouting::getPrefix(), operator<<(), and CoordBasedRouting::parseSource().
| std::string CBRArea::prefix |
Definition at line 54 of file CoordBasedRouting.h.
Referenced by CoordBasedRouting::getEuclidianDistanceByKeyAndCoords(), CoordBasedRouting::getPrefix(), operator<<(), and CoordBasedRouting::parseSource().