The blo Library
Loading...
Searching...
No Matches
Public Member Functions | List of all members
blo::Array3D< T >::Dim1Proxy Class Reference

Array first dimension proxy. More...

#include <Array3D.h>

Public Member Functions

 Dim1Proxy (Array3D &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>
class blo::Array3D< T >::Dim1Proxy

Array first dimension proxy.

Constructor & Destructor Documentation

◆ Dim1Proxy()

template<typename T >
blo::Array3D< T >::Dim1Proxy::Dim1Proxy ( Array3D &  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 >
T * blo::Array3D< T >::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 >
const T * blo::Array3D< T >::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: