Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends

PropertyRef Class Reference

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

Inheritance diagram for PropertyRef:
NamedObject CallBacker

List of all members.

Classes

struct  DispDefs

Public Types

enum  StdType {
  Other, Time, Dist, Por,
  Perm, GR, Temp, Pres,
  Den, Vel, Son, AI,
  Sat, ElPot, Res, PR,
  Comp
}

Public Member Functions

 DeclareEnumUtils (StdType) static StdType surveyZType()
 PropertyRef (const char *nm, StdType t=Other)
bool operator== (const PropertyRef &pr) const
bool operator!= (const PropertyRef &pr) const
bool isKnownAs (const char *) const
StdType stdType () const
bool hasType (StdType t) const
bool isCompatibleWith (const PropertyRef &pr) const
void setStdType (StdType t)
bool isHCAffected () const
BufferStringSetaliases ()
const BufferStringSetaliases () const

Static Public Member Functions

static bool isHCAffected (StdType t)
static const PropertyRefundef ()

Public Attributes

DispDefs disp_

Protected Member Functions

void usePar (const IOPar &)
void fillPar (IOPar &) const

Protected Attributes

StdType stdtype_
BufferStringSet aliases_

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:
Other 
Time 
Dist 
Por 
Perm 
GR 
Temp 
Pres 
Den 
Vel 
Son 
AI 
Sat 
ElPot 
Res 
PR 
Comp 

Constructor & Destructor Documentation

PropertyRef::PropertyRef ( const char *  nm,
StdType  t = Other 
) [inline]

Member Function Documentation

BufferStringSet& PropertyRef::aliases (  )  [inline]
const BufferStringSet& PropertyRef::aliases (  )  const [inline]
PropertyRef::DeclareEnumUtils ( StdType   ) 
void PropertyRef::fillPar ( IOPar  )  const [protected]
bool PropertyRef::hasType ( StdType  t  )  const [inline]
bool PropertyRef::isCompatibleWith ( const PropertyRef pr  )  const [inline]
static bool PropertyRef::isHCAffected ( StdType  t  )  [inline, static]
bool PropertyRef::isHCAffected (  )  const [inline]
bool PropertyRef::isKnownAs ( const char *   )  const
bool PropertyRef::operator!= ( const PropertyRef pr  )  const [inline]
bool PropertyRef::operator== ( const PropertyRef pr  )  const [inline]
void PropertyRef::setStdType ( StdType  t  )  [inline]
StdType PropertyRef::stdType (  )  const [inline]
static const PropertyRef& PropertyRef::undef (  )  [static]
void PropertyRef::usePar ( const IOPar  )  [protected]

Friends And Related Function Documentation

friend class PropertyRefSet [friend]

Member Data Documentation