Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::DynSetTree< Key, Tree, Compare >::Iterator Struct Reference

#include <tpl_dynSetTree.H>

Inheritance diagram for Aleph::DynSetTree< Key, Tree, Compare >::Iterator:
[legend]
Collaboration diagram for Aleph::DynSetTree< Key, Tree, Compare >::Iterator:
[legend]

Public Types

using Base = typename Tree_Type::Iterator
 
using Set_Type = DynSetTree
 

Public Member Functions

 Iterator () noexcept=default
 Default constructor creates an "end" iterator.
 
 Iterator (DynSetTree &tree)
 Iterator on the modifiable set tree.
 
 Iterator (const DynSetTree &)=delete
 A constant set is iterated through Const_Iterator.
 
const Key & get_curr_ne () const noexcept
 
Key & get_curr_ne () noexcept
 
const Key & get_curr () const
 
Key & get_curr ()
 

Detailed Description

template<typename Key, template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
struct Aleph::DynSetTree< Key, Tree, Compare >::Iterator

Definition at line 1661 of file tpl_dynSetTree.H.

Member Typedef Documentation

◆ Base

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
using Aleph::DynSetTree< Key, Tree, Compare >::Iterator::Base = typename Tree_Type::Iterator

Definition at line 1663 of file tpl_dynSetTree.H.

◆ Set_Type

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
using Aleph::DynSetTree< Key, Tree, Compare >::Iterator::Set_Type = DynSetTree

Definition at line 1665 of file tpl_dynSetTree.H.

Constructor & Destructor Documentation

◆ Iterator() [1/3]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
Aleph::DynSetTree< Key, Tree, Compare >::Iterator::Iterator ( )
defaultnoexcept

Default constructor creates an "end" iterator.

◆ Iterator() [2/3]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
Aleph::DynSetTree< Key, Tree, Compare >::Iterator::Iterator ( DynSetTree &  tree)
inline

Iterator on the modifiable set tree.

Definition at line 1671 of file tpl_dynSetTree.H.

◆ Iterator() [3/3]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
Aleph::DynSetTree< Key, Tree, Compare >::Iterator::Iterator ( const DynSetTree &  )
delete

A constant set is iterated through Const_Iterator.

Member Function Documentation

◆ get_curr() [1/2]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
Key & Aleph::DynSetTree< Key, Tree, Compare >::Iterator::get_curr ( )
inline

Definition at line 1687 of file tpl_dynSetTree.H.

◆ get_curr() [2/2]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
const Key & Aleph::DynSetTree< Key, Tree, Compare >::Iterator::get_curr ( ) const
inline

Definition at line 1685 of file tpl_dynSetTree.H.

Referenced by TEST().

◆ get_curr_ne() [1/2]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
const Key & Aleph::DynSetTree< Key, Tree, Compare >::Iterator::get_curr_ne ( ) const
inlinenoexcept

Definition at line 1678 of file tpl_dynSetTree.H.

◆ get_curr_ne() [2/2]

template<typename Key , template< typename, class > class Tree = Avl_Tree, class Compare = Aleph::less<Key>>
Key & Aleph::DynSetTree< Key, Tree, Compare >::Iterator::get_curr_ne ( )
inlinenoexcept

Definition at line 1683 of file tpl_dynSetTree.H.


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