![]() |
OpendTect-6_4
6.4
|
Reference data for a stratigraphic unit. More...
Public Types | |
| enum | Type { NodeOnly, Leaved, Leaf } |
Public Member Functions | |
| mDeclareEnumUtils (Type) UnitRef(NodeUnitRef * | |
| virtual | ~UnitRef () |
| virtual Type | type () const =0 |
| virtual bool | isEmpty () const |
| virtual bool | isUndef () const |
| virtual bool | hasChildren () const =0 |
| bool | isLeaf () const |
| bool | isLeaved () const |
| CompoundKey | fullCode () const |
| CompoundKey | parentCode () const |
| virtual const OD::String & | code () const =0 |
| virtual void | setCode (const char *) |
| const OD::String & | description () const |
| virtual void | setDescription (const char *d) |
| Color | color () const |
| void | setColor (Color) |
| IOPar & | pars () |
| const IOPar & | pars () const |
| NodeUnitRef * | upNode (int skip=0) |
| const NodeUnitRef * | upNode (int skip=0) const |
| void | setUpNode (NodeUnitRef *newpar) |
| NodeUnitRef * | topNode () |
| const NodeUnitRef * | topNode () const |
| RefTree & | refTree () |
| const RefTree & | refTree () const |
| virtual bool | isParentOf (const UnitRef &) const |
| virtual int | level () const =0 |
| virtual const LeafUnitRef * | firstLeaf () const =0 |
| int | treeDepth () const |
| bool | isBelow (const UnitRef *) const |
| is given ref parent, grandparent, grandgrand... More... | |
| bool | precedes (const UnitRef &) const |
| in terms of iterating through tree More... | |
| virtual void | fill (BufferString &bs) const |
| virtual void | use (const char *s) |
| virtual void | getPropsFrom (const IOPar &) |
| virtual void | putPropsTo (IOPar &) const |
Public Member Functions inherited from CallBacker | |
| CallBacker () | |
| CallBacker (const CallBacker &) | |
| virtual | ~CallBacker () |
| bool | attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false) |
| bool | attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) |
| void | detachCB (NotifierAccess &, const CallBack &) |
| void | detachCB (NotifierAccess *notif, const CallBack &cb) |
| bool | isNotifierAttached (NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
Static Public Member Functions | |
| static const char * | sKeyPropsFor () |
| static const char * | sKeyTreeProps () |
Public Attributes | |
| const char * | d =0) |
| Notifier< UnitRef > | changed |
| Notifier< UnitRef > | toBeDeleted |
Protected Member Functions | |
| void | doFill (BufferString &, int) const |
| void | doUse (const char *, int *) |
| void | notifChange (bool isrem=false) |
Protected Member Functions inherited from CallBacker | |
| void | detachAllNotifiers () |
| Call from the destructor of your inherited object. More... | |
Protected Attributes | |
| NodeUnitRef * | upnode_ |
| BufferString | desc_ |
| Color | color_ |
| IOPar | pars_ |
Friends | |
| class | NodeUnitRef |
Reference data for a stratigraphic unit.
Every stratigraphy is a tree of units. A stratigraphy consists of reference units - every part of the subsurface can be attached to a reference unit.
| enum Strat::UnitRef::Type |
|
virtual |
|
pure virtual |
Implemented in Strat::LeafUnitRef, and Strat::NodeUnitRef.
|
inline |
|
inline |
|
protected |
|
protected |
|
inlinevirtual |
Reimplemented in Strat::LeafUnitRef, and Strat::LeavedUnitRef.
|
pure virtual |
Implemented in Strat::LeafUnitRef, Strat::LeavedUnitRef, and Strat::NodeOnlyUnitRef.
| CompoundKey Strat::UnitRef::fullCode | ( | ) | const |
|
virtual |
Reimplemented in Strat::LeafUnitRef, and Strat::NodeUnitRef.
|
pure virtual |
Implemented in Strat::LeafUnitRef, and Strat::NodeUnitRef.
| bool Strat::UnitRef::isBelow | ( | const UnitRef * | ) | const |
is given ref parent, grandparent, grandgrand...
|
inlinevirtual |
Reimplemented in Strat::NodeUnitRef.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in Strat::NodeUnitRef.
|
inlinevirtual |
Reimplemented in Strat::LeafUnitRef.
|
pure virtual |
Implemented in Strat::LeafUnitRef, Strat::NodeUnitRef, and Strat::RefTree.
| Strat::UnitRef::mDeclareEnumUtils | ( | Type | ) |
|
protected |
| CompoundKey Strat::UnitRef::parentCode | ( | ) | const |
|
inline |
|
inline |
| bool Strat::UnitRef::precedes | ( | const UnitRef & | ) | const |
in terms of iterating through tree
|
virtual |
Reimplemented in Strat::NodeUnitRef.
| RefTree& Strat::UnitRef::refTree | ( | ) |
| const RefTree& Strat::UnitRef::refTree | ( | ) | const |
|
inlinevirtual |
Reimplemented in Strat::NodeUnitRef.
| void Strat::UnitRef::setColor | ( | Color | ) |
|
inlinevirtual |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
| int Strat::UnitRef::treeDepth | ( | ) | const |
|
pure virtual |
Implemented in Strat::LeafUnitRef, Strat::LeavedUnitRef, and Strat::NodeOnlyUnitRef.
| NodeUnitRef* Strat::UnitRef::upNode | ( | int | skip = 0 | ) |
|
inline |
|
inlinevirtual |
Reimplemented in Strat::LeafUnitRef, and Strat::LeavedUnitRef.
|
friend |
|
protected |
| const char* Strat::UnitRef::d =0) |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019