GUIFramework 1.1.0
Framework for desktop GUI applications in C++.
Loading...
Searching...
No Matches
gui_framework::iterators::composite_forward_iterator Class Reference

IBaseForwardIterator implementation for BaseComponent. More...

#include <composite_forward_iterator.h>

Inheritance diagram for gui_framework::iterators::composite_forward_iterator:
gui_framework::interfaces::IBaseForwardIterator< BaseComponent, composite_forward_iterator > gui_framework::interfaces::IBaseConstForwardIterator< BaseComponent, composite_forward_iterator >

Public Member Functions

 composite_forward_iterator (BaseComponent *component) noexcept
 
BaseComponentoperator* () noexcept override
 
const BaseComponentoperator* () const noexcept override
 
BaseComponentoperator-> () noexcept override
 
const BaseComponentoperator-> () const noexcept override
 
IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > & operator++ () noexcept override
 
composite_forward_iterator operator++ (int) noexcept override
 
bool operator== (const IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > &composite_forward_iterator) const noexcept override
 
bool operator!= (const IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > &composite_forward_iterator) const noexcept override
 
 ~composite_forward_iterator ()=default
 
- Public Member Functions inherited from gui_framework::interfaces::IBaseForwardIterator< BaseComponent, composite_forward_iterator >
 IBaseForwardIterator ()=default
 
virtual ~IBaseForwardIterator ()=default
 
- Public Member Functions inherited from gui_framework::interfaces::IBaseConstForwardIterator< BaseComponent, composite_forward_iterator >
 IBaseConstForwardIterator ()=default
 
virtual bool operator== (const IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > &const_forward_iterator) const noexcept=0
 
virtual bool operator!= (const IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > &const_forward_iterator) const noexcept=0
 
virtual ~IBaseConstForwardIterator ()=default
 

Detailed Description

IBaseForwardIterator implementation for BaseComponent.

Definition at line 11 of file composite_forward_iterator.h.

Constructor & Destructor Documentation

◆ composite_forward_iterator()

gui_framework::iterators::composite_forward_iterator::composite_forward_iterator ( BaseComponent * component)
noexcept

Definition at line 11 of file composite_forward_iterator.cpp.

◆ ~composite_forward_iterator()

gui_framework::iterators::composite_forward_iterator::~composite_forward_iterator ( )
default

Member Function Documentation

◆ operator!=()

bool gui_framework::iterators::composite_forward_iterator::operator!= ( const IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > & composite_forward_iterator) const
overridenoexcept

Definition at line 58 of file composite_forward_iterator.cpp.

◆ operator*() [1/2]

const BaseComponent * gui_framework::iterators::composite_forward_iterator::operator* ( ) const
overridevirtualnoexcept

◆ operator*() [2/2]

BaseComponent * gui_framework::iterators::composite_forward_iterator::operator* ( )
overridevirtualnoexcept

◆ operator++() [1/2]

interfaces::IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > & gui_framework::iterators::composite_forward_iterator::operator++ ( )
overridevirtualnoexcept

◆ operator++() [2/2]

composite_forward_iterator gui_framework::iterators::composite_forward_iterator::operator++ ( int )
overridevirtualnoexcept

◆ operator->() [1/2]

const BaseComponent * gui_framework::iterators::composite_forward_iterator::operator-> ( ) const
overridevirtualnoexcept

◆ operator->() [2/2]

BaseComponent * gui_framework::iterators::composite_forward_iterator::operator-> ( )
overridevirtualnoexcept

◆ operator==()

bool gui_framework::iterators::composite_forward_iterator::operator== ( const IBaseConstForwardIterator< BaseComponent, composite_forward_iterator > & composite_forward_iterator) const
overridenoexcept

Definition at line 53 of file composite_forward_iterator.cpp.


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