OpendTect-6_4  6.4
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends | List of all members
PropertyRef Class Reference

Ref Data for a (usually petrophysical) property. More...

Inheritance diagram for PropertyRef:
[legend]

Public Types

enum  StdType {
  Anis, Area, Class, Comp,
  Den, Dist, ElaRa, ElPot,
  GR, Imp, Perm, Pres,
  PresGrad, PresWt, Res, Son,
  Temp, Time, Vel, Volum,
  Vol, Other
}
 

Public Member Functions

 mDeclareEnumUtils (StdType) static StdType surveyZType()
 
 PropertyRef (const char *nm, StdType t=Other)
 
 PropertyRef (const PropertyRef &pr)
 
virtual ~PropertyRef ()
 
PropertyRefoperator= (const PropertyRef &)
 
bool operator== (const PropertyRef &pr) const
 
bool operator!= (const PropertyRef &pr) const
 
bool isKnownAs (const char *) const
 
bool hasFixedDef () const
 
StdType stdType () const
 
bool hasType (StdType t) const
 
bool isCompatibleWith (const PropertyRef &pr) const
 
void setStdType (StdType t)
 
void setFixedDef (const MathProperty *)
 copy will be made More...
 
BufferStringSetaliases ()
 
const BufferStringSetaliases () const
 
const MathPropertyfixedDef () const
 be sure hasFixedDef() returns true! More...
 
 struct (General) DispDefs
 
bool isThickness () const
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=0)
 
 NamedObject (const NamedObject *linkedto)
 
 NamedObject (const NamedObject &)
 
virtual ~NamedObject ()
 
void setLinkedTo (NamedObject *)
 
bool operator== (const NamedObject &oth) const
 
virtual const OD::Stringname () const
 
virtual const OD::StringannotName () const
 
virtual void setName (const char *)
 
void setCleanName (const char *)
 cleans string first More...
 
void deleteNotify (const CallBack &)
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Static Public Member Functions

static const PropertyRefundef ()
 
static const PropertyRefthickness ()
 use this always. It has automatic defaults from SI() More...
 
static const char * standardSVelStr ()
 
static const char * standardSVelAliasStr ()
 
static const char * standardPVelStr ()
 
static const char * standardPVelAliasStr ()
 
static void setThickness (const PropertyRef *)
 

Public Attributes

DispDefs disp_
 

Protected Member Functions

void usePar (const IOPar &)
 
void fillPar (IOPar &) const
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

StdType stdtype_
 
BufferStringSet aliases_
 
MathPropertymathdef_
 
- Protected Attributes inherited from NamedObject
BufferStringname_
 
NamedObjectlinkedto_
 
CallBackSetdelnotify_
 

Friends

class PropertyRefSet
 

Detailed Description

Ref Data for a (usually petrophysical) property.

We prepare for many variants of the name as is not uncommon in practice (Density, Den, Rho, RhoB, ... you know the drill). The names will be unique

Member Enumeration Documentation

Enumerator
Anis 
Area 
Class 
Comp 
Den 
Dist 
ElaRa 
ElPot 
GR 
Imp 
Perm 
Pres 
PresGrad 
PresWt 
Res 
Son 
Temp 
Time 
Vel 
Volum 
Vol 
Other 

Constructor & Destructor Documentation

PropertyRef::PropertyRef ( const char *  nm,
StdType  t = Other 
)
inline
PropertyRef::PropertyRef ( const PropertyRef pr)
inline
virtual PropertyRef::~PropertyRef ( )
virtual

Member Function Documentation

BufferStringSet& PropertyRef::aliases ( )
inline
const BufferStringSet& PropertyRef::aliases ( ) const
inline
void PropertyRef::fillPar ( IOPar ) const
protected
const MathProperty& PropertyRef::fixedDef ( ) const
inline

be sure hasFixedDef() returns true!

bool PropertyRef::hasFixedDef ( ) const
inline
bool PropertyRef::hasType ( StdType  t) const
inline
bool PropertyRef::isCompatibleWith ( const PropertyRef pr) const
inline
bool PropertyRef::isKnownAs ( const char *  ) const
bool PropertyRef::isThickness ( ) const
inline
PropertyRef::mDeclareEnumUtils ( StdType  )
bool PropertyRef::operator!= ( const PropertyRef pr) const
inline
PropertyRef& PropertyRef::operator= ( const PropertyRef )
bool PropertyRef::operator== ( const PropertyRef pr) const
inline
void PropertyRef::setFixedDef ( const MathProperty )

copy will be made

void PropertyRef::setStdType ( StdType  t)
inline
static void PropertyRef::setThickness ( const PropertyRef )
static
static const char* PropertyRef::standardPVelAliasStr ( )
inlinestatic
static const char* PropertyRef::standardPVelStr ( )
inlinestatic
static const char* PropertyRef::standardSVelAliasStr ( )
inlinestatic
static const char* PropertyRef::standardSVelStr ( )
inlinestatic
StdType PropertyRef::stdType ( ) const
inline
PropertyRef::struct ( General  )
inline

< Internal units

static const PropertyRef& PropertyRef::thickness ( )
static

use this always. It has automatic defaults from SI()

static const PropertyRef& PropertyRef::undef ( )
static
void PropertyRef::usePar ( const IOPar )
protected

Friends And Related Function Documentation

friend class PropertyRefSet
friend

Member Data Documentation

BufferStringSet PropertyRef::aliases_
protected
DispDefs PropertyRef::disp_
MathProperty* PropertyRef::mathdef_
protected
StdType PropertyRef::stdtype_
protected

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