OpendTect-6_4  6.4
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
Strat::FormulaLayerValue Class Reference

returns a layer value based on Math::Formula. It does not copy the Formula, so keep the formula alive while the layer is alive! More...

Inheritance diagram for Strat::FormulaLayerValue:
[legend]

Public Member Functions

 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, const PropertyRefSelection &, float xpos)
 
 FormulaLayerValue (const IOPar &, const Strat::Layer &, const PropertyRefSelection &)
 
 ~FormulaLayerValue ()
 
FormulaLayerValueclone (const Layer *) const
 
bool isBad () const
 
uiString errMsg () const
 
void fillPar (IOPar &) const
 
virtual void setXPos (float)
 
virtual float value () const
 
- Public Member Functions inherited from Strat::LayerValue
virtual ~LayerValue ()
 
virtual bool isSimple () const
 
BufferString dumpStr () const
 

Protected Member Functions

 FormulaLayerValue (const Math::Formula &, const Strat::Layer &, float, bool c=false)
 
void useForm (const PropertyRefSelection &)
 

Protected Attributes

const Math::Formulaform_
 
const Layerlay_
 
const bool myform_
 
float xpos_
 
TypeSet< int > inpidxs_
 
TypeSet< float > inpvals_
 
uiString errmsg_
 

Private Member Functions

 mODTextTranslationClass (FormulaLayerValue)
 

Detailed Description

returns a layer value based on Math::Formula. It does not copy the Formula, so keep the formula alive while the layer is alive!

Constructor & Destructor Documentation

Strat::FormulaLayerValue::FormulaLayerValue ( const Math::Formula ,
const Strat::Layer ,
const PropertyRefSelection ,
float  xpos 
)
Strat::FormulaLayerValue::FormulaLayerValue ( const IOPar ,
const Strat::Layer ,
const PropertyRefSelection  
)
Strat::FormulaLayerValue::~FormulaLayerValue ( )
Strat::FormulaLayerValue::FormulaLayerValue ( const Math::Formula ,
const Strat::Layer ,
float  ,
bool  c = false 
)
protected

Member Function Documentation

FormulaLayerValue* Strat::FormulaLayerValue::clone ( const Layer ) const
virtual

Implements Strat::LayerValue.

uiString Strat::FormulaLayerValue::errMsg ( ) const
inline
void Strat::FormulaLayerValue::fillPar ( IOPar ) const
bool Strat::FormulaLayerValue::isBad ( ) const
inline
Strat::FormulaLayerValue::mODTextTranslationClass ( FormulaLayerValue  )
private
virtual void Strat::FormulaLayerValue::setXPos ( float  )
virtual

Reimplemented from Strat::LayerValue.

void Strat::FormulaLayerValue::useForm ( const PropertyRefSelection )
protected
virtual float Strat::FormulaLayerValue::value ( ) const
virtual

Implements Strat::LayerValue.

Member Data Documentation

uiString Strat::FormulaLayerValue::errmsg_
mutableprotected
const Math::Formula& Strat::FormulaLayerValue::form_
protected
TypeSet<int> Strat::FormulaLayerValue::inpidxs_
protected
TypeSet<float> Strat::FormulaLayerValue::inpvals_
mutableprotected
const Layer& Strat::FormulaLayerValue::lay_
protected
const bool Strat::FormulaLayerValue::myform_
protected
float Strat::FormulaLayerValue::xpos_
protected

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