OpendTect-6_4  6.4
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | 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 Setup &)
 
 PositionInpSpec (const BinID &, bool isps=false)
 
 PositionInpSpec (const Coord &, bool isps=false, bool is2d=false)
 
 PositionInpSpec (int trcnr, bool isps=false)
 
virtual DataInpSpecclone () const
 
virtual int nElems () const
 
float value (int idx=0) const
 
void setValue (float f, int idx=0)
 
virtual void setValue (int val, int idx=0)
 
virtual void setValue (bool val, int idx=0)
 
virtual void setValue (double val, int idx=0)
 
virtual bool isUndef (int idx=0) const
 
virtual const char * text (int idx=0) const
 
virtual bool setText (const char *s, int idx=0)
 
float defaultValue (int idx=0) const
 
void setDefaultValue (float f, int idx=0)
 
virtual void setDefaultValue (int val, int idx=0)
 
virtual void setDefaultValue (const char *val, int idx=0)
 
virtual void setDefaultValue (double val, int idx=0)
 
virtual void setDefaultValue (bool val, int idx=0)
 
Setupsetup (bool def=false)
 
const Setupsetup (bool def=false) const
 
Coord getCoord (double udfval=mUdf(double)) const
 
BinID getBinID (int udfval=mUdf(int)) const
 
int getTrcNr (int udfval=mUdf(int)) const
 
float getOffset (float udfval=mUdf(float)) const
 
- Public Member Functions inherited from DataInpSpec
double getdValue (int idx=0) const
 
float getfValue (int idx=0) const
 

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

Private Member Functions

 mODTextTranslationClass (PositionInpSpec)
 

Detailed Description

Specifications for BinID/Coordinate/TrcNrs and offsets.

Constructor & Destructor Documentation

PositionInpSpec::PositionInpSpec ( const Setup )
PositionInpSpec::PositionInpSpec ( const BinID ,
bool  isps = false 
)
PositionInpSpec::PositionInpSpec ( const Coord ,
bool  isps = false,
bool  is2d = false 
)
PositionInpSpec::PositionInpSpec ( int  trcnr,
bool  isps = false 
)

Member Function Documentation

virtual DataInpSpec* PositionInpSpec::clone ( ) const
inlinevirtual

Implements DataInpSpec.

float PositionInpSpec::defaultValue ( int  idx = 0) const
inline
BinID PositionInpSpec::getBinID ( int  udfval = mUdf(int)) const
Coord PositionInpSpec::getCoord ( double  udfval = mUdf(double)) const
float PositionInpSpec::getOffset ( float  udfval = mUdf(float)) const
int PositionInpSpec::getTrcNr ( int  udfval = mUdf(int)) const
float PositionInpSpec::getVal ( const Setup ,
int   
) const
protected
virtual bool PositionInpSpec::isUndef ( int  idx = 0) const
virtual

Implements DataInpSpec.

PositionInpSpec::mODTextTranslationClass ( PositionInpSpec  )
private
virtual int PositionInpSpec::nElems ( ) const
virtual

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Implements DataInpSpec.

Setup& PositionInpSpec::setup ( bool  def = false)
inline
const Setup& PositionInpSpec::setup ( bool  def = false) const
inline
void PositionInpSpec::setVal ( Setup ,
int  ,
float   
)
protected
void PositionInpSpec::setValue ( float  f,
int  idx = 0 
)
inlinevirtual

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Implements DataInpSpec.

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

Member Data Documentation

Setup PositionInpSpec::defsetup_
protected
Setup PositionInpSpec::setup_
protected

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