OpendTect-6_4  6.4
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 bool isValue () const
 
virtual const char * type () const
 
virtual const char * factoryKeyword () const
 
virtual ValuePropertyclone () const
 
virtual const char * def () const
 
virtual void setDef (const char *)
 
virtual bool isUdf () const
 
void setValue (float v)
 
- Public Member Functions inherited from Property
 Property (const PropertyRef &pr)
 
virtual ~Property ()
 
bool isEqualTo (const Property &) const
 
const PropertyRefref () const
 
const char * name () const
 
virtual void reset ()
 
virtual bool init (const PropertySet &) const
 clears 'memory' and makes property usable More...
 
virtual uiString errMsg () const
 
virtual bool dependsOn (const Property &) const
 
void fillPar (IOPar &) const
 
void usePar (const IOPar &)
 
 mDefineFactory1ParamInClass (Property, const PropertyRef &, factory)
 
float value (EvalOpts eo=EvalOpts()) const
 

Static Public Member Functions

static const char * typeStr ()
 
static Propertycreate (const PropertyRef &r)
 
static void initClass ()
 
- 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
const PropertyRefref_
 
float lastval_
 

Detailed Description

Simple, single-value property.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual ValueProperty* ValueProperty::clone ( ) const
inlinevirtual

Implements Property.

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

Implements Property.

virtual const char* ValueProperty::factoryKeyword ( ) const
inlinevirtual
virtual float ValueProperty::gtVal ( EvalOpts  ) const
protectedvirtual

Implements Property.

static void ValueProperty::initClass ( )
inlinestatic
virtual bool ValueProperty::isUdf ( ) const
virtual

Implements Property.

virtual bool ValueProperty::isValue ( ) const
inlinevirtual

Reimplemented from Property.

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

Implements Property.

void ValueProperty::setValue ( float  v)
inline
virtual const char* ValueProperty::type ( ) const
inlinevirtual

Implements Property.

static const char* ValueProperty::typeStr ( )
inlinestatic

Member Data Documentation

float ValueProperty::val_

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