tcl::list::iterator< T > Class Template Reference

#include <tcl/list.h>

Inheritance diagram for tcl::list::iterator< T >:

Inheritance graph
[legend]
Collaboration diagram for tcl::list::iterator< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef T value_type
enum  position { BEGIN, END }
typedef int difference_type

Public Member Functions

 iterator (const list &owner, position start_pos=BEGIN)
 iterator (Tcl_Obj *x, position start_pos=BEGIN)
const T & operator* () const
iterator_baseoperator++ ()
iterator_base operator++ (int)
difference_type operator- (const iterator_base &other) const
bool operator== (const iterator_base &other) const
bool operator!= (const iterator_base &other) const
bool is_valid () const
bool has_more () const
bool nelems () const

Protected Member Functions

Tcl_Obj * current () const


Detailed Description

template<class T>
class tcl::list::iterator< T >

tcl::list::iterator is an adapter that provides an STL-style iterator interface to Tcl list objects. tcl::list::iterator is a model of input iterator.

Definition at line 254 of file list.h.


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:48 2008 by Doxygen version 1.5.5.