OpendTect  7.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Strat::LeavedUnitRef Class Reference

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

Inheritance diagram for Strat::LeavedUnitRef:
[legend]

Public Member Functions

 LeavedUnitRef (NodeUnitRef *up, const char *c, const char *d=nullptr)
 
 ~LeavedUnitRef ()
 
const LeafUnitReffirstLeaf () const override
 
LeafUnitRefgetLeaf (const Lithology &)
 
const LeafUnitRefgetLeaf (const Lithology &l) const
 
const LeafUnitRefgetLeaf (int i) const
 
LeafUnitRefgetLeaf (int)
 
bool hasLeaves () const override
 
LevelID levelID () const
 
int nrLeaves () const override
 
void setLevelID (LevelID)
 
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
 
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
 
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
 
- 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 ()
 

Protected Member Functions

void fill (BufferString &bs) const override
 
void use (const char *) override
 
- 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

LevelID levelid_
 
- 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_
 

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
 

Detailed Description

UnitRef for units containing Leaf units only.

<>

Constructor & Destructor Documentation

◆ LeavedUnitRef()

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

◆ ~LeavedUnitRef()

Strat::LeavedUnitRef::~LeavedUnitRef ( )

Member Function Documentation

◆ fill()

void Strat::LeavedUnitRef::fill ( BufferString bs) const
inlineoverrideprotectedvirtual

Reimplemented from Strat::UnitRef.

◆ firstLeaf()

const LeafUnitRef* Strat::LeavedUnitRef::firstLeaf ( ) const
inlineoverridevirtual

Implements Strat::UnitRef.

◆ getLeaf() [1/4]

LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( const Lithology )

◆ getLeaf() [2/4]

const LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( const Lithology l) const
inline

◆ getLeaf() [3/4]

const LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( int  i) const
inline

◆ getLeaf() [4/4]

LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( int  )

◆ hasLeaves()

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

Implements Strat::NodeUnitRef.

◆ levelID()

LevelID Strat::LeavedUnitRef::levelID ( ) const
inline

◆ nrLeaves()

int Strat::LeavedUnitRef::nrLeaves ( ) const
inlineoverridevirtual

Reimplemented from Strat::NodeUnitRef.

◆ setLevelID()

void Strat::LeavedUnitRef::setLevelID ( LevelID  )

◆ type()

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

Implements Strat::UnitRef.

◆ use()

void Strat::LeavedUnitRef::use ( const char *  )
overrideprotectedvirtual

Reimplemented from Strat::UnitRef.

Member Data Documentation

◆ levelid_

LevelID Strat::LeavedUnitRef::levelid_
protected

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