50 Array4(
size_t bound0,
size_t bound1,
size_t bound2,
size_t bound3);
69 Array4(
size_t bound0,
size_t bound1,
size_t bound2,
size_t bound3, T* objects);
95 inline size_t GetBound0()
const;
96 inline size_t GetBound1()
const;
97 inline size_t GetBound2()
const;
98 inline size_t GetBound3()
const;
99 inline T**
const* operator[] (
int cuboid)
const;
100 inline T*** operator[] (
int cuboid);
103 void SetPointers(T* objects);
104 void SetPointers(
Array4 const& other);
106 size_t mBound0, mBound1, mBound2, mBound3;
107 std::vector<T> mObjects;
108 std::vector<T*> mIndirect1;
109 std::vector<T**> mIndirect2;
110 std::vector<T***> mIndirect3;
112#include "NeArray4.inl"
The Array4 class represents a 4-dimensional array that minimizes the number of new and delete calls....
Array4()
Default constructor.