OpendTect-6_4  6.4
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 lithidx=-1, const char *desc=0)
 
virtual bool isUndef () const
 
virtual Type type () const
 
virtual bool hasChildren () const
 
virtual const OD::Stringcode () const
 
int lithology () const
 
void setLithology (int)
 
const LithologygetLithology () const
 
Color dispColor (bool lith_else_upnode) const
 
virtual int level () const
 
virtual const LeafUnitReffirstLeaf () const
 
virtual void getPropsFrom (const IOPar &)
 
- Public Member Functions inherited from Strat::UnitRef
 mDeclareEnumUtils (Type) UnitRef(NodeUnitRef *
 
virtual ~UnitRef ()
 
virtual bool isEmpty () const
 
bool isLeaf () const
 
bool isLeaved () const
 
CompoundKey fullCode () const
 
CompoundKey parentCode () const
 
virtual void setCode (const char *)
 
const OD::Stringdescription () const
 
virtual void setDescription (const char *d)
 
Color color () const
 
void setColor (Color)
 
IOParpars ()
 
const IOParpars () const
 
NodeUnitRefupNode (int skip=0)
 
const NodeUnitRefupNode (int skip=0) const
 
void setUpNode (NodeUnitRef *newpar)
 
NodeUnitReftopNode ()
 
const NodeUnitReftopNode () const
 
RefTreerefTree ()
 
const RefTreerefTree () const
 
virtual bool isParentOf (const UnitRef &) const
 
int treeDepth () const
 
bool isBelow (const UnitRef *) const
 is given ref parent, grandparent, grandgrand... More...
 
bool precedes (const UnitRef &) const
 in terms of iterating through tree More...
 
virtual void putPropsTo (IOPar &) const
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

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 Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

int lith_
 
- Protected Attributes inherited from Strat::UnitRef
NodeUnitRefupnode_
 
BufferString desc_
 
Color color_
 
IOPar pars_
 

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 ()
 
- Public Attributes inherited from Strat::UnitRef
const char * d =0)
 
Notifier< UnitRefchanged
 
Notifier< UnitReftoBeDeleted
 

Detailed Description

UnitRef for layers.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements Strat::UnitRef.

Color Strat::LeafUnitRef::dispColor ( bool  lith_else_upnode) const
virtual void Strat::LeafUnitRef::fill ( BufferString bs) const
inlineprotectedvirtual

Reimplemented from Strat::UnitRef.

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

Implements Strat::UnitRef.

const Lithology& Strat::LeafUnitRef::getLithology ( ) const
virtual void Strat::LeafUnitRef::getPropsFrom ( const IOPar )
virtual

Reimplemented from Strat::UnitRef.

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

Implements Strat::UnitRef.

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

Reimplemented from Strat::UnitRef.

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

Implements Strat::UnitRef.

int Strat::LeafUnitRef::lithology ( ) const
inline
void Strat::LeafUnitRef::setLithology ( int  )
virtual Type Strat::LeafUnitRef::type ( ) const
inlinevirtual

Implements Strat::UnitRef.

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

Reimplemented from Strat::UnitRef.

Member Data Documentation

int Strat::LeafUnitRef::lith_
protected

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