OpendTect  7.0
Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
ElasticPropertyRef Class Reference

Elastic property reference data. Either a link to an existing PropertyRef, or an ElasticFormula. More...

Inheritance diagram for ElasticPropertyRef:
[legend]

Public Member Functions

 ElasticPropertyRef (const ElasticPropertyRef &)
 
 ElasticPropertyRef (const Mnemonic &, const char *)
 
 ~ElasticPropertyRef ()
 
ElasticPropertyRefclone () const override
 
ElasticFormula::Type elasticType () const
 
void fillPar (IOPar &) const
 
const ElasticFormulaformula () const
 
bool isElasticForm () const override
 
bool isOK (const PropertyRefSelection *) const
 
bool operator!= (const ElasticPropertyRef &) const
 
ElasticPropertyRefoperator= (const ElasticPropertyRef &)
 
bool operator== (const ElasticPropertyRef &) const
 
const PropertyRefref () const
 
void setFormula (const ElasticFormula &)
 
void setRef (const PropertyRef *)
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from PropertyRef
 PropertyRef (const Mnemonic &=Mnemonic::undef(), const char *nm=nullptr)
 
 PropertyRef (const PropertyRef &)
 
virtual ~PropertyRef ()
 
void addAliases (const BufferStringSet &)
 
const BufferStringSet aliases () const
 
const MathPropertyfixedDef () 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
 
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 Mnemonicmn () const
 
bool operator!= (const PropertyRef &) const
 
PropertyRefoperator= (const PropertyRef &)
 
bool operator== (const PropertyRef &) const
 
void setFixedDef (const MathProperty *)
 copy will be made More...
 
void setUnit (const char *)
 
StdType stdType () const
 
const UnitOfMeasureunit () 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 CallBackertrueCaller ()
 
- 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_typename () const override
 
NamedObjectoperator= (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 MnemonicelasticToMnemonic (ElasticFormula::Type)
 
static Mnemonic::StdType elasticToStdType (ElasticFormula::Type)
 
- Static Public Member Functions inherited from PropertyRef
static PropertyRefget (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 PropertyRefthickness ()
 use this always. It has automatic defaults from SI() More...
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Static Private Member Functions

static void setFormNameFromRepos (ElasticFormula &)
 

Private Attributes

ElasticFormulaformula_ = nullptr
 
const PropertyRefpr_ = nullptr
 

Additional Inherited Members

- Public Types inherited from PropertyRef
typedef Mnemonic::StdType StdType
 
- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Public Attributes inherited from PropertyRef
mExpStruct(General) DispDefs DispDefs disp_
 
CNotifier< PropertyRef, const UnitOfMeasure * > unitChanged
 Returns the previous unit. More...
 
- Protected Member Functions inherited from PropertyRef
void fillPar (IOPar &) const
 
void setDefaults ()
 
void usePar (const IOPar &)
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Static Protected Member Functions inherited from PropertyRef
static const MnemonicgetFromLegacy (const Mnemonic *, const char *propnm)
 
- Protected Attributes inherited from PropertyRef
MathPropertymathdef_ = nullptr
 
const Mnemonicmn_
 
BufferStringSet propaliases_
 
Repos::Source source_ = Repos::Temp
 
const UnitOfMeasureuom_ = nullptr
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

Elastic property reference data. Either a link to an existing PropertyRef, or an ElasticFormula.

<>

Constructor & Destructor Documentation

◆ ElasticPropertyRef() [1/2]

ElasticPropertyRef::ElasticPropertyRef ( const Mnemonic ,
const char *   
)

◆ ElasticPropertyRef() [2/2]

ElasticPropertyRef::ElasticPropertyRef ( const ElasticPropertyRef )

◆ ~ElasticPropertyRef()

ElasticPropertyRef::~ElasticPropertyRef ( )

Member Function Documentation

◆ clone()

ElasticPropertyRef* ElasticPropertyRef::clone ( ) const
overridevirtual

Reimplemented from PropertyRef.

◆ elasticToMnemonic()

static const Mnemonic& ElasticPropertyRef::elasticToMnemonic ( ElasticFormula::Type  )
static

◆ elasticToStdType()

static Mnemonic::StdType ElasticPropertyRef::elasticToStdType ( ElasticFormula::Type  )
static

◆ elasticType()

ElasticFormula::Type ElasticPropertyRef::elasticType ( ) const

◆ fillPar()

void ElasticPropertyRef::fillPar ( IOPar ) const

◆ formula()

const ElasticFormula* ElasticPropertyRef::formula ( ) const
inline

◆ isElasticForm()

bool ElasticPropertyRef::isElasticForm ( ) const
inlineoverridevirtual

Reimplemented from PropertyRef.

◆ isOK()

bool ElasticPropertyRef::isOK ( const PropertyRefSelection ) const

◆ operator!=()

bool ElasticPropertyRef::operator!= ( const ElasticPropertyRef ) const

◆ operator=()

ElasticPropertyRef& ElasticPropertyRef::operator= ( const ElasticPropertyRef )

◆ operator==()

bool ElasticPropertyRef::operator== ( const ElasticPropertyRef ) const

◆ ref()

const PropertyRef* ElasticPropertyRef::ref ( ) const
inline

◆ setFormNameFromRepos()

static void ElasticPropertyRef::setFormNameFromRepos ( ElasticFormula )
staticprivate

◆ setFormula()

void ElasticPropertyRef::setFormula ( const ElasticFormula )

◆ setRef()

void ElasticPropertyRef::setRef ( const PropertyRef )

◆ usePar()

bool ElasticPropertyRef::usePar ( const IOPar )

Member Data Documentation

◆ formula_

ElasticFormula* ElasticPropertyRef::formula_ = nullptr
private

◆ pr_

const PropertyRef* ElasticPropertyRef::pr_ = nullptr
private

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024