2D array used in nix-vector-routing example "nms-p2p-nix.cc" More...
Public Member Functions | |
Array2D (const size_t x, const size_t y) | |
Constructor. More... | |
~Array2D () | |
T * | operator[] (const size_t i) |
Accessor operator. More... | |
Private Attributes | |
const size_t | m_xMax |
maximum number of rows More... | |
T ** | p |
Stored elements. More... | |
2D array used in nix-vector-routing example "nms-p2p-nix.cc"
Definition at line 68 of file nms-p2p-nix.cc.
Constructor.
x | number of rows |
y | number of columns |
Definition at line 76 of file nms-p2p-nix.cc.
Definition at line 86 of file nms-p2p-nix.cc.
|
inline |
Accessor operator.
i | index to be retrieved |
Definition at line 101 of file nms-p2p-nix.cc.
|
private |
maximum number of rows
Definition at line 108 of file nms-p2p-nix.cc.
|
private |
Stored elements.
Definition at line 107 of file nms-p2p-nix.cc.