fesa-core  4.3.1
fesa::Array2DRow< T, runtimeCheck > Class Template Reference

#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 * ()
 

Detailed Description

template<typename T, bool runtimeCheck>
class fesa::Array2DRow< T, runtimeCheck >

Wrapper class for a row of an Array2D. Instantiable only by Array2D.

Template Parameters
TType of the elements
runtimeCheckwhether to check index boundaries at runtime

Member Function Documentation

template<typename T , bool runtimeCheck>
fesa::Array2DRow< T, runtimeCheck >::operator const T * ( ) const

Converts this object to a T* by returning a pointer to the data.

template<typename T , bool runtimeCheck>
fesa::Array2DRow< T, runtimeCheck >::operator const void * ( ) const

Converts this object to void* by returning a pointer to the data.

template<typename T , bool runtimeCheck>
fesa::Array2DRow< T, runtimeCheck >::operator T * ( )

Converts this object to a T* by returning a pointer to the data.

template<typename T , bool runtimeCheck>
fesa::Array2DRow< T, runtimeCheck >::operator void * ( )

Converts this object to void* by returning a pointer to the data.

template<typename T , bool runtimeCheck>
template<typename S >
const T & fesa::Array2DRow< T, runtimeCheck >::operator[] ( index) const

Returns the element at the given index (read-only).

template<typename T , bool runtimeCheck>
template<typename S >
T & fesa::Array2DRow< T, runtimeCheck >::operator[] ( index)

Returns the element at the given index (read-write).


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