OpendTect  6.6
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  RCS: $Id$:
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "uiiomod.h"
15 #include "uidialog.h"
16 #include "bufstringset.h"
17 
18 class uiGenInput;
19 class uiPushButton;
20 class uiTable;
21 namespace Math { class Expression; }
22 
23 
30 public:
31  uiDPSAddColumnDlg(uiParent*,bool withmathop);
32  void setColInfos(const BufferStringSet& colnms,
33  const TypeSet<int>& colids);
36  void updateDisplay();
37  const char* newAttribName() const;
39 
40  Math::Expression* mathObject() { return mathobj_; }
41  const TypeSet<int>& usedColIDs() const { return usedcolids_; }
42 
43 protected:
47 
55 };
56 
uiDPSAddColumnDlg::withmathop_
bool withmathop_
Definition: uidpsaddcolumndlg.h:54
uiDPSAddColumnDlg::vartable_
uiTable * vartable_
Definition: uidpsaddcolumndlg.h:53
uiDPSAddColumnDlg::inpfld_
uiGenInput * inpfld_
Definition: uidpsaddcolumndlg.h:51
uiDPSAddColumnDlg::usedColIDs
const TypeSet< int > & usedColIDs() const
Definition: uidpsaddcolumndlg.h:41
uiDPSAddColumnDlg::colids_
TypeSet< int > colids_
Definition: uidpsaddcolumndlg.h:45
Math::Expression
Parsed Math expression.
Definition: mathexpression.h:32
uiDPSAddColumnDlg::mODTextTranslationClass
mODTextTranslationClass(uiDPSAddColumnDlg)
uiDPSAddColumnDlg::acceptOK
bool acceptOK(CallBacker *)
confirm accept
uiDPSAddColumnDlg::setColInfos
void setColInfos(const BufferStringSet &colnms, const TypeSet< int > &colids)
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
uiDPSAddColumnDlg::mathObject
Math::Expression * mathObject()
Definition: uidpsaddcolumndlg.h:40
uiDPSAddColumnDlg::nmfld_
uiGenInput * nmfld_
Definition: uidpsaddcolumndlg.h:50
uiDPSAddColumnDlg::colnames_
BufferStringSet colnames_
Definition: uidpsaddcolumndlg.h:44
CallBacker
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:185
uiGenInput
General Input Element.
Definition: uigeninput.h:59
uiDPSAddColumnDlg
Dialog box to add columns in datapointset.
Definition: uidpsaddcolumndlg.h:29
uiDPSAddColumnDlg::checkMathExpr
void checkMathExpr(CallBacker *)
uidialog.h
uiDPSAddColumnDlg::newAttribName
const char * newAttribName() const
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
bufstringset.h
uiDPSAddColumnDlg::mathexprstring_
BufferString mathexprstring_
Definition: uidpsaddcolumndlg.h:48
uiDPSAddColumnDlg::uiDPSAddColumnDlg
uiDPSAddColumnDlg(uiParent *, bool withmathop)
uiTable
Definition: uitable.h:31
uiDPSAddColumnDlg::mathobj_
Math::Expression * mathobj_
Definition: uidpsaddcolumndlg.h:49
uiParent
Definition: uiparent.h:26
uiDialog
Definition: uidialog.h:42
uiDPSAddColumnDlg::usedcolids_
TypeSet< int > usedcolids_
Definition: uidpsaddcolumndlg.h:46
uiDPSAddColumnDlg::updateDisplay
void updateDisplay()
Math
Definition: math2.h:29
uiDPSAddColumnDlg::setbut_
uiPushButton * setbut_
Definition: uidpsaddcolumndlg.h:52
uiDPSAddColumnDlg::parsePush
void parsePush(CallBacker *)
TypeSet< int >
uiPushButton
is the base class for all buttons.
Definition: uibutton.h:88

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