OpendTect  6.6
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Attrib::ValParam Class Reference

Attribute Value Parameter. More...

Inheritance diagram for Attrib::ValParam:
[legend]

Public Member Functions

 ValParam (const char *key, DataInpSpec *)
 
 ValParam (const ValParam &)
 
 ~ValParam ()
 
virtual ValParamclone () const
 
virtual void fillDefStr (BufferString &) const
 
bool getBoolValue (int idx=0) const
 
virtual bool getCompositeValue (BufferString &) 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 BufferString getDefaultValue () 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
 
virtual bool setCompositeValue (const char *)
 
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 &)
 

Protected Member Functions

virtual bool isEqual (const Param &) const
 
- Protected Member Functions inherited from Attrib::Param
bool _isEqual (const Param &p) const
 

Protected Attributes

DataInpSpecspec_
 
- Protected Attributes inherited from Attrib::Param
bool enabled_
 
bool isgroup_
 
BufferString key_
 
bool required_
 

Detailed Description

Attribute Value Parameter.

<>

Constructor & Destructor Documentation

◆ ValParam() [1/2]

Attrib::ValParam::ValParam ( const char *  key,
DataInpSpec  
)

◆ ValParam() [2/2]

Attrib::ValParam::ValParam ( const ValParam )

◆ ~ValParam()

Attrib::ValParam::~ValParam ( )

Member Function Documentation

◆ clone()

virtual ValParam* Attrib::ValParam::clone ( ) const
virtual

◆ fillDefStr()

virtual void Attrib::ValParam::fillDefStr ( BufferString ) const
virtual

Implements Attrib::Param.

Reimplemented in Attrib::EnumParam.

◆ getBoolValue()

bool Attrib::ValParam::getBoolValue ( int  idx = 0) const

◆ getCompositeValue()

virtual bool Attrib::ValParam::getCompositeValue ( BufferString ) const
virtual

Put all values into one string.

Implements Attrib::Param.

Reimplemented in Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, and Attrib::BinIDParam.

◆ getDefaultBoolValue()

bool Attrib::ValParam::getDefaultBoolValue ( int  idx = 0) const

◆ getDefaultdValue()

virtual double Attrib::ValParam::getDefaultdValue ( int  idx = 0) const
virtual

◆ getDefaultfValue()

virtual float Attrib::ValParam::getDefaultfValue ( int  idx = 0) const
virtual

◆ getDefaultIntValue()

virtual int Attrib::ValParam::getDefaultIntValue ( int  idx = 0) const
virtual

◆ getDefaultStringValue()

const char* Attrib::ValParam::getDefaultStringValue ( int  idx = 0) const

◆ getDefaultValue()

virtual BufferString Attrib::ValParam::getDefaultValue ( ) const
inlinevirtual

◆ getDValue()

virtual double Attrib::ValParam::getDValue ( int  idx = 0) const
virtual

Reimplemented in Attrib::NumParam< T >.

◆ getdValue()

double Attrib::ValParam::getdValue ( int  idx = 0) const
inline

◆ getFValue()

virtual float Attrib::ValParam::getFValue ( int  idx = 0) const
virtual

Reimplemented in Attrib::NumParam< T >.

◆ getfValue()

float Attrib::ValParam::getfValue ( int  idx = 0) const
inline

◆ getIntValue()

virtual int Attrib::ValParam::getIntValue ( int  idx = 0) const
virtual

Reimplemented in Attrib::NumParam< T >.

◆ getSpec() [1/2]

DataInpSpec* Attrib::ValParam::getSpec ( )
inline

◆ getSpec() [2/2]

const DataInpSpec* Attrib::ValParam::getSpec ( ) const
inline

◆ getStringValue()

const char* Attrib::ValParam::getStringValue ( int  idx = 0) const

◆ isEqual()

virtual bool Attrib::ValParam::isEqual ( const Param ) const
protectedvirtual

Implements Attrib::Param.

◆ isOK()

virtual bool Attrib::ValParam::isOK ( ) const
virtual

Implements Attrib::Param.

Reimplemented in Attrib::SeisStorageRefParam.

◆ nrValues()

int Attrib::ValParam::nrValues ( ) const

◆ setCompositeValue()

virtual bool Attrib::ValParam::setCompositeValue ( const char *  )
virtual

Set all values from one composite string.

Reimplemented from Attrib::Param.

Reimplemented in Attrib::NumGateParam< T >, Attrib::NumParam< T >, Attrib::StringParam, Attrib::BoolParam, and Attrib::BinIDParam.

◆ setDefaultValue() [1/5]

void Attrib::ValParam::setDefaultValue ( bool  ,
int  idx = 0 
)

◆ setDefaultValue() [2/5]

void Attrib::ValParam::setDefaultValue ( const char *  ,
int  idx = 0 
)

◆ setDefaultValue() [3/5]

void Attrib::ValParam::setDefaultValue ( double  ,
int  idx = 0 
)

◆ setDefaultValue() [4/5]

void Attrib::ValParam::setDefaultValue ( float  ,
int  idx = 0 
)

◆ setDefaultValue() [5/5]

void Attrib::ValParam::setDefaultValue ( int  ,
int  idx = 0 
)

◆ setValue() [1/5]

void Attrib::ValParam::setValue ( bool  ,
int  idx = 0 
)

◆ setValue() [2/5]

void Attrib::ValParam::setValue ( const char *  ,
int  idx = 0 
)

◆ setValue() [3/5]

void Attrib::ValParam::setValue ( double  ,
int  idx = 0 
)

◆ setValue() [4/5]

void Attrib::ValParam::setValue ( float  ,
int  idx = 0 
)

◆ setValue() [5/5]

void Attrib::ValParam::setValue ( int  ,
int  idx = 0 
)

Member Data Documentation

◆ spec_

DataInpSpec* Attrib::ValParam::spec_
protected

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