OpendTect-6_4
6.4
|
a name and an ID. More...
Public Types | |
typedef int | ID |
Public Member Functions | |
Lithology (ID id, const char *nm, bool por=false) | |
Lithology (const Lithology &l) | |
Lithology & | operator= (const Lithology &) |
bool | operator== (const Lithology &l) const |
bool | isUdf () const |
ID | id () const |
bool & | porous () |
bool | porous () const |
Color & | color () |
const Color & | color () const |
Lithology (const char *) | |
void | fill (BufferString &) 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 |
virtual void | setName (const char *) |
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 bool | isUdf (ID id) |
static const Lithology & | undef () |
Protected Attributes | |
const ID | id_ |
bool | porous_ |
Color | color_ |
Protected Attributes inherited from NamedObject | |
BufferString * | name_ |
NamedObject * | linkedto_ |
CallBackSet * | delnotify_ |
Friends | |
class | LithologySet |
Additional Inherited Members | |
Protected Member Functions inherited from CallBacker | |
void | detachAllNotifiers () |
Call from the destructor of your inherited object. More... | |
a name and an ID.
The reason we don't manage the ID is that user may have their own IDs. For example, it may correspond with a lithology log value.
ID: -2 -> id is unset. Should call getFreeID to get a valid ID ID: -1 -> Lithology is undefined ID: >=0 Lithology is defined and has a unique ID
typedef int Strat::Lithology::ID |
Strat::Lithology::Lithology | ( | ID | id, |
const char * | nm, | ||
bool | por = false |
||
) |
|
inline |
Strat::Lithology::Lithology | ( | const char * | ) |
|
inline |
|
inline |
void Strat::Lithology::fill | ( | BufferString & | ) | const |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
static |
|
friend |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019