4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::container::tree::pre_order< Tree >::iterator Class Referencefinal
Inheritance diagram for fcppt::container::tree::pre_order< Tree >::iterator:
fcppt::iterator::base< Types >

Public Types

using value_type = fcppt::type_traits::value_type<iterator_base>
 
using reference = typename iterator_base::reference
 
using pointer = typename iterator_base::pointer
 
using difference_type = typename iterator_base::difference_type
 
using iterator_category = typename iterator_base::iterator_category
 
- Public Types inherited from fcppt::iterator::base< Types >
using derived = typename Types::derived
 
using value_type = typename Types::value_type
 
using reference = typename Types::reference
 
using difference_type = typename Types::difference_type
 
using pointer = std::add_pointer_t<reference>
 
using iterator_category = typename Types::iterator_category
 

Public Member Functions

 iterator ()
 
 iterator (optional_tree_ref const _current)
 
void increment ()
 
reference dereference () const
 
bool equal (iterator const &_other) const
 
- Public Member Functions inherited from fcppt::iterator::base< Types >
reference operator* () const
 
derivedoperator++ ()
 
bool operator== (base const &) const
 
bool operator!= (base const &) const
 
pointer operator-> () const
 
derived operator++ (int)
 
void swap (base &) noexcept
 
derivedoperator-- ()
 
derived operator-- (int)
 
derivedoperator+= (difference_type)
 
derived operator+ (difference_type) const
 
derivedoperator-= (difference_type)
 
derived operator- (difference_type) const
 
reference operator[] (difference_type) const
 
difference_type operator- (base const &) const
 

Additional Inherited Members

- Protected Member Functions inherited from fcppt::iterator::base< Types >
 base ()
 

Member Typedef Documentation

◆ difference_type

template<typename Tree >
using fcppt::container::tree::pre_order< Tree >::iterator::difference_type = typename iterator_base::difference_type

◆ iterator_category

template<typename Tree >
using fcppt::container::tree::pre_order< Tree >::iterator::iterator_category = typename iterator_base::iterator_category

◆ pointer

template<typename Tree >
using fcppt::container::tree::pre_order< Tree >::iterator::pointer = typename iterator_base::pointer

◆ reference

template<typename Tree >
using fcppt::container::tree::pre_order< Tree >::iterator::reference = typename iterator_base::reference

◆ value_type

template<typename Tree >
using fcppt::container::tree::pre_order< Tree >::iterator::value_type = fcppt::type_traits::value_type<iterator_base>

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename Tree >
fcppt::container::tree::pre_order< Tree >::iterator::iterator ( )
inline

◆ iterator() [2/2]

template<typename Tree >
fcppt::container::tree::pre_order< Tree >::iterator::iterator ( optional_tree_ref const _current)
inlineexplicit

Member Function Documentation

◆ dereference()

template<typename Tree >
reference fcppt::container::tree::pre_order< Tree >::iterator::dereference ( ) const
inlinenodiscard

◆ equal()

template<typename Tree >
bool fcppt::container::tree::pre_order< Tree >::iterator::equal ( iterator const & _other) const
inlinenodiscard

◆ increment()

template<typename Tree >
void fcppt::container::tree::pre_order< Tree >::iterator::increment ( )
inline