OpendTect  6.6
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ValueProperty Class Reference

Simple, single-value property. More...

Inheritance diagram for ValueProperty:
[legend]

Public Member Functions

 ValueProperty (const PropertyRef &pr)
 
 ValueProperty (const PropertyRef &pr, float v)
 
virtual ValuePropertyclone () const
 
virtual const char * def () const
 
virtual const char * factoryKeyword () const
 
virtual bool isUdf () const
 
virtual bool isValue () const
 
virtual void setDef (const char *)
 
void setValue (float v)
 
virtual const char * type () const
 
- Public Member Functions inherited from Property
 Property (const PropertyRef &pr)
 
virtual ~Property ()
 
virtual bool dependsOn (const Property &) const
 
virtual uiString errMsg () const
 
void fillPar (IOPar &) const
 
virtual bool init (const PropertySet &) const
 clears 'memory' and makes property usable More...
 
bool isEqualTo (const Property &) const
 
const Mnemonicmnem () const
 
const char * name () const
 
const PropertyRefref () const
 
virtual void reset ()
 
void usePar (const IOPar &)
 
float value (EvalOpts eo=EvalOpts()) const
 

Static Public Member Functions

static Propertycreate (const PropertyRef &r)
 
static void initClass ()
 
static const char * typeStr ()
 
- Static Public Member Functions inherited from Property
static Propertyget (const IOPar &)
 

Public Attributes

float val_
 

Protected Member Functions

virtual float gtVal (EvalOpts) const
 

Additional Inherited Members

- Protected Attributes inherited from Property
float lastval_
 
const Mnemonicmn_
 
const PropertyRefref_
 

Detailed Description

Simple, single-value property.

<>

Constructor & Destructor Documentation

◆ ValueProperty() [1/2]

ValueProperty::ValueProperty ( const PropertyRef pr)
inline

◆ ValueProperty() [2/2]

ValueProperty::ValueProperty ( const PropertyRef pr,
float  v 
)
inline

Member Function Documentation

◆ clone()

virtual ValueProperty* ValueProperty::clone ( ) const
inlinevirtual

Implements Property.

◆ create()

static Property* ValueProperty::create ( const PropertyRef r)
inlinestatic

◆ def()

virtual const char* ValueProperty::def ( ) const
virtual

Implements Property.

◆ factoryKeyword()

virtual const char* ValueProperty::factoryKeyword ( ) const
inlinevirtual

◆ gtVal()

virtual float ValueProperty::gtVal ( EvalOpts  ) const
protectedvirtual

Implements Property.

◆ initClass()

static void ValueProperty::initClass ( )
inlinestatic

◆ isUdf()

virtual bool ValueProperty::isUdf ( ) const
virtual

Implements Property.

◆ isValue()

virtual bool ValueProperty::isValue ( ) const
inlinevirtual

Reimplemented from Property.

◆ setDef()

virtual void ValueProperty::setDef ( const char *  )
virtual

Implements Property.

◆ setValue()

void ValueProperty::setValue ( float  v)
inline

◆ type()

virtual const char* ValueProperty::type ( ) const
inlinevirtual

Implements Property.

◆ typeStr()

static const char* ValueProperty::typeStr ( )
inlinestatic

Member Data Documentation

◆ val_

float ValueProperty::val_

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