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

gslib::static_container::lodge_list< Value >::const_iterator Class Reference

定数参照双方向イテレーター More...

#include <lodge_list.h>

Inheritance diagram for gslib::static_container::lodge_list< Value >::const_iterator:

Inheritance graph
[legend]
Collaboration diagram for gslib::static_container::lodge_list< Value >::const_iterator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 const_iterator ()
const_reference operator * () const
const_pointer operator-> () const
const_iteratoroperator++ ()
const_iteratoroperator-- ()
const_iterator operator++ (int)
const_iterator operator-- (int)
bool operator== (const const_iterator &x) const
bool operator!= (const const_iterator &x) const

Private Member Functions

 const_iterator (const link *n)

Friends

class lodge_list
class iterator

Detailed Description

template<typename Value>
class gslib::static_container::lodge_list< Value >::const_iterator

定数参照双方向イテレーター

Definition at line 127 of file lodge_list.h.


Constructor & Destructor Documentation

template<typename Value>
gslib::static_container::lodge_list< Value >::const_iterator::const_iterator const link n  )  [inline, explicit, private]
 

Definition at line 133 of file lodge_list.h.

00133                                                          {
00134                     node_ = const_cast< link* >( n );
00135                 }

template<typename Value>
gslib::static_container::lodge_list< Value >::const_iterator::const_iterator  )  [inline]
 

Definition at line 137 of file lodge_list.h.

00137 { node_ = 0; }


Member Function Documentation

template<typename Value>
const_reference gslib::static_container::lodge_list< Value >::const_iterator::operator *  )  const [inline]
 

Definition at line 138 of file lodge_list.h.

00138                                                     {
00139                     BOOST_ASSERT( 0 != node_ );
00140                     return static_cast< const node* >( node_ )->value;
00141                 }

template<typename Value>
bool gslib::static_container::lodge_list< Value >::const_iterator::operator!= const const_iterator x  )  const [inline]
 

Definition at line 167 of file lodge_list.h.

References gslib::static_container::lodge_list< Value >::iterator_base::equal().

00167                                                                  {
00168                     return !equal( x );
00169                 }

Here is the call graph for this function:

template<typename Value>
const_iterator gslib::static_container::lodge_list< Value >::const_iterator::operator++ int   )  [inline]
 

Definition at line 154 of file lodge_list.h.

References gslib::static_container::lodge_list< Value >::const_iterator::operator++().

00154                                                    {
00155                     const_iterator result( *this );
00156                     operator ++ ();
00157                     return result;
00158                 }

Here is the call graph for this function:

template<typename Value>
const_iterator& gslib::static_container::lodge_list< Value >::const_iterator::operator++  )  [inline]
 

Definition at line 146 of file lodge_list.h.

References gslib::static_container::lodge_list< Value >::iterator_base::increment().

Referenced by gslib::static_container::lodge_list< Value >::const_iterator::operator++().

00146                                                {
00147                     increment();
00148                     return *this;
00149                 }

Here is the call graph for this function:

template<typename Value>
const_iterator gslib::static_container::lodge_list< Value >::const_iterator::operator-- int   )  [inline]
 

Definition at line 159 of file lodge_list.h.

References gslib::static_container::lodge_list< Value >::const_iterator::operator--().

00159                                                    {
00160                     const_iterator result( *this );
00161                     operator -- ();
00162                     return result;
00163                 }

Here is the call graph for this function:

template<typename Value>
const_iterator& gslib::static_container::lodge_list< Value >::const_iterator::operator--  )  [inline]
 

Definition at line 150 of file lodge_list.h.

References gslib::static_container::lodge_list< Value >::iterator_base::decrement().

Referenced by gslib::static_container::lodge_list< Value >::const_iterator::operator--().

00150                                                {
00151                     decrement();
00152                     return *this;
00153                 }

Here is the call graph for this function:

template<typename Value>
const_pointer gslib::static_container::lodge_list< Value >::const_iterator::operator->  )  const [inline]
 

Definition at line 142 of file lodge_list.h.

00142                                                    {
00143                     BOOST_ASSERT( 0 != node_ );
00144                     return &static_cast< const node* >( node_ )->value;
00145                 }

template<typename Value>
bool gslib::static_container::lodge_list< Value >::const_iterator::operator== const const_iterator x  )  const [inline]
 

Definition at line 164 of file lodge_list.h.

References gslib::static_container::lodge_list< Value >::iterator_base::equal().

00164                                                                  {
00165                     return equal( x );
00166                 }

Here is the call graph for this function:


Friends And Related Function Documentation

template<typename Value>
friend class iterator [friend]
 

Definition at line 132 of file lodge_list.h.

template<typename Value>
friend class lodge_list [friend]
 

Reimplemented from gslib::static_container::lodge_list< Value >::iterator_base.

Definition at line 131 of file lodge_list.h.


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