![]() |
OpendTect-6_4
6.4
|
UnitRef for units containing other units only. More...
Public Member Functions | |
| NodeUnitRef (NodeUnitRef *, const char *, const char *d=0) | |
| ~NodeUnitRef () | |
| void | setEmpty () |
| virtual bool | isEmpty () const |
| virtual bool | hasChildren () const |
| virtual bool | hasLeaves () const =0 |
| virtual const OD::String & | code () const |
| virtual void | setCode (const char *c) |
| virtual Interval< float > | timeRange () const |
| virtual void | setTimeRange (const Interval< float > &) |
| void | incTimeRange (const Interval< float > &) |
| int | nrRefs () const |
| UnitRef & | ref (int idx) |
| const UnitRef & | ref (int idx) const |
| int | indexOf (const UnitRef *ur) const |
| virtual bool | isParentOf (const UnitRef &) const |
| UnitRef * | find (const char *urcode) |
| const UnitRef * | find (const char *urcode) const |
| virtual int | nrLeaves () const |
| virtual int | level () const |
| virtual bool | add (UnitRef *, bool rev=false) |
| virtual bool | insert (UnitRef *, int posidx) |
| virtual UnitRef * | replace (int uridx, UnitRef *) |
| void | swapChildren (int, int) |
| void | remove (int uridx) |
| void | remove (const UnitRef *ur) |
| void | removeAllChildren () |
| virtual void | getPropsFrom (const IOPar &) |
| virtual void | putPropsTo (IOPar &) const |
Public Member Functions inherited from Strat::UnitRef | |
| mDeclareEnumUtils (Type) UnitRef(NodeUnitRef * | |
| virtual | ~UnitRef () |
| virtual Type | type () const =0 |
| virtual bool | isUndef () const |
| bool | isLeaf () const |
| bool | isLeaved () const |
| CompoundKey | fullCode () const |
| CompoundKey | parentCode () const |
| 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 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) |
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... | |
Protected Member Functions | |
| UnitRef * | fnd (const char *) const |
| void | takeChildrenFrom (NodeUnitRef *) |
| void | changeTimeRange (float dtime) |
Protected Member Functions inherited from Strat::UnitRef | |
| 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 | |
| ObjectSet< UnitRef > | refs_ |
| Interval< float > | timerg_ |
| BufferString | code_ |
Protected Attributes inherited from Strat::UnitRef | |
| NodeUnitRef * | upnode_ |
| BufferString | desc_ |
| Color | color_ |
| IOPar | pars_ |
Friends | |
| class | RefTree |
Additional Inherited Members | |
Public Types inherited from Strat::UnitRef | |
| enum | Type { NodeOnly, Leaved, Leaf } |
Static Public Member Functions inherited from Strat::UnitRef | |
| static const char * | sKeyPropsFor () |
| static const char * | sKeyTreeProps () |
Public Attributes inherited from Strat::UnitRef | |
| const char * | d =0) |
| Notifier< UnitRef > | changed |
| Notifier< UnitRef > | toBeDeleted |
UnitRef for units containing other units only.
| Strat::NodeUnitRef::NodeUnitRef | ( | NodeUnitRef * | , |
| const char * | , | ||
| const char * | d = 0 |
||
| ) |
| Strat::NodeUnitRef::~NodeUnitRef | ( | ) |
|
virtual |
|
protected |
|
inlinevirtual |
Implements Strat::UnitRef.
|
inline |
|
inline |
|
protected |
|
virtual |
Reimplemented from Strat::UnitRef.
|
inlinevirtual |
Implements Strat::UnitRef.
|
pure virtual |
Implemented in Strat::LeavedUnitRef, and Strat::NodeOnlyUnitRef.
| void Strat::NodeUnitRef::incTimeRange | ( | const Interval< float > & | ) |
|
inline |
|
virtual |
|
inlinevirtual |
Reimplemented from Strat::UnitRef.
|
virtual |
Reimplemented from Strat::UnitRef.
|
inlinevirtual |
Implements Strat::UnitRef.
Reimplemented in Strat::RefTree.
|
virtual |
Reimplemented in Strat::LeavedUnitRef.
|
inline |
|
virtual |
Reimplemented from Strat::UnitRef.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented from Strat::UnitRef.
| void Strat::NodeUnitRef::setEmpty | ( | ) |
|
virtual |
| void Strat::NodeUnitRef::swapChildren | ( | int | , |
| int | |||
| ) |
|
protected |
|
inlinevirtual |
|
friend |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019