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. | |
~Array2D () | |
T * | operator[] (const size_t i) |
Accessor operator. | |
Private Attributes | |
const size_t | m_xMax |
maximum number of rows | |
T ** | p |
Stored elements. | |
2D array used in nix-vector-routing example "nms-p2p-nix.cc"
Definition at line 57 of file nms-p2p-nix.cc.
Constructor.
x | number of rows |
y | number of columns |
Definition at line 65 of file nms-p2p-nix.cc.
References Array2D< T >::m_xMax, and Array2D< T >::p.
Definition at line 75 of file nms-p2p-nix.cc.
References Array2D< T >::m_xMax, and Array2D< T >::p.
|
inline |
Accessor operator.
i | index to be retrieved |
Definition at line 90 of file nms-p2p-nix.cc.
References Array2D< T >::p.
|
private |
maximum number of rows
Definition at line 97 of file nms-p2p-nix.cc.
Referenced by Array2D< T >::Array2D(), and Array2D< T >::~Array2D().
|
private |
Stored elements.
Definition at line 96 of file nms-p2p-nix.cc.
Referenced by Array2D< T >::Array2D(), Array2D< T >::~Array2D(), and Array2D< T >::operator[]().