![]() |
OpendTect 8.0
|
Refcounted Formula snapshot. More...
#include <mathformula.h>
Public Member Functions | |
| SharedFormula (const Formula &) | |
| Formula & | form () |
| const Formula & | form () const |
Public Member Functions inherited from RefCount::Referenced | |
| void | addObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. | |
| int | nrRefs () const |
| Only for expert use. | |
| void | ref () const |
| bool | refIfReffed () const |
| Don't use in production, for debugging. | |
| void | removeObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. | |
| bool | tryRef () const |
| Not for normal use. May become private. | |
| void | unRef () const |
| void | unRefNoDelete () const |
Protected Member Functions | |
| ~SharedFormula () | |
Protected Member Functions inherited from RefCount::Referenced | |
| Referenced () | |
| Referenced (const Referenced &) | |
| virtual | ~Referenced () |
| Referenced & | operator= (const Referenced &) |
Private Attributes | |
| Formula | form_ |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCount::Referenced | |
| static bool | isSane (const Referenced *) |
Refcounted Formula snapshot.
Many objects can share one SharedFormula to avoid cloning the formula while remaining safe if the originating Formula destroyed.
| Math::SharedFormula::SharedFormula | ( | const Formula & | ) |
|
protected |
| Formula & Math::SharedFormula::form | ( | ) |
| const Formula & Math::SharedFormula::form | ( | ) | const |
|
private |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2026