![]() |
OpendTect
6.3
|
Iterator on Ref Nodes. More...
Public Types | |
| enum | Pol { All, Leaves, AllNodes, LeavedNodes, NodesOnly } |
Public Member Functions | |
| UnitRefIter (const NodeUnitRef &, Pol p=All) | |
| UnitRefIter (const UnitRefIter &uri) | |
| UnitRefIter & | operator= (const UnitRefIter &) |
| void | reset () |
| bool | next () |
| UnitRef * | unit () |
| const UnitRef * | unit () const |
| Pol | pol () const |
| void | setPol (Pol p) |
| Interval< int > | levelRange () const |
Static Public Member Functions | |
| static Pol | polOf (UnitRef::Type) |
| static Pol | polOf (const UnitRef *) |
| static bool | isValid (const UnitRef &, Pol) |
Protected Member Functions | |
| UnitRef * | gtUnit () const |
| bool | toNext () |
Protected Attributes | |
| Pol | pol_ |
| NodeUnitRef * | itnode_ |
| NodeUnitRef * | curnode_ |
| int | curidx_ |
Iterator on Ref Nodes.
When constructed, returns unit itself (regardless of Pol). First next() goes to first (valid) unit.
| Strat::UnitRefIter::UnitRefIter | ( | const NodeUnitRef & | , |
| Pol | p = All |
||
| ) |
|
inline |
|
protected |
| Interval<int> Strat::UnitRefIter::levelRange | ( | ) | const |
| bool Strat::UnitRefIter::next | ( | ) |
| UnitRefIter& Strat::UnitRefIter::operator= | ( | const UnitRefIter & | ) |
|
inline |
|
static |
| void Strat::UnitRefIter::reset | ( | ) |
|
inline |
|
protected |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017