OpendTect-6_4  6.4
Public Member Functions | Private Member Functions | List of all members
Attrib::BoolParam Class Reference

Bool parameter that is used by an attribute. More...

Inheritance diagram for Attrib::BoolParam:
[legend]

Public Member Functions

 BoolParam (const char *)
 
 BoolParam (const char *, bool, bool isreq=true)
 
BoolParamclone () const
 
virtual bool setCompositeValue (const char *)
 
BufferString getDefaultValue () const
 
bool isSet () const
 
void setSet (bool yn=true)
 
- Public Member Functions inherited from Attrib::ValParam
 ValParam (const char *key, DataInpSpec *)
 
 ValParam (const ValParam &)
 
 ~ValParam ()
 
virtual bool isOK () const
 
int nrValues () const
 
virtual int getIntValue (int idx=0) const
 
virtual float getFValue (int idx=0) const
 
virtual double getDValue (int idx=0) const
 
bool getBoolValue (int idx=0) const
 
const char * getStringValue (int idx=0) const
 
void setValue (int, int idx=0)
 
void setValue (float, int idx=0)
 
void setValue (bool, int idx=0)
 
void setValue (const char *, int idx=0)
 
void setValue (double, int idx=0)
 
virtual int getDefaultIntValue (int idx=0) const
 
virtual float getDefaultfValue (int idx=0) const
 
bool getDefaultBoolValue (int idx=0) const
 
const char * getDefaultStringValue (int idx=0) const
 
virtual double getDefaultdValue (int idx=0) const
 
void setDefaultValue (int, int idx=0)
 
void setDefaultValue (float, int idx=0)
 
void setDefaultValue (bool, int idx=0)
 
void setDefaultValue (const char *, int idx=0)
 
void setDefaultValue (double, int idx=0)
 
DataInpSpecgetSpec ()
 
const DataInpSpecgetSpec () const
 
virtual bool getCompositeValue (BufferString &) const
 
virtual void fillDefStr (BufferString &) const
 
float getfValue (int idx=0) const
 
double getdValue (int idx=0) const
 
- Public Member Functions inherited from Attrib::Param
 Param (const char *key)
 
 Param (const Param &)
 
virtual ~Param ()
 
bool operator== (const Param &p) const
 
bool operator!= (const Param &p) const
 
bool isEnabled () const
 
void setEnabled (bool yn=true)
 
bool isRequired () const
 
void setRequired (bool yn=true)
 
bool isGroup () const
 
FixedString getKey () const
 
virtual bool setValues (BufferStringSet &)
 
void setKey (const char *newkey)
 

Private Member Functions

 mODTextTranslationClass (BoolParam)
 

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
BufferString key_
 
bool isgroup_
 
bool enabled_
 
bool required_
 

Detailed Description

Bool parameter that is used by an attribute.

Constructor & Destructor Documentation

Attrib::BoolParam::BoolParam ( const char *  )
Attrib::BoolParam::BoolParam ( const char *  ,
bool  ,
bool  isreq = true 
)

Member Function Documentation

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

Reimplemented from Attrib::ValParam.

BufferString Attrib::BoolParam::getDefaultValue ( ) const
virtual

Reimplemented from Attrib::ValParam.

bool Attrib::BoolParam::isSet ( ) const
Attrib::BoolParam::mODTextTranslationClass ( BoolParam  )
private
virtual bool Attrib::BoolParam::setCompositeValue ( const char *  )
virtual

Set all values from one composite string.

Reimplemented from Attrib::ValParam.

void Attrib::BoolParam::setSet ( bool  yn = true)

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