OpendTect  6.6
Public Member Functions | List of all members
Attrib::NumGateParam< T > Class Template Reference

Gate parameter that is used by an attribute. For example: IntGateParam, FloatGateParam, DoubleGateParam and ZGateParam. More...

Inheritance diagram for Attrib::NumGateParam< T >:
[legend]

Public Member Functions

 NumGateParam (const char *key)
 
 NumGateParam (const char *key, const Interval< T > &defaultgate, bool isreq=true)
 
 NumGateParam (const NumGateParam< T > &)
 
virtual NumGateParam< T > * clone () const
 
virtual bool getCompositeValue (BufferString &res) const
 
Interval< T > getDefaultGateValue () const
 
virtual BufferString getDefaultValue () const
 
Interval< T > getValue () const
 
virtual bool setCompositeValue (const char *)
 
void setDefaultValue (const Interval< T > &)
 
void setLimits (const Interval< T > &)
 
void setLimits (T start, T stop)
 
void setValue (const Interval< T > &)
 
void toString (BufferString &, const Interval< T > &) const
 
- Public Member Functions inherited from Attrib::ValParam
 ValParam (const char *key, DataInpSpec *)
 
 ValParam (const ValParam &)
 
 ~ValParam ()
 
virtual void fillDefStr (BufferString &) const
 
bool getBoolValue (int idx=0) const
 
bool getDefaultBoolValue (int idx=0) const
 
virtual double getDefaultdValue (int idx=0) const
 
virtual float getDefaultfValue (int idx=0) const
 
virtual int getDefaultIntValue (int idx=0) const
 
const char * getDefaultStringValue (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 int getIntValue (int idx=0) const
 
DataInpSpecgetSpec ()
 
const DataInpSpecgetSpec () const
 
const char * getStringValue (int idx=0) const
 
virtual bool isOK () const
 
int nrValues () const
 
void setDefaultValue (bool, int idx=0)
 
void setDefaultValue (const char *, int idx=0)
 
void setDefaultValue (double, int idx=0)
 
void setDefaultValue (float, int idx=0)
 
void setDefaultValue (int, int idx=0)
 
void setValue (bool, int idx=0)
 
void setValue (const char *, int idx=0)
 
void setValue (double, int idx=0)
 
void setValue (float, int idx=0)
 
void setValue (int, int idx=0)
 
- Public Member Functions inherited from Attrib::Param
 Param (const char *key)
 
 Param (const Param &)
 
virtual ~Param ()
 
FixedString getKey () const
 
bool isEnabled () const
 
bool isGroup () const
 
bool isRequired () const
 
bool operator!= (const Param &p) const
 
bool operator== (const Param &p) const
 
void setEnabled (bool yn=true)
 
void setKey (const char *newkey)
 
void setRequired (bool yn=true)
 
virtual bool setValues (BufferStringSet &)
 

Additional Inherited Members

- Protected Member Functions inherited from Attrib::ValParam
virtual bool isEqual (const Param &) const
 
- Protected Member Functions inherited from Attrib::Param
bool _isEqual (const Param &p) const
 
- Protected Attributes inherited from Attrib::ValParam
DataInpSpecspec_
 
- Protected Attributes inherited from Attrib::Param
bool enabled_
 
bool isgroup_
 
BufferString key_
 
bool required_
 

Detailed Description

template<class T>
class Attrib::NumGateParam< T >

Gate parameter that is used by an attribute. For example: IntGateParam, FloatGateParam, DoubleGateParam and ZGateParam.

<>

Constructor & Destructor Documentation

◆ NumGateParam() [1/3]

template<class T >
Attrib::NumGateParam< T >::NumGateParam ( const char *  key)
inline

◆ NumGateParam() [2/3]

template<class T >
Attrib::NumGateParam< T >::NumGateParam ( const char *  key,
const Interval< T > &  defaultgate,
bool  isreq = true 
)

◆ NumGateParam() [3/3]

template<class T >
Attrib::NumGateParam< T >::NumGateParam ( const NumGateParam< T > &  np)

Member Function Documentation

◆ clone()

template<class T >
virtual NumGateParam<T>* Attrib::NumGateParam< T >::clone ( ) const
inlinevirtual

Reimplemented from Attrib::ValParam.

◆ getCompositeValue()

template<class T >
bool Attrib::NumGateParam< T >::getCompositeValue ( BufferString ) const
virtual

Put all values into one string.

Reimplemented from Attrib::ValParam.

◆ getDefaultGateValue()

template<class T >
Interval< T > Attrib::NumGateParam< T >::getDefaultGateValue

◆ getDefaultValue()

template<class T >
BufferString Attrib::NumGateParam< T >::getDefaultValue
virtual

Reimplemented from Attrib::ValParam.

◆ getValue()

template<class T >
Interval< T > Attrib::NumGateParam< T >::getValue

◆ setCompositeValue()

template<class T >
bool Attrib::NumGateParam< T >::setCompositeValue ( const char *  )
virtual

Set all values from one composite string.

Reimplemented from Attrib::ValParam.

◆ setDefaultValue()

template<class T >
void Attrib::NumGateParam< T >::setDefaultValue ( const Interval< T > &  defgate)

◆ setLimits() [1/2]

template<class T >
void Attrib::NumGateParam< T >::setLimits ( const Interval< T > &  limit)

◆ setLimits() [2/2]

template<class T >
void Attrib::NumGateParam< T >::setLimits ( start,
stop 
)

◆ setValue()

template<class T >
void Attrib::NumGateParam< T >::setValue ( const Interval< T > &  gate)

◆ toString()

template<class T >
void Attrib::NumGateParam< T >::toString ( BufferString res,
const Interval< T > &  gate 
) const

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