3D array used in nix-vector-routing example "nms-p2p-nix.cc" More...
Public Member Functions | |
Array3D (const size_t x, const size_t y, const size_t z) | |
Constructor. | |
~Array3D () | |
Array2D< T > & | operator[] (const size_t i) |
Accessor operator. | |
Private Attributes | |
const size_t | m_xMax |
maximum number of rows | |
Array2D< T > ** | p |
Stored elements. | |
3D array used in nix-vector-routing example "nms-p2p-nix.cc"
Definition at line 105 of file nms-p2p-nix.cc.
|
inline |
Constructor.
x | number of rows |
y | number of columns |
z | number of layers |
Definition at line 114 of file nms-p2p-nix.cc.
References Array3D< T >::m_xMax, and Array3D< T >::p.
Definition at line 124 of file nms-p2p-nix.cc.
References Array3D< T >::m_xMax, and Array3D< T >::p.
Accessor operator.
i | index to be retrieved |
Definition at line 140 of file nms-p2p-nix.cc.
References Array3D< T >::p.
|
private |
maximum number of rows
Definition at line 147 of file nms-p2p-nix.cc.
Referenced by Array3D< T >::Array3D(), and Array3D< T >::~Array3D().
Stored elements.
Definition at line 146 of file nms-p2p-nix.cc.
Referenced by Array3D< T >::Array3D(), Array3D< T >::~Array3D(), and Array3D< T >::operator[]().