The blo Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
blo::Array3DFixed< T, L, M, N >::Dim1Proxy Class Reference

Array first dimension proxy. More...

#include <Array3DFixed.h>

Public Member Functions

 Dim1Proxy (Array3DFixed< T, L, M, N > &arr, int i)
 Constructs proxy of the first dimension of the array.
 
T * operator[] (int j)
 Index second dimension of array.
 
const T * operator[] (int j) const
 Index second dimension of array.
 

Detailed Description

template<typename T, size_t L, size_t M, size_t N>
class blo::Array3DFixed< T, L, M, N >::Dim1Proxy

Array first dimension proxy.

Constructor & Destructor Documentation

◆ Dim1Proxy()

template<typename T , size_t L, size_t M, size_t N>
blo::Array3DFixed< T, L, M, N >::Dim1Proxy::Dim1Proxy ( Array3DFixed< T, L, M, N > &  arr,
int  i 
)

Constructs proxy of the first dimension of the array.

Parameters
arrThe array.
iFirst dimension of the array.

Member Function Documentation

◆ operator[]() [1/2]

template<typename T , size_t L, size_t M, size_t N>
T * blo::Array3DFixed< T, L, M, N >::Dim1Proxy::operator[] ( int  j)

Index second dimension of array.

Note
Index third dimension of array using array[i][j][k].
Parameters
jSecond dimension of the array.
Returns
Pointer to the second dimension.

◆ operator[]() [2/2]

template<typename T , size_t L, size_t M, size_t N>
const T * blo::Array3DFixed< T, L, M, N >::Dim1Proxy::operator[] ( int  j) const

Index second dimension of array.

Note
Index third dimension of array using array[i][j][k].
Parameters
jSecond dimension of the array.
Returns
Pointer to the second dimension.

The documentation for this class was generated from the following file: