Shiokaze Framework
A research-oriented fluid solver for computer graphics
array2< T >::const_iterator Class Reference

Read-only iterator. More...

#include <array2.h>

Public Member Functions

bool active () const
 Get if a cell is active.
 
bool filled () const
 Get if a cell is filled.
 
const T & operator() () const
 Get the value. More...
 
const T * ptr () const
 Get const pointer to the value. More...
 

Friends

class array2< T >
 

Detailed Description

template<class T>
class array2< T >::const_iterator

Read-only iterator.

Member Function Documentation

◆ operator()()

template<class T >
const T& array2< T >::const_iterator::operator() ( ) const
inline

Get the value.

Returns
Value on the cell.

◆ ptr()

template<class T >
const T* array2< T >::const_iterator::ptr ( ) const
inline

Get const pointer to the value.

Returns
Const pointer to the value on the cell.

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