OpendTect-6_4
6.4
|
Calculated property. More...
Public Member Functions | |
virtual const char * | type () const |
virtual const char * | factoryKeyword () const |
virtual MathProperty * | clone () const |
virtual const char * | def () const |
virtual void | setDef (const char *) |
virtual bool | isUdf () const |
const char * | formText (bool user_display=false) const |
int | nrInputs () const |
const char * | inputName (int) const |
const UnitOfMeasure * | inputUnit (int) const |
bool | isConst (int) const |
void | setUnit (const UnitOfMeasure *) |
const UnitOfMeasure * | unit () const |
Public Member Functions inherited from Property | |
Property (const PropertyRef &pr) | |
virtual | ~Property () |
bool | isEqualTo (const Property &) const |
virtual bool | isValue () const |
const PropertyRef & | ref () const |
const char * | name () const |
virtual void | reset () |
void | fillPar (IOPar &) const |
void | usePar (const IOPar &) |
mDefineFactory1ParamInClass (Property, const PropertyRef &, factory) | |
float | value (EvalOpts eo=EvalOpts()) const |
Static Public Member Functions | |
static const char * | typeStr () |
static Property * | create (const PropertyRef &r) |
static void | initClass () |
static const Math::SpecVarSet & | getSpecVars () |
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 | |
Math::Formula & | form_ |
ObjectSet< const Property > | inps_ |
uiString | errmsg_ |
BufferString | fulldef_ |
Protected Attributes inherited from Property | |
const PropertyRef & | ref_ |
float | lastval_ |
Private Member Functions | |
mODTextTranslationClass(Property) public | MathProperty (const MathProperty &) |
~MathProperty () | |
Math::Formula & | getForm () |
const Math::Formula & | getForm () const |
PropertyRef::StdType | inputType (int) const |
bool | haveInput (int idx) const |
void | setInput (int, const Property *) |
Must be done for all inputs after each setDef() More... | |
virtual bool | init (const PropertySet &) const |
clears 'memory' and makes property usable More... | |
virtual uiString | errMsg () const |
virtual bool | dependsOn (const Property &) const |
bool | hasCyclicalDependency (BufferStringSet &inputnms) const |
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.
|
private |
|
private |
|
inlinevirtual |
Implements Property.
|
inlinestatic |
|
virtual |
Implements Property.
|
privatevirtual |
Reimplemented from Property.
|
inlinevirtual |
const char* MathProperty::formText | ( | bool | user_display = false | ) | const |
|
inlineprivate |
|
inlineprivate |
|
static |
|
private |
|
inlineprivate |
|
privatevirtual |
clears 'memory' and makes property usable
Reimplemented from Property.
|
inlinestatic |
const char* MathProperty::inputName | ( | int | ) | const |
|
private |
const UnitOfMeasure* MathProperty::inputUnit | ( | int | ) | const |
bool MathProperty::isConst | ( | int | ) | const |
|
virtual |
Implements Property.
int MathProperty::nrInputs | ( | ) | const |
|
virtual |
Implements Property.
|
private |
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. 2019