![]() |
OpendTect
6.6
|
Set of Stratigraphic levels. More...
Public Member Functions | |
| LevelSet () | |
| LevelSet (const LevelSet &) | |
| LevelSet (Level::ID startat) | |
| virtual | ~LevelSet () |
| void | add (const BufferStringSet &, const TypeSet< Color > &) |
| Level * | add (const char *lvlnm, const Color &c) |
| Level * | add (const Level &) |
| copy stuff, but new ID/name More... | |
| Color | color (int idx) const |
| Level * | get (const char *nm) |
| const Level * | get (const char *nm) const |
| Level * | get (Level::ID id) |
| const Level * | get (Level::ID id) const |
| const Level & | getLevel (int idx) const |
| void | getNames (BufferStringSet &) const |
| int | indexOf (const char *nm) const |
| int | indexOf (Level::ID id) const |
| Level * | insert (const char *lvlnm, const Color &c, int idx=-1) |
| bool | isEmpty () const |
| bool | isPresent (const char *nm) const |
| bool | isPresent (Level::ID id) const |
| int | levelID (int idx) const |
| const ObjectSet< Level > & | levels () const |
| bool | needStore () const |
| int | notifLvlIdx () const |
| if < 0 then more than one level have changed More... | |
| LevelSet & | operator= (const LevelSet &) |
| bool | read (Repos::Source) |
| bool | readFrom (const char *) |
| Repos::Source | readOldRepos () |
| void | remove (Level::ID) |
| Level * | set (const char *lvlnm, const Color &c) |
| void | setEmpty () |
| int | size () const |
| bool | store (Repos::Source) const |
| bool | writeTo (const char *) 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 |
Static Public Member Functions | |
| static LevelSet * | createStd (const char *) |
| static void | getStdNames (BufferStringSet &) |
| static LevelSet * | read (const MultiID &) |
| static bool | write (const LevelSet &, const MultiID &) |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Public Attributes | |
| Notifier< LevelSet > | levelAdded |
| Notifier< LevelSet > | levelChanged |
| Notifier< LevelSet > | levelToBeRemoved |
Protected Member Functions | |
| void | addLvl (Level *) |
| void | getLevelsFrom (const LevelSet &) |
| Level * | getNew (const Level *lvl=0) const |
| int | gtIdxOf (const char *, Level::ID) const |
| Level * | gtLvl (const char *, Level::ID) const |
| void | lvlChgCB (CallBacker *cb) |
| void | lvlRemCB (CallBacker *cb) |
| void | makeMine (Level &) |
| void | notif (CallBacker *, bool) |
| void | readPars (ascistream &, bool) |
| Level * | set (const char *, const Color &, int) |
Static Protected Member Functions | |
| static bool | haveCurSet () |
Protected Attributes | |
| bool | ischanged_ |
| Level::ID | lastlevelid_ |
| ObjectSet< Level > | lvls_ |
| int | notiflvlidx_ |
Friends | |
| class | LevelSetMgr |
Set of Stratigraphic levels.
Manages not only the units, but also their IDs. The set will not allow adding levels with the same name; the result is that you simply set the existing one to new values.
<>
| Strat::LevelSet::LevelSet | ( | ) |
| Strat::LevelSet::LevelSet | ( | Level::ID | startat | ) |
| Strat::LevelSet::LevelSet | ( | const LevelSet & | ) |
|
virtual |
| void Strat::LevelSet::add | ( | const BufferStringSet & | , |
| const TypeSet< Color > & | |||
| ) |
|
protected |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
protected |
| void Strat::LevelSet::getNames | ( | BufferStringSet & | ) | const |
|
static |
|
protected |
|
staticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inlineprotected |
|
protected |
|
inline |
|
protected |
|
inline |
if < 0 then more than one level have changed
| bool Strat::LevelSet::read | ( | Repos::Source | ) |
| bool Strat::LevelSet::readFrom | ( | const char * | ) |
| Repos::Source Strat::LevelSet::readOldRepos | ( | ) |
|
protected |
| void Strat::LevelSet::remove | ( | Level::ID | ) |
|
inline |
|
inline |
| bool Strat::LevelSet::store | ( | Repos::Source | ) | const |
| bool Strat::LevelSet::writeTo | ( | const char * | ) | const |
|
friend |
|
protected |
|
mutableprotected |
|
mutableprotected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022