 |
OpendTect
6.6
|
Go to the documentation of this file.
14 #include "generalmod.h"
69 Formula(
bool inputsareseries=
true,
const char* txt=0);
82 bool isOK()
const {
return expr_; }
83 bool isBad()
const {
return !expr_
84 && !text_.isEmpty(); }
87 const char*
text()
const {
return text_; }
90 {
return inps_[iinp].varname_; }
92 {
return inps_[iinp].isConst();}
94 {
return inps_[iinp].isSpec(); }
97 {
return inps_[iinp].shifts_; }
99 {
return inps_[iinp].shftRg(); }
108 { outputunit_ = uom; }
116 {
return inps_[iinp].inpdef_; }
118 {
return inps_[iinp].unit_; }
126 float getValue(
const float*,
bool internal_units=
true)
const;
127 double getValue(
const double*,
bool internal_units=
true)
const;
155 : varname_(nm), unit_(0), type_(t) {}
157 {
return varname_ ==
id.varname_; }
166 bool isConst()
const {
return type_ == Const; }
167 bool isSpec()
const {
return type_ == Spec; }
Set of special variables for Math Formulae/Expressions.
Definition: mathspecvars.h:47
Parsed Math expression.
Definition: mathexpression.h:32
#define mExpClass(module)
Definition: commondefs.h:177
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Unit of Measure.
Definition: unitofmeasure.h:35
BufferString errmsg_
Definition: horizontracker.h:118
A lock of a type that (hopefully) suits your needs. To use it, you need the Locker class.
Definition: threadlock.h:53
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55
Generated at
for the OpendTect
seismic interpretation project.
Copyright (C): dGB Beheer B.V. 1995-2021