Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

gslib::sapling::tree< Value, Allocator >::const_sibling_iterator Class Reference

#include <tree.h>

Inheritance diagram for gslib::sapling::tree< Value, Allocator >::const_sibling_iterator:

Inheritance graph
[legend]
Collaboration diagram for gslib::sapling::tree< Value, Allocator >::const_sibling_iterator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void increment ()
void decrement ()
const_sibling_iterator parent ()
const_sibling_iterator next ()
const_sibling_iterator prev ()
const_sibling_iterator begin ()
const_sibling_iterator end ()
 const_sibling_iterator ()
 const_sibling_iterator (const value_holder *lnk)

template<typename Value, typename Allocator = std::allocator< void >>
class gslib::sapling::tree< Value, Allocator >::const_sibling_iterator


Constructor & Destructor Documentation

template<typename Value, typename Allocator = std::allocator< void >>
gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator  )  [inline]
 

Definition at line 330 of file tree.h.

Referenced by gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::begin(), gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::end(), gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::next(), gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::parent(), and gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::prev().

00330 {}

template<typename Value, typename Allocator = std::allocator< void >>
gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator const value_holder lnk  )  [inline]
 

Definition at line 331 of file tree.h.

00331 : iterator_base( const_cast< value_holder* >( lnk ) ) {}


Member Function Documentation

template<typename Value, typename Allocator = std::allocator< void >>
const_sibling_iterator gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::begin  )  [inline]
 

Definition at line 320 of file tree.h.

References gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator(), and gslib::sapling::tree< Value, Allocator >::iterator_base::self().

Referenced by gslib::sapling::tree< Value, Allocator >::copy(), and gslib::sapling::tree< Value, Allocator >::tree().

00320                                                {
00321                     BOOST_ASSERT( cur_ && self() );
00322                     return const_sibling_iterator( self()->begin() );
00323                 }

Here is the call graph for this function:

template<typename Value, typename Allocator = std::allocator< void >>
void gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::decrement  )  [inline]
 

Definition at line 301 of file tree.h.

00301                                  {
00302                     iterator_base::link_prev();
00303                 }

template<typename Value, typename Allocator = std::allocator< void >>
const_sibling_iterator gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::end  )  [inline]
 

Definition at line 325 of file tree.h.

References gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator(), and gslib::sapling::tree< Value, Allocator >::iterator_base::self().

Referenced by gslib::sapling::tree< Value, Allocator >::copy(), and gslib::sapling::tree< Value, Allocator >::tree().

00325                                              {
00326                     BOOST_ASSERT( cur_ && self() );
00327                     return const_sibling_iterator( self()->end() );
00328                 }

Here is the call graph for this function:

template<typename Value, typename Allocator = std::allocator< void >>
void gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::increment  )  [inline]
 

Definition at line 298 of file tree.h.

00298                                  {
00299                     iterator_base::link_next();
00300                 }

template<typename Value, typename Allocator = std::allocator< void >>
const_sibling_iterator gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::next  )  [inline]
 

Definition at line 310 of file tree.h.

References gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator(), and gslib::sapling::tree< Value, Allocator >::iterator_base::self().

00310                                               {
00311                     BOOST_ASSERT( cur_ && self() );
00312                     return const_sibling_iterator( self()->next() );
00313                 }

Here is the call graph for this function:

template<typename Value, typename Allocator = std::allocator< void >>
const_sibling_iterator gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::parent  )  [inline]
 

Definition at line 305 of file tree.h.

References gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator(), gslib::sapling::tree< Value, Allocator >::get_parent(), and gslib::sapling::tree< Value, Allocator >::iterator_base::self().

00305                                                 {
00306                     BOOST_ASSERT( cur_ && self() );
00307                     return const_sibling_iterator( get_parent( cur_ ) );
00308                 }

Here is the call graph for this function:

template<typename Value, typename Allocator = std::allocator< void >>
const_sibling_iterator gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::prev  )  [inline]
 

Definition at line 315 of file tree.h.

References gslib::sapling::tree< Value, Allocator >::const_sibling_iterator::const_sibling_iterator(), and gslib::sapling::tree< Value, Allocator >::iterator_base::self().

00315                                               {
00316                     BOOST_ASSERT( cur_ && self() );
00317                     return const_sibling_iterator( self()->prev() );
00318                 }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Sat Nov 27 15:03:26 2004 for sapling by doxygen 1.3.6