OpendTect
7.0
|
Reference data for a stratigraphic unit. More...
Public Types | |
enum | Type { NodeOnly , Leaved , Leaf } |
Public Member Functions | |
UnitRef (NodeUnitRef *, const char *d=nullptr) | |
virtual | ~UnitRef () |
virtual const OD::String & | code () const =0 |
OD::Color | color () const |
const OD::String & | description () const |
virtual void | fill (BufferString &bs) const |
virtual const LeafUnitRef * | firstLeaf () const =0 |
CompoundKey | fullCode () const |
virtual void | getPropsFrom (const IOPar &) |
virtual bool | hasChildren () const =0 |
bool | isBelow (const UnitRef *) const |
is given ref parent, grandparent, grandgrand... More... | |
virtual bool | isEmpty () const |
bool | isLeaf () const |
bool | isLeaved () const |
virtual bool | isParentOf (const UnitRef &) const |
virtual bool | isUndef () const |
virtual int | level () const =0 |
CompoundKey | parentCode () const |
IOPar & | pars () |
const IOPar & | pars () const |
bool | precedes (const UnitRef &) const |
in terms of iterating through tree More... | |
virtual void | putPropsTo (IOPar &) const |
RefTree & | refTree () |
const RefTree & | refTree () const |
virtual void | setCode (const char *) |
void | setColor (OD::Color) |
virtual void | setDescription (const char *d) |
void | setUpNode (NodeUnitRef *newpar) |
NodeUnitRef * | topNode () |
const NodeUnitRef * | topNode () const |
int | treeDepth () const |
virtual Type | type () const =0 |
NodeUnitRef * | upNode (int skip=0) |
const NodeUnitRef * | upNode (int skip=0) const |
virtual void | use (const char *s) |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Static Public Member Functions | |
static const char * | sKeyPropsFor () |
static const char * | sKeyTreeProps () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
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 Attributes | |
OD::Color | color_ |
BufferString | desc_ |
IOPar | pars_ |
NodeUnitRef * | upnode_ |
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 |
Strat::UnitRef::UnitRef | ( | NodeUnitRef * | , |
const char * | d = nullptr |
||
) |
|
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.
|
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 | ( | OD::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 |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024