OpendTect  6.6
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Property Class Referenceabstract

A (usually petrophysical) property of some object. More...

Inheritance diagram for Property:
[legend]

Classes

class  EvalOpts
 

Public Member Functions

 Property (const PropertyRef &pr)
 
virtual ~Property ()
 
virtual Propertyclone () const =0
 
virtual const char * def () const =0
 
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 isUdf () const =0
 
virtual bool isValue () const
 
const Mnemonicmnem () const
 
const char * name () const
 
const PropertyRefref () const
 
virtual void reset ()
 
virtual void setDef (const char *)=0
 
virtual const char * type () const =0
 
void usePar (const IOPar &)
 
float value (EvalOpts eo=EvalOpts()) const
 

Static Public Member Functions

static Propertyget (const IOPar &)
 

Protected Member Functions

virtual float gtVal (EvalOpts) const =0
 

Protected Attributes

float lastval_
 
const Mnemonicmn_
 
const PropertyRefref_
 

Detailed Description

A (usually petrophysical) property of some object.

Its purpose is to provide a value when asked. Some Property's have a 'memory'. These can be cleared using reset(). Most Properties do not return constant values. The parameters can be set in EvalOpts.

<>

Constructor & Destructor Documentation

◆ Property()

Property::Property ( const PropertyRef pr)

◆ ~Property()

virtual Property::~Property ( )
inlinevirtual

Member Function Documentation

◆ clone()

virtual Property* Property::clone ( ) const
pure virtual

Implemented in RangeProperty, ValueProperty, and MathProperty.

◆ def()

virtual const char* Property::def ( ) const
pure virtual

Implemented in RangeProperty, ValueProperty, and MathProperty.

◆ dependsOn()

virtual bool Property::dependsOn ( const Property ) const
inlinevirtual

Reimplemented in MathProperty.

◆ errMsg()

virtual uiString Property::errMsg ( ) const
inlinevirtual

Reimplemented in MathProperty.

◆ fillPar()

void Property::fillPar ( IOPar ) const

◆ get()

static Property* Property::get ( const IOPar )
static

◆ gtVal()

virtual float Property::gtVal ( EvalOpts  ) const
protectedpure virtual

Implemented in RangeProperty, ValueProperty, and MathProperty.

◆ init()

virtual bool Property::init ( const PropertySet ) const
virtual

clears 'memory' and makes property usable

Reimplemented in MathProperty.

◆ isEqualTo()

bool Property::isEqualTo ( const Property ) const

◆ isUdf()

virtual bool Property::isUdf ( ) const
pure virtual

Implemented in RangeProperty, ValueProperty, and MathProperty.

◆ isValue()

virtual bool Property::isValue ( ) const
inlinevirtual

Reimplemented in ValueProperty.

◆ mnem()

const Mnemonic* Property::mnem ( ) const
inline

◆ name()

const char* Property::name ( ) const

◆ ref()

const PropertyRef& Property::ref ( ) const
inline

◆ reset()

virtual void Property::reset ( )
inlinevirtual

◆ setDef()

virtual void Property::setDef ( const char *  )
pure virtual

Implemented in RangeProperty, ValueProperty, and MathProperty.

◆ type()

virtual const char* Property::type ( ) const
pure virtual

Implemented in RangeProperty, ValueProperty, and MathProperty.

◆ usePar()

void Property::usePar ( const IOPar )

◆ value()

float Property::value ( EvalOpts  eo = EvalOpts()) const
inline

Member Data Documentation

◆ lastval_

float Property::lastval_
mutableprotected

◆ mn_

const Mnemonic* Property::mn_
protected

◆ ref_

const PropertyRef& Property::ref_
protected

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