OpendTect-6_4  6.4
Classes | Namespaces | Macros
uiattrdesced.h File Reference
Include dependency graph for uiattrdesced.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  EvalParam
 Description of attribute parameters to evaluate. More...
 
class  uiAttrDescEdCreater
 Attribute description editor creator. More...
 
class  uiAttrDescEd
 Attribute description editor. More...
 

Namespaces

 Attrib
 Semblance Attribute.
 
 ZDomain
 

Macros

#define mDeclReqAttribUIFns
 
#define mInitAttribUIPars(clss, attr, displaynm, grp, domtyp, dimtyp)
 
#define mInitAttribUI(clss, attr, displaynm, grp)
 

Macro Definition Documentation

#define mDeclReqAttribUIFns
Value:
protected: \
static uiAttrDescEd* createInstance(uiParent*,bool); \
static int factoryid_; \
public: \
static void initClass(); \
virtual const char* attribName() const; \
static int factoryID() { return factoryid_; }
Attribute description editor.
Definition: uiattrdesced.h:83
Definition: uiparent.h:26
static void initClass()
#define mInitAttribUI (   clss,
  attr,
  displaynm,
  grp 
)
Value:
mInitAttribUIPars(clss,attr,displaynm,grp,uiAttrDescEd::Both, \
Definition: uiattrdesced.h:113
Definition: uiattrdesced.h:117
#define mInitAttribUIPars(clss, attr, displaynm, grp, domtyp, dimtyp)
Definition: uiattrdesced.h:219
#define mInitAttribUIPars (   clss,
  attr,
  displaynm,
  grp,
  domtyp,
  dimtyp 
)
Value:
\
int clss::factoryid_ = -1; \
\
{ \
if ( factoryid_ < 0 ) \
factoryid_ = uiAF().add( displaynm, attr::attribName(), grp, \
clss::createInstance, (int)domtyp, (int)dimtyp ); \
} \
\
uiAttrDescEd* clss::createInstance( uiParent* p, bool is2d ) \
{ \
uiAttrDescEd* de = new clss( p, is2d ); \
de->setDisplayName( displaynm ); \
de->setDomainType( domtyp ); \
de->setDimensionType( dimtyp ); \
return de; \
} \
\
const char* clss::attribName() const \
{ \
return attr::attribName(); \
}
Definition: uiparent.h:26
uiAttributeFactory & uiAF()
int add(const char *displaynm, const char *attrnm, const char *grpnm, uiAttrDescEdCreateFunc, int, int)
static void initClass()

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