CVCL::Expr::iterator Class Reference
[Expression Package]

#include <expr.h>

List of all members.

Public Member Functions

Private Member Functions

Private Attributes



Detailed Description

Class: Expr::iterator Author: Sergey Berezin Created: Fri Dec 6 15:38:51 2002 Description: STL-like iterator API to the Expr's children. IMPORTANT: the iterator will not be valid after the originating expression is destroyed.

Definition at line 208 of file expr.h.

Constructor & Destructor Documentation

CVCL::Expr::iterator::iterator std::vector< Expr >::const_iterator  it  )  [inline, private]

Construct an iterator out of the vector's iterator.

Definition at line 217 of file expr.h.

CVCL::Expr::iterator::iterator  )  [inline]

Default constructor.

Definition at line 221 of file expr.h.

Member Function Documentation

bool CVCL::Expr::iterator::operator== const iterator i  )  const [inline]


Definition at line 225 of file expr.h.

References d_it.

bool CVCL::Expr::iterator::operator!= const iterator i  )  const [inline]


Definition at line 229 of file expr.h.

const Expr & CVCL::Expr::iterator::operator *  )  const

Dereference operator.

Definition at line 438 of file expr.cpp.

References d_it.

Referenced by operator->().

const Expr * CVCL::Expr::iterator::operator->  )  const

Dereference and member access.

Definition at line 442 of file expr.cpp.

References operator *().

iterator& CVCL::Expr::iterator::operator++  )  [inline]

Prefix increment.

Definition at line 235 of file expr.h.

References d_it.

Proxy CVCL::Expr::iterator::operator++ int   )  [inline]

Postfix increment.

Proxy with the old Expr.
Now, an expression like *i++ will return the current *i, and then advance the iterator. However, don't try to use Proxy for anything else.

Definition at line 254 of file expr.h.

Friends And Related Function Documentation

friend class Expr [friend]

Definition at line 211 of file expr.h.

Member Data Documentation

std::vector<Expr>::const_iterator CVCL::Expr::iterator::d_it [private]

Definition at line 213 of file expr.h.

Referenced by operator *(), operator++(), and operator==().

The documentation for this class was generated from the following files:
Generated on Thu Apr 13 16:57:43 2006 for CVC Lite by  doxygen 1.4.4