OpendTect
7.0
|
Specifications for numerical intervals. More...
Public Member Functions | |
NumInpIntervalSpec (bool withstep=false) | |
NumInpIntervalSpec (const Interval< T > &interval) | |
NumInpIntervalSpec (const NumInpIntervalSpec< T > &o) | |
~NumInpIntervalSpec () | |
NumInpIntervalSpec< T > * | clone () const override |
T | defaultValue (int idx=0) const |
float | getDefaultfValue (int idx=0) const override |
int | getDefaultIntValue (int idx=0) const override |
double | getDefaultValue (int idx=0) const override |
double | getDValue (int idx=0) const override |
float | getFValue (int idx=0) const override |
od_int64 | getInt64Value (int idx=0) const override |
int | getIntValue (int idx=0) const override |
bool | hasLimits () const override |
bool | hasStep () const |
bool | isInsideLimits (int idx=0) const override |
bool | isSymmetric () const |
bool | isUndef (int idx=0) const override |
const StepInterval< T > * | limits (int idx=0) const |
gets limits for interval components. More... | |
int | nElems () const override |
void | setDefaultValue (bool val, int idx=0) override |
void | setDefaultValue (const char *val, int idx=0) override |
virtual void | setDefaultValue (const Interval< T > &defaultintval) |
void | setDefaultValue (double val, int idx=0) override |
void | setDefaultValue (float val, int idx=0) override |
void | setDefaultValue (int val, int idx=0) override |
NumInpIntervalSpec & | setLimits (const Interval< T > &r, int idx=-1) |
NumInpIntervalSpec & | setLimits (const StepInterval< T > &r, int idx=-1) |
sets limits for interval components. More... | |
void | setSymmetric (bool yn) |
bool | setText (const char *s, int idx=0) override |
void | setValue (bool val, int idx=0) override |
virtual void | setValue (const Interval< T > &intval) |
void | setValue (double val, int idx=0) override |
void | setValue (float val, int idx=0) override |
void | setValue (int val, int idx=0) override |
void | setValue (od_int64 val, int idx=0) override |
void | setWithSymmetric (bool yn) |
const char * | text (int idx=0) const override |
T | value (int idx=0) const |
bool | withSymmetric () const |
Public Member Functions inherited from DataInpSpec | |
DataInpSpec (const DataInpSpec &) | |
DataInpSpec (DataType) | |
virtual | ~DataInpSpec () |
void | fillPar (IOPar &) const |
virtual bool | getBoolValue (int idx=0) const |
virtual bool | getDefaultBoolValue (int idx=0) const |
virtual const char * | getDefaultStringValue (int idx=0) const |
double | getdValue (int idx=0) const |
float | getfValue (int idx=0) const |
virtual const char * | name (int idx=0) const |
virtual DataInpSpec & | setName (const char *, int idx=0) |
DataType | type () const |
bool | usePar (const IOPar &) |
Protected Member Functions | |
T | defaultvalue_ (int idx=0) const |
T * | pt_value_ (int idx=0, bool defval=false) const |
StepInterval< T > * | stpi (bool defval=false) const |
T | value_ (int idx=0) const |
Protected Member Functions inherited from DataInpSpec | |
void | setType (DataType t) |
Protected Attributes | |
Interval< T > * | defaultinterval_ |
Interval< T > * | interval_ |
StepInterval< T > * | startlimits_ |
StepInterval< T > * | steplimits_ |
StepInterval< T > * | stoplimits_ |
bool | symm_ |
bool | wsymm_ |
Protected Attributes inherited from DataInpSpec | |
TypeSet< int > | nameidxs_ |
BufferStringSet | names_ |
bool | prefempty_ |
DataType | tp_ |
Specifications for numerical intervals.
Intervals consist of a start + stop value and optionally a step value, in which case the Interval is a StepInterval.
For each of the interval components start, stop and step, separate limits can be set.
<>
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements DataInpSpec.
|
inline |
|
inlineprotected |
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Sets the values (with setText())
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inlineoverridevirtual |
Implements DataInpSpec.
|
inline |
gets limits for interval components.
idx = 0: returns start limits idx = 1: returns stop limits idx = 2: returns step limits
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineprotected |
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inline |
sets limits for interval components.
idx = 0: sets start limits idx = 1: sets stop limits idx = 2: sets step limits
idx = -1: sets start and stop limits idx = -2: sets start, stop and step limits
|
inline |
|
inlineoverridevirtual |
Implements DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inlineoverridevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inlineprotected |
|
inlineoverridevirtual |
Implements DataInpSpec.
|
inline |
|
inlineprotected |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024