OpendTect-6_4
6.4
|
Stratigraphic level. More...
Public Types | |
typedef int | ID |
Public Member Functions | |
bool | operator== (const Level &) const |
bool | isDifferentFrom (const Level &) const |
ID | id () const |
Color | color () const |
const IOPar & | pars () const |
void | setName (const char *) |
void | setColor (Color) |
void | setPars (const IOPar &) |
virtual | ~Level () |
const char * | checkName (const char *) const |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=0) | |
NamedObject (const NamedObject *linkedto) | |
NamedObject (const NamedObject &) | |
virtual | ~NamedObject () |
void | setLinkedTo (NamedObject *) |
bool | operator== (const NamedObject &oth) const |
virtual const OD::String & | name () const |
virtual const OD::String & | annotName () const |
void | setCleanName (const char *) |
cleans string first More... | |
void | deleteNotify (const CallBack &) |
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 Level & | undef () |
Public Attributes | |
Notifier< Level > | changed |
Notifier< Level > | toBeRemoved |
Protected Member Functions | |
Level (const char *nm, const LevelSet *) | |
Level (const Level &) | |
void | fillPar (IOPar &) const |
void | usePar (const IOPar &) |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
Protected Attributes | |
ID | id_ |
Color | color_ |
IOPar & | pars_ |
const LevelSet * | lvlset_ |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
Friends | |
class | LevelSet |
Stratigraphic level.
To store extra details, use the pars_.
The ID cannot be assigned, and it is unique. It is managed by the LevelSet. Therefore: operator ==() : checks only ID isDifferentFrom() : checks all but ID
typedef int Strat::Level::ID |
|
protected |
|
protected |
|
virtual |
const char* Strat::Level::checkName | ( | const char * | ) | const |
returns null if object can be renamed to it, otherwise an error message
|
inline |
|
protected |
|
inline |
bool Strat::Level::isDifferentFrom | ( | const Level & | ) | const |
bool Strat::Level::operator== | ( | const Level & | ) | const |
|
inline |
void Strat::Level::setColor | ( | Color | ) |
|
virtual |
Reimplemented from NamedObject.
void Strat::Level::setPars | ( | const IOPar & | ) |
|
static |
|
protected |
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019