neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::selection_iterator< Type > Class Template Reference

#include <i_item_selection_model.hpp>

Public Types

using value_type = item_presentation_model_index
 
using pointer = value_type const *
 
using reference = value_type const &
 
using difference_type = std::ptrdiff_t
 
using iterator_catagory = std::forward_iterator_tag
 

Public Member Functions

 selection_iterator ()
 
 selection_iterator (item_selection const &aSelection, item_selection::const_iterator aPosition)
 
bool operator== (const selection_iterator &aRhs) const
 
bool operator!= (const selection_iterator &aRhs) const
 
reference operator* () const
 
pointer operator-> () const
 
selection_iteratoroperator++ ()
 

Friends

class i_item_selection_model
 

Detailed Description

template<typename Type>
class neogfx::selection_iterator< Type >

Definition at line 140 of file i_item_selection_model.hpp.

Member Typedef Documentation

◆ difference_type

template<typename Type >
using neogfx::selection_iterator< Type >::difference_type = std::ptrdiff_t

Definition at line 147 of file i_item_selection_model.hpp.

◆ iterator_catagory

template<typename Type >
using neogfx::selection_iterator< Type >::iterator_catagory = std::forward_iterator_tag

Definition at line 148 of file i_item_selection_model.hpp.

◆ pointer

template<typename Type >
using neogfx::selection_iterator< Type >::pointer = value_type const*

Definition at line 145 of file i_item_selection_model.hpp.

◆ reference

template<typename Type >
using neogfx::selection_iterator< Type >::reference = value_type const&

Definition at line 146 of file i_item_selection_model.hpp.

◆ value_type

template<typename Type >
using neogfx::selection_iterator< Type >::value_type = item_presentation_model_index

Definition at line 144 of file i_item_selection_model.hpp.

Constructor & Destructor Documentation

◆ selection_iterator() [1/2]

template<typename Type >
neogfx::selection_iterator< Type >::selection_iterator ( )
inline

Definition at line 150 of file i_item_selection_model.hpp.

◆ selection_iterator() [2/2]

template<typename Type >
neogfx::selection_iterator< Type >::selection_iterator ( item_selection const &  aSelection,
item_selection::const_iterator  aPosition 
)
inline

Definition at line 154 of file i_item_selection_model.hpp.

Member Function Documentation

◆ operator!=()

template<typename Type >
bool neogfx::selection_iterator< Type >::operator!= ( const selection_iterator< Type > &  aRhs) const
inline

Definition at line 172 of file i_item_selection_model.hpp.

◆ operator*()

template<typename Type >
reference neogfx::selection_iterator< Type >::operator* ( ) const
inline

Definition at line 177 of file i_item_selection_model.hpp.

◆ operator++()

template<typename Type >
selection_iterator & neogfx::selection_iterator< Type >::operator++ ( )
inline

Definition at line 186 of file i_item_selection_model.hpp.

◆ operator->()

template<typename Type >
pointer neogfx::selection_iterator< Type >::operator-> ( ) const
inline

Definition at line 181 of file i_item_selection_model.hpp.

◆ operator==()

template<typename Type >
bool neogfx::selection_iterator< Type >::operator== ( const selection_iterator< Type > &  aRhs) const
inline

Definition at line 159 of file i_item_selection_model.hpp.

Friends And Related Symbol Documentation

◆ i_item_selection_model

template<typename Type >
friend class i_item_selection_model
friend

Definition at line 142 of file i_item_selection_model.hpp.


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