GiNaC  1.6.2
Public Member Functions | Protected Attributes | Private Member Functions | Friends
GiNaC::const_iterator Class Reference

#include <ex.h>

List of all members.

Public Member Functions

 const_iterator () throw ()
ex operator* () const
std::auto_ptr< exoperator-> () const
ex operator[] (difference_type n) const
const_iteratoroperator++ () throw ()
const_iterator operator++ (int) throw ()
const_iteratoroperator+= (difference_type n) throw ()
const_iterator operator+ (difference_type n) const throw ()
const_iteratoroperator-- () throw ()
const_iterator operator-- (int) throw ()
const_iteratoroperator-= (difference_type n) throw ()
const_iterator operator- (difference_type n) const throw ()
bool operator== (const const_iterator &other) const throw ()
bool operator!= (const const_iterator &other) const throw ()
bool operator< (const const_iterator &other) const throw ()
bool operator> (const const_iterator &other) const throw ()
bool operator<= (const const_iterator &other) const throw ()
bool operator>= (const const_iterator &other) const throw ()

Protected Attributes

ex e
size_t i

Private Member Functions

 const_iterator (const ex &e_, size_t i_) throw ()

Friends

class ex
class const_preorder_iterator
class const_postorder_iterator
const_iterator operator+ (difference_type n, const const_iterator &it) throw ()
difference_type operator- (const const_iterator &lhs, const const_iterator &rhs) throw ()

Detailed Description

Definition at line 355 of file ex.h.


Constructor & Destructor Documentation

GiNaC::const_iterator::const_iterator ( ) throw () [inline]

Definition at line 361 of file ex.h.

Referenced by operator+(), and operator-().

GiNaC::const_iterator::const_iterator ( const ex e_,
size_t  i_ 
) throw () [inline, private]

Definition at line 364 of file ex.h.


Member Function Documentation

ex GiNaC::const_iterator::operator* ( ) const [inline]

Definition at line 369 of file ex.h.

References e, i, and GiNaC::ex::op().

std::auto_ptr<ex> GiNaC::const_iterator::operator-> ( ) const [inline]

Definition at line 376 of file ex.h.

References ex.

ex GiNaC::const_iterator::operator[] ( difference_type  n) const [inline]

Definition at line 381 of file ex.h.

References e, i, and GiNaC::ex::op().

const_iterator& GiNaC::const_iterator::operator++ ( ) throw () [inline]

Definition at line 386 of file ex.h.

References i.

const_iterator GiNaC::const_iterator::operator++ ( int  ) throw () [inline]

Definition at line 392 of file ex.h.

References i.

const_iterator& GiNaC::const_iterator::operator+= ( difference_type  n) throw () [inline]

Definition at line 399 of file ex.h.

References i, and n.

const_iterator GiNaC::const_iterator::operator+ ( difference_type  n) const throw () [inline]

Definition at line 405 of file ex.h.

References const_iterator(), e, i, and n.

const_iterator& GiNaC::const_iterator::operator-- ( ) throw () [inline]

Definition at line 415 of file ex.h.

References i.

const_iterator GiNaC::const_iterator::operator-- ( int  ) throw () [inline]

Definition at line 421 of file ex.h.

References i.

const_iterator& GiNaC::const_iterator::operator-= ( difference_type  n) throw () [inline]

Definition at line 428 of file ex.h.

References i, and n.

const_iterator GiNaC::const_iterator::operator- ( difference_type  n) const throw () [inline]

Definition at line 434 of file ex.h.

References const_iterator(), e, i, and n.

bool GiNaC::const_iterator::operator== ( const const_iterator other) const throw () [inline]

Definition at line 444 of file ex.h.

References GiNaC::are_ex_trivially_equal(), e, and i.

bool GiNaC::const_iterator::operator!= ( const const_iterator other) const throw () [inline]

Definition at line 449 of file ex.h.

bool GiNaC::const_iterator::operator< ( const const_iterator other) const throw () [inline]

Definition at line 454 of file ex.h.

References i.

bool GiNaC::const_iterator::operator> ( const const_iterator other) const throw () [inline]

Definition at line 459 of file ex.h.

bool GiNaC::const_iterator::operator<= ( const const_iterator other) const throw () [inline]

Definition at line 464 of file ex.h.

bool GiNaC::const_iterator::operator>= ( const const_iterator other) const throw () [inline]

Definition at line 469 of file ex.h.


Friends And Related Function Documentation

friend class ex [friend]

Definition at line 356 of file ex.h.

Referenced by operator->().

friend class const_preorder_iterator [friend]

Definition at line 357 of file ex.h.

friend class const_postorder_iterator [friend]

Definition at line 358 of file ex.h.

const_iterator operator+ ( difference_type  n,
const const_iterator it 
) throw () [friend]

Definition at line 410 of file ex.h.

difference_type operator- ( const const_iterator lhs,
const const_iterator rhs 
) throw () [friend]

Definition at line 439 of file ex.h.


Member Data Documentation

Definition at line 475 of file ex.h.

Referenced by operator*(), operator+(), operator-(), operator==(), and operator[]().

size_t GiNaC::const_iterator::i [protected]

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

This page is part of the GiNaC developer's reference. It was generated automatically by doxygen. For an introduction, see the tutorial.