OpendTect
7.0
|
Ref Data for a (usually petrophysical) property. More...
Public Types | |
typedef Mnemonic::StdType | StdType |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Public Member Functions | |
PropertyRef (const Mnemonic &=Mnemonic::undef(), const char *nm=nullptr) | |
PropertyRef (const PropertyRef &) | |
virtual | ~PropertyRef () |
void | addAliases (const BufferStringSet &) |
const BufferStringSet | aliases () const |
virtual PropertyRef * | clone () const |
const MathProperty & | fixedDef () const |
be sure hasFixedDef() returns true! More... | |
bool | hasFixedDef () const |
bool | hasType (StdType t) const |
bool | isCompatibleWith (const Mnemonic &mn) const |
bool | isCompatibleWith (const PropertyRef &pr) const |
bool | isElastic () const |
virtual bool | isElasticForm () const |
bool | isKnownAs (const char *) const |
bool | isKnownAs (const char *, bool exactmatch) const |
bool | isThickness () const |
bool | isUserDefined () const |
bool | matches (const char *nm, bool matchaliases) const |
bool | matches (const char *nm, bool matchaliases, float *matchval) const |
const Mnemonic & | mn () const |
bool | operator!= (const PropertyRef &) const |
PropertyRef & | operator= (const PropertyRef &) |
bool | operator== (const PropertyRef &) const |
void | setFixedDef (const MathProperty *) |
copy will be made More... | |
void | setUnit (const char *) |
StdType | stdType () const |
const UnitOfMeasure * | unit () const |
For conversions only, do not use to get the label. More... | |
Public Member Functions inherited from NamedCallBacker | |
NamedCallBacker (const char *nm=0) | |
NamedCallBacker (const NamedCallBacker &) | |
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
bool | operator== (const NamedCallBacker &oth) const |
bool | operator== (const NamedObject &oth) const |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
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 PropertyRef * | get (const IOPar &, Repos::Source) |
static const char * | standardDenAliasStr () |
static const char * | standardDenStr () |
static const char * | standardPVelAliasStr () |
static const char * | standardPVelStr () |
static const char * | standardSVelAliasStr () |
static const char * | standardSVelStr () |
static const PropertyRef & | thickness () |
use this always. It has automatic defaults from SI() More... | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Public Attributes | |
mExpStruct(General) DispDefs DispDefs | disp_ |
CNotifier< PropertyRef, const UnitOfMeasure * > | unitChanged |
Returns the previous unit. More... | |
Protected Member Functions | |
void | fillPar (IOPar &) const |
void | setDefaults () |
void | usePar (const IOPar &) |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Static Protected Member Functions | |
static const Mnemonic * | getFromLegacy (const Mnemonic *, const char *propnm) |
Protected Attributes | |
MathProperty * | mathdef_ = nullptr |
const Mnemonic & | mn_ |
BufferStringSet | propaliases_ |
Repos::Source | source_ = Repos::Temp |
const UnitOfMeasure * | uom_ = nullptr |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Friends | |
class | PropertyRefSet |
class | uiEditPropRef |
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.
<>
PropertyRef::PropertyRef | ( | const Mnemonic & | = Mnemonic::undef() , |
const char * | nm = nullptr |
||
) |
PropertyRef::PropertyRef | ( | const PropertyRef & | ) |
|
virtual |
void PropertyRef::addAliases | ( | const BufferStringSet & | ) |
const BufferStringSet PropertyRef::aliases | ( | ) | const |
|
inlinevirtual |
Reimplemented in ElasticPropertyRef.
|
protected |
|
inline |
be sure hasFixedDef() returns true!
|
static |
|
staticprotected |
|
inline |
|
inline |
|
inline |
|
inline |
bool PropertyRef::isElastic | ( | ) | const |
|
inlinevirtual |
Reimplemented in ElasticPropertyRef.
bool PropertyRef::isKnownAs | ( | const char * | ) | const |
bool PropertyRef::isKnownAs | ( | const char * | , |
bool | exactmatch | ||
) | const |
|
inline |
bool PropertyRef::isUserDefined | ( | ) | const |
bool PropertyRef::matches | ( | const char * | nm, |
bool | matchaliases | ||
) | const |
bool PropertyRef::matches | ( | const char * | nm, |
bool | matchaliases, | ||
float * | matchval | ||
) | const |
|
inline |
bool PropertyRef::operator!= | ( | const PropertyRef & | ) | const |
PropertyRef& PropertyRef::operator= | ( | const PropertyRef & | ) |
bool PropertyRef::operator== | ( | const PropertyRef & | ) | const |
|
protected |
void PropertyRef::setFixedDef | ( | const MathProperty * | ) |
copy will be made
void PropertyRef::setUnit | ( | const char * | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
static |
use this always. It has automatic defaults from SI()
|
inline |
For conversions only, do not use to get the label.
|
protected |
|
friend |
|
friend |
mExpStruct (General) DispDefs DispDefs PropertyRef::disp_ |
|
protected |
|
protected |
|
protected |
|
protected |
CNotifier<PropertyRef,const UnitOfMeasure*> PropertyRef::unitChanged |
Returns the previous unit.
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024