INFO804 Introduction à l'informatique graphique
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
rt::Image2D< TValue >::GenericConstIterator< TAccessor > Struct Template Reference
Inheritance diagram for rt::Image2D< TValue >::GenericConstIterator< TAccessor >:

Public Types

typedef TAccessor Accessor
 
typedef Accessor::Argument ImageValue
 
typedef Accessor::Value Value
 
typedef Accessor::Reference Reference
 

Public Member Functions

 GenericConstIterator (const Image2D< ImageValue > &image, int x, int y)
 
Value operator* () const
 

Detailed Description

template<typename TValue>
template<typename TAccessor>
struct rt::Image2D< TValue >::GenericConstIterator< TAccessor >

Definition at line 59 of file Image2D.h.

Member Typedef Documentation

◆ Accessor

template<typename TValue >
template<typename TAccessor >
typedef TAccessor rt::Image2D< TValue >::GenericConstIterator< TAccessor >::Accessor

Definition at line 60 of file Image2D.h.

◆ ImageValue

template<typename TValue >
template<typename TAccessor >
typedef Accessor::Argument rt::Image2D< TValue >::GenericConstIterator< TAccessor >::ImageValue

Definition at line 61 of file Image2D.h.

◆ Reference

template<typename TValue >
template<typename TAccessor >
typedef Accessor::Reference rt::Image2D< TValue >::GenericConstIterator< TAccessor >::Reference

Definition at line 63 of file Image2D.h.

◆ Value

template<typename TValue >
template<typename TAccessor >
typedef Accessor::Value rt::Image2D< TValue >::GenericConstIterator< TAccessor >::Value

Definition at line 62 of file Image2D.h.

Constructor & Destructor Documentation

◆ GenericConstIterator()

template<typename TValue >
template<typename TAccessor >
rt::Image2D< TValue >::GenericConstIterator< TAccessor >::GenericConstIterator ( const Image2D< ImageValue > &  image,
int  x,
int  y 
)
inline

Definition at line 65 of file Image2D.h.

66 : Container::const_iterator( image.m_data.begin() + image.index( x, y ) ) {}

Member Function Documentation

◆ operator*()

template<typename TValue >
template<typename TAccessor >
Value rt::Image2D< TValue >::GenericConstIterator< TAccessor >::operator* ( ) const
inline

Definition at line 69 of file Image2D.h.

70 { return Accessor::access( Container::const_iterator::operator*() ); }

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