OpendTect-6_4  6.4
uidpsaddcolumndlg.h
Go to the documentation of this file.
1 #ifndef uidpsaddcolumndlg_h
2 #define uidpsaddcolumndlg_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  CopyRight: (C) dGB Beheer B.V.
8  Author: Satyaki Maitra
9  Date: July 2011
10  RCS: $Id$:
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiiomod.h"
16 #include "uidialog.h"
17 #include "bufstringset.h"
18 
19 class uiGenInput;
20 class uiPushButton;
21 class uiTable;
22 namespace Math { class Expression; }
23 
24 
31 public:
32  uiDPSAddColumnDlg(uiParent*,bool withmathop);
33  void setColInfos(const BufferStringSet& colnms,
34  const TypeSet<int>& colids);
35  void checkMathExpr(CallBacker*);
36  void parsePush(CallBacker*);
37  void updateDisplay();
38  const char* newAttribName() const;
39  bool acceptOK(CallBacker*);
40 
41  Math::Expression* mathObject() { return mathobj_; }
42  const TypeSet<int>& usedColIDs() const { return usedcolids_; }
43 
44 protected:
48 
56 };
57 
58 #endif
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
TypeSet< int > colids_
Definition: uidpsaddcolumndlg.h:46
is the base class for all buttons.
Definition: uibutton.h:83
uiPushButton * setbut_
Definition: uidpsaddcolumndlg.h:53
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
BufferStringSet colnames_
Definition: uidpsaddcolumndlg.h:45
Math::Expression * mathObject()
Definition: uidpsaddcolumndlg.h:41
const TypeSet< int > & usedColIDs() const
Definition: uidpsaddcolumndlg.h:42
bool withmathop_
Definition: uidpsaddcolumndlg.h:55
Definition: uitable.h:30
Definition: uiparent.h:26
Set of BufferString objects.
Definition: bufstringset.h:28
Definition: uidialog.h:42
uiGenInput * nmfld_
Definition: uidpsaddcolumndlg.h:51
General Input Element.
Definition: uigeninput.h:58
BufferString mathexprstring_
Definition: uidpsaddcolumndlg.h:49
Parsed Math expression.
Definition: mathexpression.h:32
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
TypeSet< int > usedcolids_
Definition: uidpsaddcolumndlg.h:47
Definition: math2.h:29
Dialog box to add columns in datapointset.
Definition: uidpsaddcolumndlg.h:29
uiTable * vartable_
Definition: uidpsaddcolumndlg.h:54
uiGenInput * inpfld_
Definition: uidpsaddcolumndlg.h:52
Math::Expression * mathobj_
Definition: uidpsaddcolumndlg.h:50

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