OpendTect-6_4  6.4
uid2tmodelgrp.h
Go to the documentation of this file.
1 #ifndef uid2tmodelgrp_h
2 #define uid2tmodelgrp_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: August 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "uiwellmod.h"
16 #include "uigroup.h"
17 
18 class uiFileInput;
19 class uiGenInput;
20 class uiTableImpDataSel;
21 namespace Table { class FormatDesc; }
22 namespace Well { class Data; }
23 
26 public:
27 
28  mExpClass(uiWell) Setup
29  {
30  public:
31  Setup( bool fopt=true )
32  : fileoptional_(fopt)
33  , withunitfld_(true)
34  , asksetcsmdl_(false)
35  , filefldlbl_("Depth to Time model file") {}
36 
37  mDefSetupMemb(bool,fileoptional)
38  mDefSetupMemb(bool,withunitfld)
39  mDefSetupMemb(bool,asksetcsmdl)
40  mDefSetupMemb(BufferString,filefldlbl)
41 
42  };
43 
45 
46  bool getD2T(Well::Data&,bool cksh = true) const;
47  uiString errMsg() const { return errmsg_; }
48  uiString warnMsg() const { return warnmsg_; }
49 
50  bool wantAsCSModel() const;
51  BufferString dataSourceName() const;
52 
53  static const char* sKeyTemporaryVel();
54  /* Will be removed after 6.0. */
55 
56  static uiString sKeyTemporaryVelUiStr();
57  static float getDefaultTemporaryVelocity();
58 
59 protected:
60 
63  mutable uiString errmsg_;
64  mutable uiString warnmsg_;
65 
70 
71  void fileFldChecked(CallBacker*);
72 };
73 
74 
75 mGlobal(uiWell) float getGUIDefaultVelocity();
76  /* Will be removed after 6.0.
77  Replaced by Vel::getGUIDefaultVelocity() */
78 
79 
80 #endif
Definition: uigroup.h:54
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
#define mGlobal(module)
Definition: commondefs.h:163
uiString errMsg() const
Definition: uid2tmodelgrp.h:47
A file-name input.
Definition: uifileinput.h:34
description of input our output data content
Definition: tabledef.h:220
Definition: uistring.h:89
Setup setup_
Definition: uid2tmodelgrp.h:61
Definition: uiparent.h:26
Definition: uid2tmodelgrp.h:28
float getGUIDefaultVelocity()
uiString warnMsg() const
Definition: uid2tmodelgrp.h:48
Definition: geom2dascio.h:21
Definition: directionalsurvey.h:19
General Input Element.
Definition: uigeninput.h:58
#define mDefSetupMemb(typ, memb)
Definition: commondefs.h:137
uiTableImpDataSel * dataselfld_
Definition: uid2tmodelgrp.h:69
Definition: repos.h:25
uiString errmsg_
Definition: uid2tmodelgrp.h:63
uiString warnmsg_
Definition: uid2tmodelgrp.h:64
uiGenInput * velfld_
Definition: uid2tmodelgrp.h:67
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString errmsg_
Definition: horizontracker.h:119
Definition: uid2tmodelgrp.h:24
Table-based data import selection.
Definition: uitblimpexpdatasel.h:38
uiFileInput * filefld_
Definition: uid2tmodelgrp.h:66
Table::FormatDesc & fd_
Definition: uid2tmodelgrp.h:62
The holder of all data concerning a certain well.
Definition: welldata.h:113
uiGenInput * csfld_
Definition: uid2tmodelgrp.h:68
Setup(bool fopt=true)
Definition: uid2tmodelgrp.h:31

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