#include <tcl/list.h>
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_base & | operator++ () |
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 |
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.