OpendTect  6.6
Public Types | Public Member Functions | 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 Types inherited from ObjectWithName
typedef OD::String name_type
 

Public Member Functions

 ElasticFormula (const char *nm, const char *expr, Type tp)
 
 ElasticFormula (const ElasticFormula &fm)
 
const char * expression () const
 
void fillPar (IOPar &) const
 
bool hasType (Type t) const
 
bool operator!= (const ElasticFormula &pr) const
 
ElasticFormulaoperator= (const ElasticFormula &)
 
bool operator== (const ElasticFormula &pr) const
 
const char * parseVariable (int idx, float &) const
 
void setExpression (const char *expr)
 
Type type () const
 
BufferStringSetunits ()
 
const BufferStringSetunits () const
 
void usePar (const IOPar &)
 
BufferStringSetvariables ()
 
const BufferStringSetvariables () const
 
- 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_typename () const
 
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
 

Protected Attributes

BufferString expression_
 
Type type_
 
BufferStringSet units_
 
BufferStringSet variables_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Detailed Description

Elastic formula def to generate elastic layers.

<>

Member Enumeration Documentation

◆ Type

Enumerator
Den 
PVel 
SVel 

Constructor & Destructor Documentation

◆ ElasticFormula() [1/2]

ElasticFormula::ElasticFormula ( const char *  nm,
const char *  expr,
Type  tp 
)
inline

◆ ElasticFormula() [2/2]

ElasticFormula::ElasticFormula ( const ElasticFormula fm)
inline

Member Function Documentation

◆ expression()

const char* ElasticFormula::expression ( ) const
inline

◆ fillPar()

void ElasticFormula::fillPar ( IOPar ) const

◆ hasType()

bool ElasticFormula::hasType ( Type  t) const
inline

◆ operator!=()

bool ElasticFormula::operator!= ( const ElasticFormula pr) const
inline

◆ operator=()

ElasticFormula& ElasticFormula::operator= ( const ElasticFormula )

◆ operator==()

bool ElasticFormula::operator== ( const ElasticFormula pr) const
inline

◆ parseVariable()

const char* ElasticFormula::parseVariable ( int  idx,
float &   
) const

◆ setExpression()

void ElasticFormula::setExpression ( const char *  expr)
inline

◆ type()

Type ElasticFormula::type ( ) const
inline

◆ units() [1/2]

BufferStringSet& ElasticFormula::units ( )
inline

◆ units() [2/2]

const BufferStringSet& ElasticFormula::units ( ) const
inline

◆ usePar()

void ElasticFormula::usePar ( const IOPar )

◆ variables() [1/2]

BufferStringSet& ElasticFormula::variables ( )
inline

◆ variables() [2/2]

const BufferStringSet& ElasticFormula::variables ( ) const
inline

Member Data Documentation

◆ expression_

BufferString ElasticFormula::expression_
protected

◆ type_

Type ElasticFormula::type_
protected

◆ units_

BufferStringSet ElasticFormula::units_
protected

◆ variables_

BufferStringSet ElasticFormula::variables_
protected

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