OpendTect-6_4  6.4
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 Type type () const
 
virtual bool hasLeaves () const
 
Level::ID levelID () const
 
void setLevelID (Level::ID)
 
virtual int nrLeaves () const
 
virtual const LeafUnitReffirstLeaf () const
 
LeafUnitRefgetLeaf (int)
 
const LeafUnitRefgetLeaf (int i) const
 
LeafUnitRefgetLeaf (const Lithology &)
 
const LeafUnitRefgetLeaf (const Lithology &l) const
 
- Public Member Functions inherited from Strat::NodeUnitRef
 NodeUnitRef (NodeUnitRef *, const char *, const char *d=0)
 
 ~NodeUnitRef ()
 
void setEmpty ()
 
virtual bool isEmpty () const
 
virtual bool hasChildren () const
 
virtual const OD::Stringcode () const
 
virtual void setCode (const char *c)
 
virtual Interval< float > timeRange () const
 
virtual void setTimeRange (const Interval< float > &)
 
void incTimeRange (const Interval< float > &)
 
int nrRefs () const
 
UnitRefref (int idx)
 
const UnitRefref (int idx) const
 
int indexOf (const UnitRef *ur) const
 
virtual bool isParentOf (const UnitRef &) const
 
UnitReffind (const char *urcode)
 
const UnitReffind (const char *urcode) const
 
virtual int level () const
 
virtual bool add (UnitRef *, bool rev=false)
 
virtual bool insert (UnitRef *, int posidx)
 
virtual UnitRefreplace (int uridx, UnitRef *)
 
void swapChildren (int, int)
 
void remove (int uridx)
 
void remove (const UnitRef *ur)
 
void removeAllChildren ()
 
virtual void getPropsFrom (const IOPar &)
 
virtual void putPropsTo (IOPar &) const
 
- Public Member Functions inherited from Strat::UnitRef
 mDeclareEnumUtils (Type) UnitRef(NodeUnitRef *
 
virtual ~UnitRef ()
 
virtual bool isUndef () const
 
bool isLeaf () const
 
bool isLeaved () const
 
CompoundKey fullCode () const
 
CompoundKey parentCode () const
 
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
 
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...
 
- 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::NodeUnitRef
UnitReffnd (const char *) const
 
void takeChildrenFrom (NodeUnitRef *)
 
void changeTimeRange (float dtime)
 
- 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

Level::ID levelid_
 
- Protected Attributes inherited from Strat::NodeUnitRef
ObjectSet< UnitRefrefs_
 
Interval< float > timerg_
 
BufferString code_
 
- 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 units containing Leaf units only.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Reimplemented from Strat::UnitRef.

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

Implements Strat::UnitRef.

LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( int  )
const LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( int  i) const
inline
LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( const Lithology )
const LeafUnitRef* Strat::LeavedUnitRef::getLeaf ( const Lithology l) const
inline
virtual bool Strat::LeavedUnitRef::hasLeaves ( ) const
inlinevirtual

Implements Strat::NodeUnitRef.

Level::ID Strat::LeavedUnitRef::levelID ( ) const
inline
virtual int Strat::LeavedUnitRef::nrLeaves ( ) const
inlinevirtual

Reimplemented from Strat::NodeUnitRef.

void Strat::LeavedUnitRef::setLevelID ( Level::ID  )
virtual Type Strat::LeavedUnitRef::type ( ) const
inlinevirtual

Implements Strat::UnitRef.

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

Reimplemented from Strat::UnitRef.

Member Data Documentation

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

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