OpendTect  6.6
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=0)
 
virtual const LeafUnitReffirstLeaf () const
 
LeafUnitRefgetLeaf (const Lithology &)
 
const LeafUnitRefgetLeaf (const Lithology &l) const
 
const LeafUnitRefgetLeaf (int i) const
 
LeafUnitRefgetLeaf (int)
 
virtual bool hasLeaves () const
 
Level::ID levelID () const
 
virtual int nrLeaves () const
 
void setLevelID (Level::ID)
 
virtual Type type () const
 
- Public Member Functions inherited from Strat::NodeUnitRef
 NodeUnitRef (NodeUnitRef *, const char *, const char *d=0)
 
 ~NodeUnitRef ()
 
virtual bool add (UnitRef *, bool rev=false)
 
virtual const OD::Stringcode () const
 
UnitReffind (const char *urcode)
 
const UnitReffind (const char *urcode) const
 
virtual void getPropsFrom (const IOPar &)
 
virtual bool hasChildren () const
 
void incTimeRange (const Interval< float > &)
 
int indexOf (const UnitRef *ur) const
 
virtual bool insert (UnitRef *, int posidx)
 
virtual bool isEmpty () const
 
virtual bool isParentOf (const UnitRef &) const
 
virtual int level () const
 
int nrRefs () const
 
virtual void putPropsTo (IOPar &) const
 
UnitRefref (int idx)
 
const UnitRefref (int idx) const
 
void remove (const UnitRef *ur)
 
void remove (int uridx)
 
void removeAllChildren ()
 
virtual UnitRefreplace (int uridx, UnitRef *)
 
virtual void setCode (const char *c)
 
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=0)
 
virtual ~UnitRef ()
 
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 (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
 

Protected Member Functions

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

Level::ID levelid_
 
- Protected Attributes inherited from Strat::NodeUnitRef
BufferString code_
 
ObjectSet< UnitRefrefs_
 
Interval< float > timerg_
 
- Protected Attributes inherited from Strat::UnitRef
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 = 0 
)
inline

Member Function Documentation

◆ fill()

virtual void Strat::LeavedUnitRef::fill ( BufferString bs) const
inlineprotectedvirtual

Reimplemented from Strat::UnitRef.

◆ firstLeaf()

virtual const LeafUnitRef* Strat::LeavedUnitRef::firstLeaf ( ) const
inlinevirtual

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()

virtual bool Strat::LeavedUnitRef::hasLeaves ( ) const
inlinevirtual

Implements Strat::NodeUnitRef.

◆ levelID()

Level::ID Strat::LeavedUnitRef::levelID ( ) const
inline

◆ nrLeaves()

virtual int Strat::LeavedUnitRef::nrLeaves ( ) const
inlinevirtual

Reimplemented from Strat::NodeUnitRef.

◆ setLevelID()

void Strat::LeavedUnitRef::setLevelID ( Level::ID  )

◆ type()

virtual Type Strat::LeavedUnitRef::type ( ) const
inlinevirtual

Implements Strat::UnitRef.

◆ use()

virtual void Strat::LeavedUnitRef::use ( const char *  s)
inlineprotectedvirtual

Reimplemented from Strat::UnitRef.

Member Data Documentation

◆ levelid_

Level::ID Strat::LeavedUnitRef::levelid_
protected

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