OpendTect  7.0
Public Member Functions | List of all members
Strat::NodeOnlyUnitRef Class Reference

UnitRef for units containing non-Leaf units only. More...

Inheritance diagram for Strat::NodeOnlyUnitRef:
[legend]

Public Member Functions

 NodeOnlyUnitRef (NodeUnitRef *up, const char *c, const char *d=nullptr)
 
 ~NodeOnlyUnitRef ()
 
void ensureTimeSorted ()
 
const LeafUnitReffirstLeaf () const override
 
bool hasLeaves () const override
 
Type type () const override
 
- Public Member Functions inherited from Strat::NodeUnitRef
 NodeUnitRef (NodeUnitRef *, const char *, const char *d=nullptr)
 
 ~NodeUnitRef ()
 
virtual bool add (UnitRef *, bool rev=false)
 
const OD::Stringcode () const override
 
UnitReffind (const char *urcode)
 
const UnitReffind (const char *urcode) const
 
void getPropsFrom (const IOPar &) override
 
bool hasChildren () const override
 
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
 
UnitRefref (int idx)
 
const UnitRefref (int idx) const
 
void remove (const UnitRef *ur)
 
void remove (int uridx)
 
virtual UnitRefreplace (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::Stringdescription () const
 
virtual void fill (BufferString &bs) const
 
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
 
IOParpars ()
 
const IOParpars () const
 
bool precedes (const UnitRef &) const
 in terms of iterating through tree More...
 
RefTreerefTree ()
 
const RefTreerefTree () const
 
void setColor (OD::Color)
 
virtual void setDescription (const char *d)
 
void setUpNode (NodeUnitRef *newpar)
 
NodeUnitReftopNode ()
 
const NodeUnitReftopNode () const
 
int treeDepth () const
 
NodeUnitRefupNode (int skip=0)
 
const NodeUnitRefupNode (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 CallBackertrueCaller ()
 

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< UnitRefchanged
 
Notifier< UnitReftoBeDeleted
 
- Protected Member Functions inherited from Strat::NodeUnitRef
void changeTimeRange (float dtime)
 
UnitReffnd (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 inherited from Strat::NodeUnitRef
BufferString code_
 
ObjectSet< UnitRefrefs_
 
Interval< float > timerg_
 
- Protected Attributes inherited from Strat::UnitRef
OD::Color color_
 
BufferString desc_
 
IOPar pars_
 
NodeUnitRefupnode_
 

Detailed Description

UnitRef for units containing non-Leaf units only.

<>

Constructor & Destructor Documentation

◆ NodeOnlyUnitRef()

Strat::NodeOnlyUnitRef::NodeOnlyUnitRef ( NodeUnitRef up,
const char *  c,
const char *  d = nullptr 
)

◆ ~NodeOnlyUnitRef()

Strat::NodeOnlyUnitRef::~NodeOnlyUnitRef ( )

Member Function Documentation

◆ ensureTimeSorted()

void Strat::NodeOnlyUnitRef::ensureTimeSorted ( )

◆ firstLeaf()

const LeafUnitRef* Strat::NodeOnlyUnitRef::firstLeaf ( ) const
overridevirtual

Implements Strat::UnitRef.

◆ hasLeaves()

bool Strat::NodeOnlyUnitRef::hasLeaves ( ) const
inlineoverridevirtual

Implements Strat::NodeUnitRef.

◆ type()

Type Strat::NodeOnlyUnitRef::type ( ) const
inlineoverridevirtual

Implements Strat::UnitRef.


Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024