OpendTect
7.0
|
UnitRef for units containing other units only. More...
Public Member Functions | |
NodeUnitRef (NodeUnitRef *, const char *, const char *d=nullptr) | |
~NodeUnitRef () | |
virtual bool | add (UnitRef *, bool rev=false) |
const OD::String & | code () const override |
UnitRef * | find (const char *urcode) |
const UnitRef * | find (const char *urcode) const |
void | getPropsFrom (const IOPar &) override |
bool | hasChildren () const override |
virtual bool | hasLeaves () const =0 |
void | incTimeRange (const Interval< float > &) |
int | indexOf (const UnitRef *ur) const |
virtual bool | insert (UnitRef *, int posidx) |
bool | isEmpty () const override |
bool | isParentOf (const UnitRef &) const override |
int | level () const override |
virtual int | nrLeaves () const |
int | nrRefs () const |
void | putPropsTo (IOPar &) const override |
UnitRef & | ref (int idx) |
const UnitRef & | ref (int idx) const |
void | remove (const UnitRef *ur) |
void | remove (int uridx) |
virtual UnitRef * | replace (int uridx, UnitRef *) |
void | setCode (const char *c) override |
void | setEmpty () |
virtual void | setTimeRange (const Interval< float > &) |
void | swapChildren (int, int) |
virtual Interval< float > | timeRange () const |
Public Member Functions inherited from Strat::UnitRef | |
UnitRef (NodeUnitRef *, const char *d=nullptr) | |
virtual | ~UnitRef () |
OD::Color | color () const |
const OD::String & | description () const |
virtual void | fill (BufferString &bs) const |
virtual const LeafUnitRef * | firstLeaf () const =0 |
CompoundKey | fullCode () const |
bool | isBelow (const UnitRef *) const |
is given ref parent, grandparent, grandgrand... More... | |
bool | isLeaf () const |
bool | isLeaved () const |
virtual bool | isUndef () const |
CompoundKey | parentCode () const |
IOPar & | pars () |
const IOPar & | pars () const |
bool | precedes (const UnitRef &) const |
in terms of iterating through tree More... | |
RefTree & | refTree () |
const RefTree & | refTree () const |
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 () |
Protected Member Functions | |
void | changeTimeRange (float dtime) |
UnitRef * | fnd (const char *) const |
void | takeChildrenFrom (NodeUnitRef *) |
Protected Member Functions inherited from Strat::UnitRef | |
void | doFill (BufferString &, int) const |
void | doUse (const char *, int *) |
void | notifChange (bool isrem=false) |
Protected Attributes | |
BufferString | code_ |
ObjectSet< UnitRef > | refs_ |
Interval< float > | timerg_ |
Protected Attributes inherited from Strat::UnitRef | |
OD::Color | color_ |
BufferString | desc_ |
IOPar | pars_ |
NodeUnitRef * | upnode_ |
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 () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes inherited from Strat::UnitRef | |
Notifier< UnitRef > | changed |
Notifier< UnitRef > | toBeDeleted |
UnitRef for units containing other units only.
<>
Strat::NodeUnitRef::NodeUnitRef | ( | NodeUnitRef * | , |
const char * | , | ||
const char * | d = nullptr |
||
) |
Strat::NodeUnitRef::~NodeUnitRef | ( | ) |
|
virtual |
|
protected |
|
inlineoverridevirtual |
Implements Strat::UnitRef.
|
inline |
|
inline |
|
protected |
|
overridevirtual |
Reimplemented from Strat::UnitRef.
|
inlineoverridevirtual |
Implements Strat::UnitRef.
|
pure virtual |
Implemented in Strat::LeavedUnitRef, and Strat::NodeOnlyUnitRef.
void Strat::NodeUnitRef::incTimeRange | ( | const Interval< float > & | ) |
|
inline |
|
virtual |
|
inlineoverridevirtual |
Reimplemented from Strat::UnitRef.
|
overridevirtual |
Reimplemented from Strat::UnitRef.
|
inlineoverridevirtual |
Implements Strat::UnitRef.
|
virtual |
Reimplemented in Strat::LeavedUnitRef.
|
inline |
|
overridevirtual |
Reimplemented from Strat::UnitRef.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
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. 1995-2024