BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
PreorderStrategy () | |
virtual PreorderStrategy * | clone () const |
virtual IteratorMemento | first (const INode *p_root) |
virtual void | next (IteratorMemento &iterator_stack) const |
virtual bool | isDone (IteratorMemento &iterator_stack) const |
Traverse tree; visit parents before their children.
Definition at line 36 of file IterationStrategy.h.
|
default |
Referenced by clone().
|
virtual |
Implements IterationStrategy.
Definition at line 21 of file IterationStrategy.cpp.
References PreorderStrategy().
|
virtual |
Implements IterationStrategy.
Definition at line 26 of file IterationStrategy.cpp.
References IteratorMemento::push_state().
|
virtual |
Implements IterationStrategy.
Definition at line 33 of file IterationStrategy.cpp.
References ASSERT, IteratorMemento::empty(), IteratorMemento::get_state(), INode::getChildren(), IteratorMemento::getCurrent(), IteratorState::isEnd(), IteratorMemento::next(), IteratorMemento::pop_state(), and IteratorMemento::push_state().
|
virtual |
Implements IterationStrategy.
Definition at line 50 of file IterationStrategy.cpp.
References IteratorMemento::empty().