BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
IteratorState (const INode *single_element) | |
IteratorState (std::vector< const INode * > samples) | |
virtual | ~IteratorState () |
const INode * | getCurrent () const |
bool | isEnd () const |
void | next () |
Private Member Functions | |
IteratorState () | |
Private Attributes | |
std::vector< const INode * > | m_samples |
size_t | m_position |
Friends | |
std::ostream & | operator<< (std::ostream &output_stream, IteratorState const &iterator_state) |
Holds state of iterator at single level for SampleTreeIterator.
Definition at line 26 of file NodeIterator.h.
IteratorState::IteratorState | ( | const INode * | single_element | ) |
IteratorState::IteratorState | ( | std::vector< const INode * > | samples | ) |
Definition at line 22 of file NodeIterator.cpp.
|
inlinevirtual |
Definition at line 32 of file NodeIterator.h.
|
private |
|
inline |
|
inline |
Definition at line 35 of file NodeIterator.h.
References m_position, and m_samples.
Referenced by PreorderStrategy::next(), and PostorderStrategy::next().
|
inline |
|
friend |
Definition at line 38 of file NodeIterator.h.
|
private |
Definition at line 46 of file NodeIterator.h.
Referenced by getCurrent(), isEnd(), and IteratorState().
|
private |
Definition at line 47 of file NodeIterator.h.
Referenced by getCurrent(), isEnd(), and next().