OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Strat::LeafUnitRef Class Reference

UnitRef for layers. More...

Inheritance diagram for Strat::LeafUnitRef:
[legend]

Public Member Functions

 LeafUnitRef (NodeUnitRef *, int lithid=-1, const char *desc=0)
 
virtual const OD::Stringcode () const
 
Color dispColor (bool lith_else_upnode) const
 
virtual const LeafUnitReffirstLeaf () const
 
const LithologygetLithology () const
 
virtual void getPropsFrom (const IOPar &)
 
virtual bool hasChildren () const
 
virtual bool isUndef () const
 
virtual int level () const
 
int lithology () const
 
void setLithology (int)
 
virtual Type type () 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...
 
virtual bool isEmpty () const
 
bool isLeaf () const
 
bool isLeaved () const
 
virtual bool isParentOf (const UnitRef &) const
 
CompoundKey parentCode () const
 
IOParpars ()
 
const IOParpars () const
 
bool precedes (const UnitRef &) const
 in terms of iterating through tree More...
 
virtual void putPropsTo (IOPar &) const
 
RefTreerefTree ()
 
const RefTreerefTree () const
 
virtual void setCode (const char *)
 
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::UnitRef
void doFill (BufferString &, int) const
 
void doUse (const char *, int *)
 
void notifChange (bool isrem=false)
 

Protected Attributes

int lith_
 
- 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 layers.

<>

Constructor & Destructor Documentation

◆ LeafUnitRef()

Strat::LeafUnitRef::LeafUnitRef ( NodeUnitRef ,
int  lithid = -1,
const char *  desc = 0 
)

Member Function Documentation

◆ code()

virtual const OD::String& Strat::LeafUnitRef::code ( ) const
virtual

Implements Strat::UnitRef.

◆ dispColor()

Color Strat::LeafUnitRef::dispColor ( bool  lith_else_upnode) const

◆ fill()

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

Reimplemented from Strat::UnitRef.

◆ firstLeaf()

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

Implements Strat::UnitRef.

◆ getLithology()

const Lithology& Strat::LeafUnitRef::getLithology ( ) const

◆ getPropsFrom()

virtual void Strat::LeafUnitRef::getPropsFrom ( const IOPar )
virtual

Reimplemented from Strat::UnitRef.

◆ hasChildren()

virtual bool Strat::LeafUnitRef::hasChildren ( ) const
inlinevirtual

Implements Strat::UnitRef.

◆ isUndef()

virtual bool Strat::LeafUnitRef::isUndef ( ) const
virtual

Reimplemented from Strat::UnitRef.

◆ level()

virtual int Strat::LeafUnitRef::level ( ) const
inlinevirtual

Implements Strat::UnitRef.

◆ lithology()

int Strat::LeafUnitRef::lithology ( ) const
inline

◆ setLithology()

void Strat::LeafUnitRef::setLithology ( int  )

◆ type()

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

Implements Strat::UnitRef.

◆ use()

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

Reimplemented from Strat::UnitRef.

Member Data Documentation

◆ lith_

int Strat::LeafUnitRef::lith_
protected

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