OpendTect
6.6
|
Specifications for numerical intervals. More...
Public Member Functions | |
NumInpIntervalSpec (bool withstep=false) | |
NumInpIntervalSpec (const Interval< T > &interval) | |
NumInpIntervalSpec (const NumInpIntervalSpec< T > &o) | |
~NumInpIntervalSpec () | |
virtual NumInpIntervalSpec< T > * | clone () const |
T | defaultValue (int idx=0) const |
virtual float | getDefaultfValue (int idx=0) const |
virtual int | getDefaultIntValue (int idx=0) const |
virtual double | getDefaultValue (int idx=0) const |
virtual double | getDValue (int idx=0) const |
virtual float | getFValue (int idx=0) const |
virtual od_int64 | getInt64Value (int idx=0) const |
virtual int | getIntValue (int idx=0) const |
virtual bool | hasLimits () const |
bool | hasStep () const |
virtual bool | isInsideLimits (int idx=0) const |
bool | isSymmetric () const |
virtual bool | isUndef (int idx=0) const |
const StepInterval< T > * | limits (int idx=0) const |
gets limits for interval components. More... | |
virtual int | nElems () const |
virtual void | setDefaultValue (bool val, int idx=0) |
virtual void | setDefaultValue (const char *val, int idx=0) |
virtual void | setDefaultValue (const Interval< T > &defaultintval) |
virtual void | setDefaultValue (double val, int idx=0) |
virtual void | setDefaultValue (float val, int idx=0) |
virtual void | setDefaultValue (int val, int idx=0) |
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) |
virtual bool | setText (const char *s, int idx=0) |
virtual void | setValue (bool val, int idx=0) |
virtual void | setValue (const Interval< T > &intval) |
virtual void | setValue (double val, int idx=0) |
virtual void | setValue (float val, int idx=0) |
virtual void | setValue (int val, int idx=0) |
virtual void | setValue (od_int64 val, int idx=0) |
void | setWithSymmetric (bool yn) |
virtual const char * | text (int idx=0) const |
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 |
|
inlinevirtual |
Implements DataInpSpec.
|
inline |
|
inlineprotected |
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Sets the values (with setText())
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inlinevirtual |
Implements DataInpSpec.
|
inline |
gets limits for interval components.
idx = 0: returns start limits idx = 1: returns stop limits idx = 2: returns step limits
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlineprotected |
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
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 |
|
inlinevirtual |
Implements DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inlinevirtual |
Reimplemented from DataInpSpec.
|
inline |
|
inlineprotected |
|
inlinevirtual |
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-2022