OpendTect-6_4  6.4
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
StringInpSpec Class Reference

Specifications for character string inputs. More...

Inheritance diagram for StringInpSpec:
[legend]

Public Member Functions

 StringInpSpec (const char *s=0)
 
virtual bool isUndef (int idx=0) const
 
virtual DataInpSpecclone () const
 
const char * text () const
 
virtual bool setText (const char *, int idx=0)
 
virtual const char * text (int) const
 
void setDefaultValue (const char *, int)
 
const char * getDefaultStringValue (int) const
 
virtual void setDefaultValue (int val, int idx=0)
 
virtual void setDefaultValue (float val, int idx=0)
 
virtual void setDefaultValue (double val, int idx=0)
 
virtual void setDefaultValue (bool val, int idx=0)
 
- Public Member Functions inherited from DataInpSpec
double getdValue (int idx=0) const
 
float getfValue (int idx=0) const
 

Protected Attributes

bool isUndef_
 
BufferString str_
 
BufferString defaultstr_
 
- Protected Attributes inherited from DataInpSpec
DataType tp_
 
bool prefempty_
 
TypeSet< int > nameidxs_
 
BufferStringSet names_
 

Private Member Functions

 mODTextTranslationClass (StringInpSpec)
 

Additional Inherited Members

- Protected Member Functions inherited from DataInpSpec
void setType (DataType t)
 

Detailed Description

Specifications for character string inputs.

Constructor & Destructor Documentation

StringInpSpec::StringInpSpec ( const char *  s = 0)

Member Function Documentation

virtual DataInpSpec* StringInpSpec::clone ( ) const
virtual

Implements DataInpSpec.

Reimplemented in FileNameInpSpec.

const char* StringInpSpec::getDefaultStringValue ( int  ) const
virtual

Reimplemented from DataInpSpec.

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

Implements DataInpSpec.

StringInpSpec::mODTextTranslationClass ( StringInpSpec  )
private
void StringInpSpec::setDefaultValue ( const char *  ,
int   
)
virtual

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Reimplemented from DataInpSpec.

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

Implements DataInpSpec.

const char* StringInpSpec::text ( ) const
virtual const char* StringInpSpec::text ( int  ) const
virtual

Implements DataInpSpec.

Member Data Documentation

BufferString StringInpSpec::defaultstr_
protected
bool StringInpSpec::isUndef_
protected
BufferString StringInpSpec::str_
protected

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