OpendTect
7.0
|
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 &) | |
~UnitRefIter () | |
Interval< int > | levelRange () const |
bool | next () |
UnitRefIter & | operator= (const UnitRefIter &) |
Pol | pol () const |
void | reset () |
void | setPol (Pol p) |
UnitRef * | unit () |
const UnitRef * | unit () const |
Static Public Member Functions | |
static bool | isValid (const UnitRef &, Pol) |
static Pol | polOf (const UnitRef *) |
static Pol | polOf (UnitRef::Type) |
Protected Member Functions | |
UnitRef * | gtUnit () const |
bool | toNext () |
Protected Attributes | |
int | curidx_ |
NodeUnitRef * | curnode_ |
NodeUnitRef * | itnode_ |
Pol | pol_ |
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 |
||
) |
Strat::UnitRefIter::UnitRefIter | ( | const UnitRefIter & | ) |
Strat::UnitRefIter::~UnitRefIter | ( | ) |
|
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. 1995-2024