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

Public Member Functions

 ConstIterator (const ContainerConstIterator &other)
 
 ConstIterator (const Self &image, int x, int y)
 
ConstIteratoroperator= (const ContainerConstIterator &other)
 

Detailed Description

template<typename TValue>
struct rt::Image2D< TValue >::ConstIterator

Definition at line 38 of file Image2D.h.

Constructor & Destructor Documentation

◆ ConstIterator() [1/2]

template<typename TValue >
rt::Image2D< TValue >::ConstIterator::ConstIterator ( const ContainerConstIterator &  other)
inline

Definition at line 39 of file Image2D.h.

40 : ContainerConstIterator( other )
41 {}

◆ ConstIterator() [2/2]

template<typename TValue >
rt::Image2D< TValue >::ConstIterator::ConstIterator ( const Self image,
int  x,
int  y 
)
inline

Definition at line 42 of file Image2D.h.

43 : ContainerConstIterator( image.m_data.begin() + image.index( x, y ) )
44 {}

Member Function Documentation

◆ operator=()

template<typename TValue >
ConstIterator & rt::Image2D< TValue >::ConstIterator::operator= ( const ContainerConstIterator &  other)
inline

Definition at line 45 of file Image2D.h.

46 {
47 ContainerConstIterator::operator=( other );
48 return *this;
49 }

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