Bridges-C++  3.4.2
Bridges(C++ API)
Public Member Functions | Public Attributes | List of all members
bridges::datastructure::Array3D< E >::Bracket_helper2 Struct Reference

#include <Array3D.h>

Detailed Description

template<typename E>
struct bridges::datastructure::Array3D< E >::Bracket_helper2

Bracker_helper class to make [][] operators work on array 2d. You should never use it directly.

Public Member Functions

 Bracket_helper2 (Array3D< E > &a, int x, int y)
 
E & operator[] (int z)
 

Public Attributes

Array3D< E > & arr
 
int x
 
int y
 

Constructor & Destructor Documentation

◆ Bracket_helper2()

template<typename E >
bridges::datastructure::Array3D< E >::Bracket_helper2::Bracket_helper2 ( Array3D< E > &  a,
int  x,
int  y 
)
inline

Member Function Documentation

◆ operator[]()

template<typename E >
E& bridges::datastructure::Array3D< E >::Bracket_helper2::operator[] ( int  z)
inline

Member Data Documentation

◆ arr

template<typename E >
Array3D<E>& bridges::datastructure::Array3D< E >::Bracket_helper2::arr

◆ x

template<typename E >
int bridges::datastructure::Array3D< E >::Bracket_helper2::x

◆ y

template<typename E >
int bridges::datastructure::Array3D< E >::Bracket_helper2::y

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