OpendTect  6.6
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
PositionInpSpec Class Reference

Specifications for BinID/Coordinate/TrcNrs and offsets. More...

Inheritance diagram for PositionInpSpec:
[legend]

Classes

struct  Setup
 

Public Member Functions

 PositionInpSpec (const BinID &, bool isps=false)
 
 PositionInpSpec (const Coord &, bool isps=false, bool is2d=false)
 
 PositionInpSpec (const Setup &)
 
 PositionInpSpec (int trcnr, bool isps=false)
 
virtual DataInpSpecclone () const
 
float defaultValue (int idx=0) const
 
BinID getBinID (int udfval=mUdf(int)) const
 
Coord getCoord (double udfval=mUdf(double)) const
 
float getOffset (float udfval=mUdf(float)) const
 
int getTrcNr (int udfval=mUdf(int)) const
 
virtual bool isUndef (int idx=0) const
 
virtual int nElems () const
 
virtual void setDefaultValue (bool val, int idx=0)
 
virtual void setDefaultValue (const char *val, int idx=0)
 
virtual void setDefaultValue (double val, int idx=0)
 
void setDefaultValue (float f, int idx=0)
 
virtual void setDefaultValue (int val, int idx=0)
 
virtual bool setText (const char *s, int idx=0)
 
Setupsetup (bool def=false)
 
const Setupsetup (bool def=false) const
 
virtual void setValue (bool val, int idx=0)
 
virtual void setValue (double val, int idx=0)
 
void setValue (float f, int idx=0)
 
virtual void setValue (int val, int idx=0)
 
virtual void setValue (od_int64 val, int idx=0)
 
virtual const char * text (int idx=0) const
 
float value (int idx=0) 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 float getDefaultfValue (int idx=0) const
 
virtual int getDefaultIntValue (int idx=0) const
 
virtual const char * getDefaultStringValue (int idx=0) const
 
virtual double getDefaultValue (int idx=0) const
 
virtual double getDValue (int idx=0) const
 
double getdValue (int idx=0) const
 
virtual float getFValue (int idx=0) const
 
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
 
virtual bool isInsideLimits (int idx=0) const
 
virtual const char * name (int idx=0) const
 
virtual DataInpSpecsetName (const char *, int idx=0)
 
DataType type () const
 
bool usePar (const IOPar &)
 

Protected Member Functions

float getVal (const Setup &, int) const
 
void setVal (Setup &, int, float)
 
- Protected Member Functions inherited from DataInpSpec
void setType (DataType t)
 

Protected Attributes

Setup defsetup_
 
Setup setup_
 
- Protected Attributes inherited from DataInpSpec
TypeSet< int > nameidxs_
 
BufferStringSet names_
 
bool prefempty_
 
DataType tp_
 

Detailed Description

Specifications for BinID/Coordinate/TrcNrs and offsets.

<>

Constructor & Destructor Documentation

◆ PositionInpSpec() [1/4]

PositionInpSpec::PositionInpSpec ( const Setup )

◆ PositionInpSpec() [2/4]

PositionInpSpec::PositionInpSpec ( const BinID ,
bool  isps = false 
)

◆ PositionInpSpec() [3/4]

PositionInpSpec::PositionInpSpec ( const Coord ,
bool  isps = false,
bool  is2d = false 
)

◆ PositionInpSpec() [4/4]

PositionInpSpec::PositionInpSpec ( int  trcnr,
bool  isps = false 
)

Member Function Documentation

◆ clone()

virtual DataInpSpec* PositionInpSpec::clone ( ) const
inlinevirtual

Implements DataInpSpec.

◆ defaultValue()

float PositionInpSpec::defaultValue ( int  idx = 0) const
inline

◆ getBinID()

BinID PositionInpSpec::getBinID ( int  udfval = mUdf(int)) const

◆ getCoord()

Coord PositionInpSpec::getCoord ( double  udfval = mUdf(double)) const

◆ getOffset()

float PositionInpSpec::getOffset ( float  udfval = mUdf(float)) const

◆ getTrcNr()

int PositionInpSpec::getTrcNr ( int  udfval = mUdf(int)) const

◆ getVal()

float PositionInpSpec::getVal ( const Setup ,
int   
) const
protected

◆ isUndef()

virtual bool PositionInpSpec::isUndef ( int  idx = 0) const
virtual

Implements DataInpSpec.

◆ nElems()

virtual int PositionInpSpec::nElems ( ) const
virtual

Reimplemented from DataInpSpec.

◆ setDefaultValue() [1/5]

virtual void PositionInpSpec::setDefaultValue ( bool  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setDefaultValue() [2/5]

virtual void PositionInpSpec::setDefaultValue ( const char *  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setDefaultValue() [3/5]

virtual void PositionInpSpec::setDefaultValue ( double  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setDefaultValue() [4/5]

void PositionInpSpec::setDefaultValue ( float  f,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setDefaultValue() [5/5]

virtual void PositionInpSpec::setDefaultValue ( int  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setText()

virtual bool PositionInpSpec::setText ( const char *  s,
int  idx = 0 
)
virtual

Implements DataInpSpec.

◆ setup() [1/2]

Setup& PositionInpSpec::setup ( bool  def = false)
inline

◆ setup() [2/2]

const Setup& PositionInpSpec::setup ( bool  def = false) const
inline

◆ setVal()

void PositionInpSpec::setVal ( Setup ,
int  ,
float   
)
protected

◆ setValue() [1/5]

virtual void PositionInpSpec::setValue ( bool  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setValue() [2/5]

virtual void PositionInpSpec::setValue ( double  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setValue() [3/5]

void PositionInpSpec::setValue ( float  f,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setValue() [4/5]

virtual void PositionInpSpec::setValue ( int  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ setValue() [5/5]

virtual void PositionInpSpec::setValue ( od_int64  val,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

◆ text()

virtual const char* PositionInpSpec::text ( int  idx = 0) const
virtual

Implements DataInpSpec.

◆ value()

float PositionInpSpec::value ( int  idx = 0) const
inline

Member Data Documentation

◆ defsetup_

Setup PositionInpSpec::defsetup_
protected

◆ setup_

Setup PositionInpSpec::setup_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022