OpendTect
6.6
|
Calculated property. More...
Public Member Functions | |
MathProperty (const MathProperty &) | |
MathProperty (const PropertyRef &, const char *def=0) | |
~MathProperty () | |
virtual MathProperty * | clone () const |
virtual const char * | def () const |
virtual bool | dependsOn (const Property &) const |
virtual uiString | errMsg () const |
virtual const char * | factoryKeyword () const |
const char * | formText (bool user_display=false) const |
Math::Formula & | getForm () |
const Math::Formula & | getForm () const |
bool | hasCyclicalDependency (BufferStringSet &inputnms) const |
bool | haveInput (int idx) const |
virtual bool | init (const PropertySet &) const |
clears 'memory' and makes property usable More... | |
const char * | inputName (int) const |
PropertyRef::StdType | inputType (int) const |
const UnitOfMeasure * | inputUnit (int) const |
bool | isConst (int) const |
virtual bool | isUdf () const |
int | nrInputs () const |
virtual void | setDef (const char *) |
void | setInput (int, const Property *) |
Must be done for all inputs after each setDef() More... | |
void | setUnit (const UnitOfMeasure *) |
virtual const char * | type () const |
const UnitOfMeasure * | unit () const |
Public Member Functions inherited from Property | |
Property (const PropertyRef &pr) | |
virtual | ~Property () |
void | fillPar (IOPar &) const |
bool | isEqualTo (const Property &) const |
virtual bool | isValue () const |
const Mnemonic * | mnem () const |
const char * | name () const |
const PropertyRef & | ref () const |
virtual void | reset () |
void | usePar (const IOPar &) |
float | value (EvalOpts eo=EvalOpts()) const |
Static Public Member Functions | |
static Property * | create (const PropertyRef &r) |
static const Math::SpecVarSet & | getSpecVars () |
static void | initClass () |
static const char * | typeStr () |
Static Public Member Functions inherited from Property | |
static Property * | get (const IOPar &) |
Protected Member Functions | |
virtual float | gtVal (EvalOpts) const |
void | setPreV5Def (const char *) |
Protected Attributes | |
uiString | errmsg_ |
Math::Formula & | form_ |
BufferString | fulldef_ |
ObjectSet< const Property > | inps_ |
Protected Attributes inherited from Property | |
float | lastval_ |
const Mnemonic * | mn_ |
const PropertyRef & | ref_ |
Calculated property.
When creating a formula, be sure to use ensureGoodVariableName() on the property names. This will be done on the available properties too to create the match. In theory, this may create ambiguous formulas, but at least we can keep things simple this way.
<>
MathProperty::MathProperty | ( | const PropertyRef & | , |
const char * | def = 0 |
||
) |
MathProperty::MathProperty | ( | const MathProperty & | ) |
MathProperty::~MathProperty | ( | ) |
|
inlinevirtual |
Implements Property.
|
inlinestatic |
|
virtual |
Implements Property.
|
virtual |
Reimplemented from Property.
|
inlinevirtual |
const char* MathProperty::formText | ( | bool | user_display = false | ) | const |
|
inline |
|
inline |
|
static |
bool MathProperty::hasCyclicalDependency | ( | BufferStringSet & | inputnms | ) | const |
|
inline |
|
virtual |
clears 'memory' and makes property usable
Reimplemented from Property.
|
inlinestatic |
const char* MathProperty::inputName | ( | int | ) | const |
PropertyRef::StdType MathProperty::inputType | ( | int | ) | const |
const UnitOfMeasure* MathProperty::inputUnit | ( | int | ) | const |
bool MathProperty::isConst | ( | int | ) | const |
|
virtual |
Implements Property.
int MathProperty::nrInputs | ( | ) | const |
|
virtual |
Implements Property.
void MathProperty::setInput | ( | int | , |
const Property * | |||
) |
Must be done for all inputs after each setDef()
|
protected |
void MathProperty::setUnit | ( | const UnitOfMeasure * | ) |
|
inlinevirtual |
Implements Property.
|
inlinestatic |
const UnitOfMeasure* MathProperty::unit | ( | ) | const |
|
mutableprotected |
|
protected |
|
mutableprotected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022