![]() |
OpendTect
6.6
|
a name and an ID. More...
Public Types | |
| typedef int | ID |
Public Types inherited from ObjectWithName | |
| typedef OD::String | name_type |
Public Member Functions | |
| Lithology (const char *) | |
| Lithology (const Lithology &l) | |
| Lithology (ID id, const char *nm, bool por=false) | |
| Color & | color () |
| const Color & | color () const |
| void | fill (BufferString &) const |
| ID | id () const |
| bool | isUdf () const |
| Lithology & | operator= (const Lithology &) |
| bool | operator== (const Lithology &l) const |
| bool & | porous () |
| bool | porous () const |
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 &) |
| virtual const name_type & | name () const |
| 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 bool | isUdf (ID id) |
| static const Lithology & | undef () |
Protected Attributes | |
| Color | color_ |
| const ID | id_ |
| bool | porous_ |
Protected Attributes inherited from NamedObject | |
| BufferString | name_ |
Friends | |
| class | LithologySet |
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. 1995-2022