OpendTect-6_4
6.4
|
Public Member Functions | |
RefTree () | |
~RefTree () | |
Repos::Source | source () const |
LithologySet & | lithologies () |
const LithologySet & | lithologies () const |
ContentSet & | contents () |
const ContentSet & | contents () const |
const UnitRef * | notifUnit () const |
if null, assume everything has changed More... | |
const LeafUnitRef & | undefLeaf () const |
virtual int | level () const |
void | createFromLevelSet (const LevelSet &) |
keep contents and lithologies More... | |
const LeavedUnitRef * | getLevelSetUnit (const char *lvlnm) const |
void | addLevelUnit (const Level &) |
void | removeLevelUnit (const Level &) |
bool | read (od_istream &) |
bool | write (od_ostream &) const |
void | reportChange (const UnitRef *, bool isrem=false) |
void | reportAdd (const UnitRef *) |
bool | addLeavedUnit (const char *, const char *) |
Strat::LeavedUnitRef * | getByLevel (int lvlid) const |
Public Member Functions inherited from Strat::NodeOnlyUnitRef | |
NodeOnlyUnitRef (NodeUnitRef *up, const char *c, const char *d=0) | |
virtual bool | hasLeaves () const |
virtual Type | type () const |
virtual const LeafUnitRef * | firstLeaf () 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::String & | code () 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 |
UnitRef & | ref (int idx) |
const UnitRef & | ref (int idx) const |
int | indexOf (const UnitRef *ur) const |
virtual bool | isParentOf (const UnitRef &) const |
UnitRef * | find (const char *urcode) |
const UnitRef * | find (const char *urcode) const |
virtual int | nrLeaves () const |
virtual bool | add (UnitRef *, bool rev=false) |
virtual bool | insert (UnitRef *, int posidx) |
virtual UnitRef * | replace (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::String & | description () const |
virtual void | setDescription (const char *d) |
Color | color () const |
void | setColor (Color) |
IOPar & | pars () |
const IOPar & | pars () const |
NodeUnitRef * | upNode (int skip=0) |
const NodeUnitRef * | upNode (int skip=0) const |
void | setUpNode (NodeUnitRef *newpar) |
NodeUnitRef * | topNode () |
const NodeUnitRef * | topNode () const |
RefTree & | refTree () |
const RefTree & | refTree () 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 | fill (BufferString &bs) const |
virtual void | use (const char *s) |
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... | |
Static Public Member Functions | |
static const char * | sKeyNoCode () |
static void | getStdNames (BufferStringSet &) |
static RefTree * | createStd (const char *) |
Static Public Member Functions inherited from Strat::UnitRef | |
static const char * | sKeyPropsFor () |
static const char * | sKeyTreeProps () |
Public Attributes | |
Notifier< RefTree > | unitAdded |
Notifier< RefTree > | unitChanged |
Notifier< RefTree > | unitToBeDeleted |
Notifier< RefTree > | deleteNotif |
Repos::Source | src_ |
BufferString | name_ |
Public Attributes inherited from Strat::UnitRef | |
const char * | d =0) |
Notifier< UnitRef > | changed |
Notifier< UnitRef > | toBeDeleted |
Protected Member Functions | |
void | initTree () |
void | setToActualTypes () |
void | levelToBeRemoved (CallBacker *) |
Protected Member Functions inherited from Strat::NodeUnitRef | |
UnitRef * | fnd (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 | |
LithologySet | liths_ |
ContentSet | contents_ |
const UnitRef * | notifun_ |
LeafUnitRef & | udfleaf_ |
Protected Attributes inherited from Strat::NodeUnitRef | |
ObjectSet< UnitRef > | refs_ |
Interval< float > | timerg_ |
BufferString | code_ |
Protected Attributes inherited from Strat::UnitRef | |
NodeUnitRef * | upnode_ |
BufferString | desc_ |
Color | color_ |
IOPar | pars_ |
Friends | |
class | RefTreeMgr |
Additional Inherited Members | |
Public Types inherited from Strat::UnitRef | |
enum | Type { NodeOnly, Leaved, Leaf } |
Tree of UnitRef's.
Strat::RefTree::RefTree | ( | ) |
Strat::RefTree::~RefTree | ( | ) |
bool Strat::RefTree::addLeavedUnit | ( | const char * | , |
const char * | |||
) |
void Strat::RefTree::addLevelUnit | ( | const Level & | ) |
|
inline |
|
inline |
void Strat::RefTree::createFromLevelSet | ( | const LevelSet & | ) |
keep contents and lithologies
|
static |
Strat::LeavedUnitRef* Strat::RefTree::getByLevel | ( | int | lvlid | ) | const |
const LeavedUnitRef* Strat::RefTree::getLevelSetUnit | ( | const char * | lvlnm | ) | const |
|
static |
|
protected |
|
inlinevirtual |
Reimplemented from Strat::NodeUnitRef.
|
protected |
|
inline |
|
inline |
|
inline |
if null, assume everything has changed
bool Strat::RefTree::read | ( | od_istream & | ) |
void Strat::RefTree::removeLevelUnit | ( | const Level & | ) |
void Strat::RefTree::reportAdd | ( | const UnitRef * | ) |
void Strat::RefTree::reportChange | ( | const UnitRef * | , |
bool | isrem = false |
||
) |
|
protected |
|
inlinestatic |
|
inline |
|
inline |
bool Strat::RefTree::write | ( | od_ostream & | ) | const |
|
friend |
|
protected |
|
protected |
BufferString Strat::RefTree::name_ |
|
protected |
Repos::Source Strat::RefTree::src_ |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019