OpendTect
6.6
|
Ref Data for a (usually petrophysical) property. More...
Public Types | |
enum | StdType { Anis , Area , Class , Comp , Den , Dist , ElaRa , ElPot , GR , Imp , Perm , Pres , PresGrad , PresWt , Res , Son , Temp , Time , Vel , Volum , Vol , Other , Ang } |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Public Member Functions | |
PropertyRef (const char *nm, StdType t=Other) | |
PropertyRef (const PropertyRef &pr) | |
virtual | ~PropertyRef () |
BufferStringSet & | aliases () |
const BufferStringSet & | aliases () const |
float | commonValue () const |
const MathProperty & | fixedDef () const |
be sure hasFixedDef() returns true! More... | |
BufferString | getMnemonic () const |
BufferString | getStorUnitLbl () const |
In memory. More... | |
bool | hasFixedDef () const |
bool | hasType (StdType t) const |
bool | isCompatibleWith (const PropertyRef &pr) const |
bool | isKnownAs (const char *) const |
bool | isThickness () const |
bool | operator!= (const PropertyRef &pr) const |
PropertyRef & | operator= (const PropertyRef &) |
bool | operator== (const PropertyRef &pr) const |
void | setFixedDef (const MathProperty *) |
copy will be made More... | |
void | setMnemonic (BufferString mn) |
void | setStdType (StdType t) |
StdType | stdType () const |
const UnitOfMeasure * | storUnit () const |
In memory. 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 &) |
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 void | setThickness (const PropertyRef *) |
static const char * | standardPVelAliasStr () |
static const char * | standardPVelStr () |
static const char * | standardSVelAliasStr () |
static const char * | standardSVelStr () |
static StdType | surveyZType () |
static const PropertyRef & | thickness () |
use this always. It has automatic defaults from SI() More... | |
static const PropertyRef & | undef () |
Public Attributes | |
Property * | defval_ |
Protected Member Functions | |
void | fillPar (IOPar &) const |
void | usePar (const IOPar &) |
Protected Attributes | |
BufferStringSet | aliases_ |
MathProperty * | mathdef_ |
BufferString | mn_ |
StdType | stdtype_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Friends | |
class | PropertyRefSet |
Ref Data for a (usually petrophysical) property.
We prepare for many variants of the name as is not uncommon in practice (Density, Den, Rho, RhoB, ... you know the drill). 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 PropertyRef::StdType |
|
inline |
|
virtual |
|
inline |
|
inline |
float PropertyRef::commonValue | ( | ) | const |
|
protected |
|
inline |
be sure hasFixedDef() returns true!
BufferString PropertyRef::getMnemonic | ( | ) | const |
BufferString PropertyRef::getStorUnitLbl | ( | ) | const |
In memory.
|
inline |
|
inline |
|
inline |
bool PropertyRef::isKnownAs | ( | const char * | ) | const |
|
inline |
|
inline |
PropertyRef& PropertyRef::operator= | ( | const PropertyRef & | ) |
|
inline |
void PropertyRef::setFixedDef | ( | const MathProperty * | ) |
copy will be made
|
inline |
|
inline |
|
static |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
const UnitOfMeasure* PropertyRef::storUnit | ( | ) | const |
In memory.
|
static |
|
static |
use this always. It has automatic defaults from SI()
|
static |
|
protected |
|
friend |
|
protected |
Property* PropertyRef::defval_ |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022