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

Range of values. pos_ is usually in [0,1]. More...

Inheritance diagram for RangeProperty:
[legend]

Public Member Functions

 RangeProperty (const PropertyRef &pr)
 
 RangeProperty (const PropertyRef &pr, Interval< float > rg)
 
virtual RangePropertyclone () const
 
virtual const char * def () const
 
virtual const char * factoryKeyword () const
 
virtual bool isUdf () const
 
virtual void setDef (const char *)
 
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
 
virtual bool isValue () 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

Interval< float > rg_
 

Protected Member Functions

float gtAvgVal () const
 
virtual float gtVal (EvalOpts) const
 

Additional Inherited Members

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

Detailed Description

Range of values. pos_ is usually in [0,1].

<>

Constructor & Destructor Documentation

◆ RangeProperty() [1/2]

RangeProperty::RangeProperty ( const PropertyRef pr)
inline

◆ RangeProperty() [2/2]

RangeProperty::RangeProperty ( const PropertyRef pr,
Interval< float >  rg 
)
inline

Member Function Documentation

◆ clone()

virtual RangeProperty* RangeProperty::clone ( ) const
inlinevirtual

Implements Property.

◆ create()

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

◆ def()

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

Implements Property.

◆ factoryKeyword()

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

◆ gtAvgVal()

float RangeProperty::gtAvgVal ( ) const
protected

◆ gtVal()

virtual float RangeProperty::gtVal ( EvalOpts  ) const
protectedvirtual

Implements Property.

◆ initClass()

static void RangeProperty::initClass ( )
inlinestatic

◆ isUdf()

virtual bool RangeProperty::isUdf ( ) const
virtual

Implements Property.

◆ setDef()

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

Implements Property.

◆ type()

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

Implements Property.

◆ typeStr()

static const char* RangeProperty::typeStr ( )
inlinestatic

Member Data Documentation

◆ rg_

Interval<float> RangeProperty::rg_

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