A (usually petrophysical) property of some object. More...
Classes | |
| class | EvalOpts |
Public Member Functions | |
| Property (const PropertyRef &pr) | |
| virtual | ~Property () |
| const PropertyRef & | ref () const |
| const char * | name () const |
| virtual bool | init (const PropertySet &) const |
| clears 'memory' and makes property usable | |
| virtual const char * | errMsg () const |
| virtual bool | isUdf () const =0 |
| virtual bool | dependsOn (const Property &) const |
| virtual const char * | type () const =0 |
| virtual const char * | def () const =0 |
| virtual void | setDef (const char *)=0 |
| mDefineFactory1ParamInClass (Property, const PropertyRef &, factory) | |
| virtual float | value (EvalOpts eo=EvalOpts()) const =0 |
Protected Attributes | |
| const PropertyRef & | ref_ |
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(). Some Properties do not return constant values. The parameters can be set in EvalOpts.
| Property::Property | ( | const PropertyRef & | pr | ) | [inline] |
| virtual Property::~Property | ( | ) | [inline, virtual] |
| virtual const char* Property::def | ( | ) | const [pure virtual] |
Implemented in ValueProperty, RangeProperty, and MathProperty.
| virtual bool Property::dependsOn | ( | const Property & | ) | const [inline, virtual] |
Reimplemented in MathProperty.
| virtual const char* Property::errMsg | ( | ) | const [inline, virtual] |
Reimplemented in MathProperty.
| virtual bool Property::init | ( | const PropertySet & | ) | const [inline, virtual] |
clears 'memory' and makes property usable
Reimplemented in MathProperty.
| virtual bool Property::isUdf | ( | ) | const [pure virtual] |
Implemented in ValueProperty, RangeProperty, and MathProperty.
| Property::mDefineFactory1ParamInClass | ( | Property | , | |
| const PropertyRef & | , | |||
| factory | ||||
| ) |
| const char* Property::name | ( | ) | const |
| const PropertyRef& Property::ref | ( | ) | const [inline] |
| virtual void Property::setDef | ( | const char * | ) | [pure virtual] |
Implemented in ValueProperty, RangeProperty, and MathProperty.
| virtual const char* Property::type | ( | ) | const [pure virtual] |
Implemented in ValueProperty, RangeProperty, and MathProperty.
Implemented in ValueProperty, RangeProperty, and MathProperty.
const PropertyRef& Property::ref_ [protected] |
1.7.1