![]() |
OpendTect
7.0
|
Set of Stratigraphic levels. More...
Public Types | |
| typedef int | ChangeType |
Public Types inherited from ObjectWithName | |
| typedef OD::String | name_type |
Public Member Functions | |
| LevelSet (const LevelSet &) | |
| LevelSet (int idstartidsat=0) | |
| virtual | ~LevelSet () |
| void | add (const BufferStringSet &, const TypeSet< OD::Color > &) |
| LevelID | add (const char *, const OD::Color &) |
| LevelID | add (const Level &lvl) |
| OD::Color | colorOf (LevelID) const |
| Level | first () const |
| Level | get (LevelID) const |
| Level | getByIdx (int) const |
| Level | getByName (const char *) const |
| LevelID | getIDByIdx (int) const |
| LevelID | getIDByName (const char *) const |
| void | getNames (BufferStringSet &) const |
| int | indexOf (const char *) const |
| int | indexOf (LevelID) const |
| bool | isEmpty () const |
| bool | isPresent (const char *) const |
| bool | isPresent (LevelID) const |
| BufferString | nameOf (LevelID) const |
| LevelSet & | operator= (const LevelSet &) |
| bool | operator== (const LevelSet &) const |
| IOPar | parsOf (LevelID) const |
| bool | readFrom (const char *) |
| void | remove (LevelID) |
| LevelID | set (const Level &) |
| copy stuff, but new ID/name More... | |
| void | setEmpty () |
| int | size () const |
| bool | write () const |
| bool | writeTo (const char *) const |
Public Member Functions inherited from NamedCallBacker | |
| NamedCallBacker (const char *nm=0) | |
| NamedCallBacker (const NamedCallBacker &) | |
| virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
| bool | operator== (const NamedCallBacker &oth) const |
| bool | operator== (const NamedObject &oth) 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 |
| virtual CallBacker * | trueCaller () |
Public Member Functions inherited from NamedObject | |
| NamedObject (const char *nm=nullptr) | |
| NamedObject (const NamedObject &oth) | |
| virtual | ~NamedObject () |
| virtual BufferString | getName () const |
| bool | getNameFromPar (const IOPar &) |
| const name_type & | name () const override |
| NamedObject & | operator= (const NamedObject &) |
| bool | operator== (const NamedObject &oth) const |
| virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
| virtual | ~ObjectWithName () |
| bool | hasName (const char *nm) const |
| bool | hasName (const name_type &nm) const |
| void | putNameInPar (IOPar &) 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 | |
| CNotifier< LevelSet, ChangeType > | changed |
| CNotifier< LevelSet, LevelID > | levelAdded |
| CNotifier< LevelSet, LevelID > | levelToBeRemoved |
Protected Member Functions | |
| LevelID | doSet (const Level &, bool *isnew=nullptr) |
| void | doSetEmpty () |
| void | getFromStream (ascistream &, bool) |
| int | gtIdxOf (const char *, LevelID) const |
| Level | gtLvl (int) const |
| Repos::Source | readOldRepos () |
Protected Member Functions inherited from NamedCallBacker | |
| void | sendDelNotif () const |
Protected Attributes | |
| Threads::Atomic< int > | curlevelid_ |
| MultiID | dbky_ |
| ObjectSet< Level > | lvls_ |
Protected Attributes inherited from NamedCallBacker | |
| Threads::Atomic< bool > | delalreadytriggered_ |
| Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
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.
<>
| typedef int Strat::LevelSet::ChangeType |
| Strat::LevelSet::LevelSet | ( | int | idstartidsat = 0 | ) |
| Strat::LevelSet::LevelSet | ( | const LevelSet & | ) |
|
virtual |
| void Strat::LevelSet::add | ( | const BufferStringSet & | , |
| const TypeSet< OD::Color > & | |||
| ) |
|
static |
|
protected |
| Level Strat::LevelSet::first | ( | ) | const |
| Level Strat::LevelSet::getByIdx | ( | int | ) | const |
| Level Strat::LevelSet::getByName | ( | const char * | ) | const |
|
protected |
| LevelID Strat::LevelSet::getIDByIdx | ( | int | ) | const |
| LevelID Strat::LevelSet::getIDByName | ( | const char * | ) | const |
| void Strat::LevelSet::getNames | ( | BufferStringSet & | ) | const |
|
static |
|
protected |
|
protected |
| int Strat::LevelSet::indexOf | ( | const char * | ) | const |
| int Strat::LevelSet::indexOf | ( | LevelID | ) | const |
|
inline |
| bool Strat::LevelSet::isPresent | ( | const char * | ) | const |
| bool Strat::LevelSet::isPresent | ( | LevelID | ) | const |
| BufferString Strat::LevelSet::nameOf | ( | LevelID | ) | const |
| bool Strat::LevelSet::operator== | ( | const LevelSet & | ) | const |
| bool Strat::LevelSet::readFrom | ( | const char * | ) |
|
protected |
| void Strat::LevelSet::remove | ( | LevelID | ) |
| void Strat::LevelSet::setEmpty | ( | ) |
| int Strat::LevelSet::size | ( | ) | const |
| bool Strat::LevelSet::write | ( | ) | const |
| bool Strat::LevelSet::writeTo | ( | const char * | ) | const |
|
friend |
| CNotifier<LevelSet,ChangeType> Strat::LevelSet::changed |
|
mutableprotected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024