OpendTect
7.0
|
Reference data common to measured logs and simulated properties. More...
Public Types | |
enum | Scale { Linear , Logarithmic } |
enum | StdType { Ang , Anis , Area , Class , Comp , Den , Dist , ElaRa , ElPot , Fluid , GR , Imp , Perm , Pres , PresGrad , PresWt , Res , Son , Temp , Time , Vel , Volum , Vol , Other , Force } |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Public Member Functions | |
Mnemonic (const char *nm=nullptr, StdType=Other) | |
Mnemonic (const Mnemonic &mnc) | |
virtual | ~Mnemonic () |
BufferStringSet & | aliases () |
const BufferStringSet & | aliases () const |
const char * | description () const |
const UnitOfMeasure * | getDisplayInfo (const IOPar &, Scale &, Interval< float > &, BufferString &, OD::LineStyle &) const |
const UnitOfMeasure * | getDisplayInfo (Scale &, Interval< float > &, BufferString &, OD::LineStyle &) const |
float | getMatchValue (const char *nm) const |
const Mnemonic * | getOrigin () const |
bool | hasType (StdType t) const |
bool | isCompatibleWith (const Mnemonic *) const |
bool | isKnownAs (const char *) const |
bool | isKnownAs (const char *, bool exactmatch) const |
bool | isTemplate () const |
bool | isUdf () const |
bool | matches (const char *nm, bool matchaliases) const |
bool | matches (const char *nm, bool matchaliases, float *matchval) const |
mExpStruct (General) DispDefs | |
bool | operator!= (const Mnemonic &) const |
Mnemonic & | operator= (const Mnemonic &) |
bool | operator== (const Mnemonic &) const |
StdType | stdType () const |
const UnitOfMeasure * | unit () const |
For conversions only, do not use to get the label. More... | |
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 const Mnemonic & | defAI () |
static const Mnemonic & | defDEN () |
static const Mnemonic & | defDT () |
static const Mnemonic & | defDTS () |
static const Mnemonic & | defFracDensity () |
static const Mnemonic & | defFracOrientation () |
static const Mnemonic & | defMD () |
static const Mnemonic & | defPHI () |
static const Mnemonic & | defPVEL () |
static const Mnemonic & | defSI () |
static const Mnemonic & | defSVEL () |
static const Mnemonic & | defSW () |
static const Mnemonic & | defTime () |
static const Mnemonic & | defTVD () |
static const Mnemonic & | defTVDGL () |
static const Mnemonic & | defTVDSD () |
static const Mnemonic & | defTVDSS () |
static const Mnemonic & | defVEL () |
static const Mnemonic & | distance () |
static Mnemonic * | getFromTemplate (const Mnemonic &, const char *customname, Repos::Source) |
static float | getMatchValue (const char *str, const BufferStringSet &, bool exactmatch, bool hasaltnm=true) |
static IOPar | getUserMnemonics () |
static BufferString | getUserMnemonicsFileName () |
static void | setUserMnemonics (const IOPar &) |
static const char * | sKeyMnemonic () |
static StdType | surveyZType (const SurveyInfo *=nullptr) |
static const Mnemonic & | undef () |
static const Mnemonic & | volume () |
Public Attributes | |
DispDefs | disp_ |
Protected Member Functions | |
void | fillPar (IOPar &) const |
void | fromString (const char *) |
void | usePar (const IOPar &) |
Protected Attributes | |
BufferStringSet | aliases_ |
BufferString | logtypename_ |
StdType | stdtype_ |
const UnitOfMeasure * | uom_ = nullptr |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Private Member Functions | |
void | setUnit (const char *lbl) |
Friends | |
class | MnemonicSet |
Reference data common to measured logs and simulated properties.
We prepare for many variants of the name as is not uncommon in practice (Density, PVEL, SVEL, ...). The names will be unique - case insensitive, in the Set. Hence, identity is established case insensitive. Aliases are matched with a GlobExpr, so you can add with wildcards and the like.
<>
enum Mnemonic::Scale |
enum Mnemonic::StdType |
Mnemonic::Mnemonic | ( | const Mnemonic & | mnc | ) |
|
virtual |
|
inline |
|
inline |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char* Mnemonic::description | ( | ) | const |
|
static |
|
protected |
|
protected |
const UnitOfMeasure* Mnemonic::getDisplayInfo | ( | const IOPar & | , |
Scale & | , | ||
Interval< float > & | , | ||
BufferString & | , | ||
OD::LineStyle & | |||
) | const |
const UnitOfMeasure* Mnemonic::getDisplayInfo | ( | Scale & | , |
Interval< float > & | , | ||
BufferString & | , | ||
OD::LineStyle & | |||
) | const |
|
static |
float Mnemonic::getMatchValue | ( | const char * | nm | ) | const |
|
static |
const Mnemonic* Mnemonic::getOrigin | ( | ) | const |
|
static |
|
static |
|
inline |
bool Mnemonic::isCompatibleWith | ( | const Mnemonic * | ) | const |
bool Mnemonic::isKnownAs | ( | const char * | ) | const |
bool Mnemonic::isKnownAs | ( | const char * | , |
bool | exactmatch | ||
) | const |
bool Mnemonic::isTemplate | ( | ) | const |
|
inline |
bool Mnemonic::matches | ( | const char * | nm, |
bool | matchaliases | ||
) | const |
bool Mnemonic::matches | ( | const char * | nm, |
bool | matchaliases, | ||
float * | matchval | ||
) | const |
|
inline |
< Returns if changed
bool Mnemonic::operator!= | ( | const Mnemonic & | ) | const |
bool Mnemonic::operator== | ( | const Mnemonic & | ) | const |
|
private |
|
static |
|
static |
|
inline |
|
static |
|
static |
|
inline |
For conversions only, do not use to get the label.
|
protected |
|
static |
|
friend |
|
protected |
DispDefs Mnemonic::disp_ |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024