45 static const Def&
get(
const char*);
46 static const Def&
get(
const IOPar&);
47 void set(
IOPar&)
const;
49 const char*
key()
const {
return key_; }
58 const char* unitStr(
bool withparens=
false)
const;
60 uiString uiUnitStr(
bool withparens=
false)
const;
69 {
return key_ == def.
key_; }
73 const char* defun,
int usrfac=1 )
74 : key_(ky), usrnm_(usrnm)
75 , defunit_(defun), usrfac_(usrfac) {}
76 static bool add(Def*);
103 const char* getID()
const;
104 void setID(
const char*);
106 bool isCompatibleWith(
const IOPar&)
const;
109 const char*
key()
const {
return def_.
key(); }
#define mExpClass(module)
Definition: commondefs.h:160
const Def & Depth()
Definition: keystrs.h:60
bool operator==(const ArrayNDInfo &a1, const ArrayNDInfo &a2)
Definition: arrayndinfo.h:53
IOPar & pars_
Definition: zdomain.h:100
uiString userName() const
Definition: zdomain.h:110
#define mGlobal(module)
Definition: commondefs.h:163
int userFactor() const
Definition: zdomain.h:116
uiString getLabel() const
Definition: zdomain.h:115
Definition: uistring.h:89
uiString userName() const
Definition: zdomain.h:50
uiString uiUnitStr(bool wp=false) const
Definition: zdomain.h:113
uiString uiUnitStr(bool withparens=false) const
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
const char * key() const
Definition: zdomain.h:49
const char * key() const
Definition: zdomain.h:109
bool isDepth(const IOPar &)
const Def & Time()
Definition: keystrs.h:132
uiString usrnm_
Definition: zdomain.h:81
const char * entityStr() const
Definition: zdomain.h:66
const Def & def_
Definition: zdomain.h:99
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
bool isTime(const IOPar &)
uiString getLabel() const
Username and unit.
Def(const char *ky, const uiString &usrnm, const char *defun, int usrfac=1)
Definition: zdomain.h:72
int userFactor() const
Definition: zdomain.h:51
const char * unitStr(bool withparens=false) const
BufferString key_
Definition: zdomain.h:80
int usrfac_
Definition: zdomain.h:83
BufferString defunit_
Definition: zdomain.h:82
Definition of z-domain.
Definition: zdomain.h:41
Information of z-domain.
Definition: zdomain.h:91
const char * unitStr(bool wp=false) const
Definition: zdomain.h:111