fesa-core
5.0.1
|
#include <Array2DRow.h>
Public Member Functions | |
template<typename S > | |
const T & | operator[] (S index) const |
template<typename S > | |
T & | operator[] (S index) |
operator const T * () const | |
operator const void * () const | |
operator T * () | |
operator void * () | |
Wrapper class for a row of an Array2D. Instantiable only by Array2D.
T | Type of the elements |
runtimeCheck | whether to check index boundaries at runtime |
fesa::Array2DRow< T, runtimeCheck >::operator const T * | ( | ) | const |
Converts this object to a T* by returning a pointer to the data.
fesa::Array2DRow< T, runtimeCheck >::operator const void * | ( | ) | const |
Converts this object to void* by returning a pointer to the data.
fesa::Array2DRow< T, runtimeCheck >::operator T * | ( | ) |
Converts this object to a T* by returning a pointer to the data.
fesa::Array2DRow< T, runtimeCheck >::operator void * | ( | ) |
Converts this object to void* by returning a pointer to the data.
const T & fesa::Array2DRow< T, runtimeCheck >::operator[] | ( | S | index | ) | const |
Returns the element at the given index (read-only).
T & fesa::Array2DRow< T, runtimeCheck >::operator[] | ( | S | index | ) |
Returns the element at the given index (read-write).