Cadabra
Computer algebra system for field theory problems
|
An iterator which iterates over indices even if they are at lower levels, i.e.
taking into account the "Inherit" property of nodes. Needs access to Properties in the current scope in order to determine which objects are indices.
#include <IndexIterator.hh>
Public Member Functions | |
index_iterator (const Properties &) | |
index_iterator (const index_iterator &) | |
index_iterator & | operator= (const index_iterator &) |
bool | operator== (const index_iterator &) const |
bool | operator!= (const index_iterator &) const |
index_iterator & | operator++ () |
index_iterator | operator++ (int) |
index_iterator & | operator+= (unsigned int) |
Static Public Member Functions | |
static index_iterator | create (const Properties &, const iterator_base &) |
static index_iterator | begin (const Properties &, const iterator_base &, int offset=0) |
static index_iterator | end (const Properties &, const iterator_base &) |
Public Attributes | |
Ex::iterator | halt |
Ex::iterator | walk |
Ex::iterator | roof |
Private Member Functions | |
bool | is_index (Ex::iterator) const |
Private Attributes | |
const Properties * | properties |
index_iterator::index_iterator | ( | const Properties & | k | ) |
index_iterator::index_iterator | ( | const index_iterator & | other | ) |
|
static |
|
static |
|
static |
|
private |
bool index_iterator::operator!= | ( | const index_iterator & | other | ) | const |
index_iterator & index_iterator::operator++ | ( | ) |
index_iterator cadabra::index_iterator::operator++ | ( | int | ) |
index_iterator & index_iterator::operator+= | ( | unsigned int | num | ) |
index_iterator & index_iterator::operator= | ( | const index_iterator & | other | ) |
bool index_iterator::operator== | ( | const index_iterator & | other | ) | const |
Ex::iterator cadabra::index_iterator::halt |
|
private |
Ex::iterator cadabra::index_iterator::roof |
Ex::iterator cadabra::index_iterator::walk |