OpendTect-6_4  6.4
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
ElasticFormula Class Reference

Elastic formula def to generate elastic layers. More...

Inheritance diagram for ElasticFormula:
[legend]

Public Types

enum  Type { Den, PVel, SVel }
 

Public Member Functions

 mDeclareEnumUtils (Type) ElasticFormula(const char *nm
 
const char Type expression_ (expr?expr:"")
 
const char Type type_ (tp)
 
 ElasticFormula (const ElasticFormula &fm)
 
ElasticFormulaoperator= (const ElasticFormula &)
 
bool operator== (const ElasticFormula &pr) const
 
bool operator!= (const ElasticFormula &pr) const
 
void setExpression (const char *expr)
 
const char * expression () const
 
Type type () const
 
bool hasType (Type t) const
 
BufferStringSetvariables ()
 
const BufferStringSetvariables () const
 
BufferStringSetunits ()
 
const BufferStringSetunits () const
 
const char * parseVariable (int idx, float &) const
 
void fillPar (IOPar &) const
 
void usePar (const IOPar &)
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Public Attributes

const char * expr
 
const char Type tp: NamedObject( nm )
 

Protected Attributes

BufferString expression_
 
BufferStringSet variables_
 
BufferStringSet units_
 
Type type_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Elastic formula def to generate elastic layers.

Member Enumeration Documentation

Enumerator
Den 
PVel 
SVel 

Constructor & Destructor Documentation

ElasticFormula::ElasticFormula ( const ElasticFormula fm)
inline

Member Function Documentation

const char* ElasticFormula::expression ( ) const
inline
const char Type ElasticFormula::expression_ ( expr?expr:""  )
void ElasticFormula::fillPar ( IOPar ) const
bool ElasticFormula::hasType ( Type  t) const
inline
ElasticFormula::mDeclareEnumUtils ( Type  ) const
bool ElasticFormula::operator!= ( const ElasticFormula pr) const
inline
ElasticFormula& ElasticFormula::operator= ( const ElasticFormula )
bool ElasticFormula::operator== ( const ElasticFormula pr) const
inline
const char* ElasticFormula::parseVariable ( int  idx,
float &   
) const
void ElasticFormula::setExpression ( const char *  expr)
inline
Type ElasticFormula::type ( ) const
inline
const char Type ElasticFormula::type_ ( tp  )
inline
BufferStringSet& ElasticFormula::units ( )
inline
const BufferStringSet& ElasticFormula::units ( ) const
inline
void ElasticFormula::usePar ( const IOPar )
BufferStringSet& ElasticFormula::variables ( )
inline
const BufferStringSet& ElasticFormula::variables ( ) const
inline

Member Data Documentation

const char* ElasticFormula::expr
BufferString ElasticFormula::expression_
protected
const char Type ElasticFormula::tp
Type ElasticFormula::type_
protected
BufferStringSet ElasticFormula::units_
protected
BufferStringSet ElasticFormula::variables_
protected

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