| 
    BornAgain
    1.18.0
    
   Simulate and fit neutron and x-ray scattering at grazing incidence 
   | 
 
Iterator through INode tree of objects. More...
Public Member Functions | |
| NodeIterator (const INode *root) | |
| void | first () | 
| void | next () | 
| const INode * | getCurrent () | 
| bool | isDone () const | 
| int | depth () const | 
Protected Attributes | |
| Strategy | m_strategy | 
| IteratorMemento | m_memento_itor | 
| const INode * | mp_root | 
Iterator through INode tree of objects.
Usage example: SampleTreeIterator<Strategy> it(&sample); it.first(); while( !it.is_done() ) { INode *p_sample = it.get_current(); it.next(); }
Definition at line 89 of file NodeIterator.h.