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

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