2.10.0
Freundlich's C++ toolkit
Classes | Public Types | Public Member Functions
fcppt::container::tree::to_root< Tree > Class Template Reference

Classes

class  iterator
 

Public Types

typedef iterator const_iterator
 

Public Member Functions

 to_root (Tree &_tree)
 Construct a to-root traversal from a tree (which can be const or nonconst) More...
 
iterator begin () const
 Return an iterator to the first tree in the traversal. More...
 
iterator end () const
 Return a dummy iterator to stop the traversal. More...
 

Member Typedef Documentation

◆ const_iterator

template<typename Tree >
typedef iterator fcppt::container::tree::to_root< Tree >::const_iterator

Constructor & Destructor Documentation

◆ to_root()

template<typename Tree >
fcppt::container::tree::to_root< Tree >::to_root ( Tree &  _tree)
inlineexplicit

Construct a to-root traversal from a tree (which can be const or nonconst)

Member Function Documentation

◆ begin()

template<typename Tree >
iterator fcppt::container::tree::to_root< Tree >::begin ( ) const
inline

Return an iterator to the first tree in the traversal.

◆ end()

template<typename Tree >
iterator fcppt::container::tree::to_root< Tree >::end ( ) const
inline

Return a dummy iterator to stop the traversal.