|
The blo Library
|
Small 3D array, fixed size. More...
#include <Array3DFixed.h>
Classes | |
| class | Dim1Proxy |
| Array first dimension proxy. More... | |
Public Member Functions | |
| Array3DFixed ()=default | |
| Default constructor. | |
| Array3DFixed (const T &val) | |
| Constructs array of specified value. | |
| Array3DFixed (const Array3DFixed< T, L, M, N > &rhs)=default | |
| Copy constructor. | |
| virtual | ~Array3DFixed ()=default |
| Destructor. | |
| Array3DFixed< T, L, M, N > & | operator= (const Array3DFixed< T, L, M, N > &rhs)=default |
| Copy assignment operator. | |
| Dim1Proxy | operator[] (int i) |
| Index first dimension of array. | |
| const Dim1Proxy | operator[] (int i) const |
| Index first dimension of array. | |
| T * | ptrData () |
| Retrieves the pointer to the beginning of the array. | |
| const T * | ptrData () const |
| Retrieves the pointer to the beginning of the array. | |
| void | set (const T &val) |
| Sets array elements to a value. | |
Static Public Member Functions | |
| static int | size1 () |
| Size of first dimension of array. | |
| static int | size2 () |
| Size of second dimension of array. | |
| static int | size3 () |
| Size of third dimension of array. | |
| static int | stride1 () |
| Stride in bytes through the first dimension of the array. | |
| static int | stride2 () |
| Stride in bytes through the second dimension of the array. | |
| static int | stride3 () |
| Stride in bytes through the third dimension of the array. | |
Small 3D array, fixed size.
| T | Data type. |
| L | Size of first dimension. |
| M | Size of second dimension. |
| N | Size of third dimension. |
|
default |
Default constructor.
|
explicit |
Constructs array of specified value.
| val | Constant value to assign to each element in the array. |
|
default |
Copy constructor.
|
virtualdefault |
Destructor.
|
default |
Copy assignment operator.
| Dim1Proxy blo::Array3DFixed< T, L, M, N >::operator[] | ( | int | i | ) |
Index first dimension of array.
| i | First dimension of the array. |
| const Dim1Proxy blo::Array3DFixed< T, L, M, N >::operator[] | ( | int | i | ) | const |
Index first dimension of array.
| i | First dimension of the array. |
| T * blo::Array3DFixed< T, L, M, N >::ptrData | ( | ) |
Retrieves the pointer to the beginning of the array.
| const T * blo::Array3DFixed< T, L, M, N >::ptrData | ( | ) | const |
Retrieves the pointer to the beginning of the array.
| void blo::Array3DFixed< T, L, M, N >::set | ( | const T & | val | ) |
Sets array elements to a value.
| val | Constant value to assign to each element in the array. |
|
static |
Size of first dimension of array.
|
static |
Size of second dimension of array.
|
static |
Size of third dimension of array.
|
static |
Stride in bytes through the first dimension of the array.
|
static |
Stride in bytes through the second dimension of the array.
|
static |
Stride in bytes through the third dimension of the array.