OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ZDomain::Def Class Reference

Definition of z-domain. More...

Public Member Functions

 Def (const char *ky, const uiString &usrnm, const char *defun, int usrfac=1)
 
const char * entityStr () const
 
uiString getLabel () const
 returns userName plus Unit More...
 
uiString getRange () const
 returns userName plus Range More...
 
bool isDepth () const
 
bool isSI () const
 
bool isTime () const
 
const char * key () const
 
bool operator!= (const Def &def) const
 
bool operator== (const Def &def) const
 
void set (IOPar &) const
 Only key. More...
 
uiString uiUnitStr (bool withparens=false) const
 
const char * unitStr (bool withparens=false) const
 In case of depth, ft or m will come from SurvInfo. More...
 
int userFactor () const
 
uiString userName () const
 

Static Public Member Functions

static bool add (Def *)
 
static const Defget (const char *)
 
static const Defget (const IOPar &)
 

Protected Attributes

BufferString defunit_
 
BufferString key_
 
int usrfac_
 usually 1 or 1000, not FeetFac More...
 
uiString usrnm_
 

Detailed Description

Definition of z-domain.

<>

Constructor & Destructor Documentation

◆ Def()

ZDomain::Def::Def ( const char *  ky,
const uiString usrnm,
const char *  defun,
int  usrfac = 1 
)
inline

Member Function Documentation

◆ add()

static bool ZDomain::Def::add ( Def )
static

◆ entityStr()

const char* ZDomain::Def::entityStr ( ) const
inline

◆ get() [1/2]

static const Def& ZDomain::Def::get ( const char *  )
static

◆ get() [2/2]

static const Def& ZDomain::Def::get ( const IOPar )
static

◆ getLabel()

uiString ZDomain::Def::getLabel ( ) const

returns userName plus Unit

◆ getRange()

uiString ZDomain::Def::getRange ( ) const

returns userName plus Range

◆ isDepth()

bool ZDomain::Def::isDepth ( ) const

◆ isSI()

bool ZDomain::Def::isSI ( ) const

◆ isTime()

bool ZDomain::Def::isTime ( ) const

◆ key()

const char* ZDomain::Def::key ( ) const
inline

◆ operator!=()

bool ZDomain::Def::operator!= ( const Def def) const
inline

◆ operator==()

bool ZDomain::Def::operator== ( const Def def) const
inline

◆ set()

void ZDomain::Def::set ( IOPar ) const

Only key.

◆ uiUnitStr()

uiString ZDomain::Def::uiUnitStr ( bool  withparens = false) const

◆ unitStr()

const char* ZDomain::Def::unitStr ( bool  withparens = false) const

In case of depth, ft or m will come from SurvInfo.

◆ userFactor()

int ZDomain::Def::userFactor ( ) const
inline

◆ userName()

uiString ZDomain::Def::userName ( ) const
inline

Member Data Documentation

◆ defunit_

BufferString ZDomain::Def::defunit_
protected

◆ key_

BufferString ZDomain::Def::key_
protected

◆ usrfac_

int ZDomain::Def::usrfac_
protected

usually 1 or 1000, not FeetFac

◆ usrnm_

uiString ZDomain::Def::usrnm_
protected

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