15 #include "wellattribmod.h" 24 #define mIsUnvalidD2TM(wd) ( !wd.haveD2TModel() || wd.d2TModel()->size()<2 ) 32 enum CorrType {
None, Automatic, UserDefined };
41 , useexistingd2tm_(true)
42 , corrtype_(Automatic)
47 : wellid_(setup.wellid_)
48 , seisid_(setup.seisid_)
49 , wvltid_(setup.wvltid_)
50 , linenm_(setup.linenm_)
51 , issonic_(setup.issonic_)
52 , seisnm_(setup.seisnm_)
53 , vellognm_(setup.vellognm_)
54 , denlognm_(setup.denlognm_)
55 , useexistingd2tm_(setup.useexistingd2tm_)
56 , corrtype_(setup.corrtype_)
70 void supportOldPar(
const IOPar&);
74 static Setup& defaults();
75 static void commitDefaults();
78 {
return "CheckShot Corrections"; }
80 {
return "Use Existing Depth/Time model"; }
82 {
return tr(
"CheckShot Corrections"); }
84 {
return tr(
"Use Existing Depth/Time model"); }
92 :
Well::odIO(f,errmsg) {}
94 static const char* sKeyWellTieSetup();
107 bool putIOPar(
const IOPar&,
const char*)
const;
113 bool putIOPar(
const IOPar&,
const char*,
128 IOPar* getIOPar(
const char*)
const;
#define mExpClass(module)
Definition: commondefs.h:160
IO(const char *f, BufferString &errmsg)
Definition: welltiesetup.h:91
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool issonic_
Definition: welltiesetup.h:66
Definition: welltiesetup.h:29
static const char * sKeyUseExistingD2T()
Definition: welltiesetup.h:79
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
Definition: welltiesetup.h:88
MultiID wellid_
Definition: welltiesetup.h:59
BufferString seisnm_
Definition: welltiesetup.h:63
mODTextTranslationClass(Setup) public mDeclareEnumUtils(CorrType) Setup()
Definition: welltiesetup.h:33
Definition: uistring.h:89
Definition: welltiecshot.h:21
FixedString None()
Definition: keystrs.h:90
OD class for stream read.
Definition: od_istream.h:24
BufferString vellognm_
Definition: welltiesetup.h:64
CorrType corrtype_
Definition: welltiesetup.h:68
MultiID wvltid_
Definition: welltiesetup.h:61
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
BufferString denlognm_
Definition: welltiesetup.h:65
bool useexistingd2tm_
Definition: welltiesetup.h:67
MultiID seisid_
Definition: welltiesetup.h:60
static const uiString sCSCorrType()
Definition: welltiesetup.h:81
BufferString errmsg_
Definition: welltiesetup.h:132
Definition: directionalsurvey.h:19
BufferString errmsg_
Definition: welltiesetup.h:111
Setup(const Setup &setup)
Definition: welltiesetup.h:46
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Writer(const char *f)
Definition: welltiesetup.h:102
static const char * sKeyCSCorrType()
Definition: welltiesetup.h:77
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: welltiesetup.h:120
BufferString errmsg_
Definition: horizontracker.h:119
Reader(const char *f)
Definition: welltiesetup.h:123
static const uiString sUseExistingD2T()
Definition: welltiesetup.h:83
Definition: welltiesetup.h:99
Compound key consisting of ints.
Definition: multiid.h:25
BufferString linenm_
Definition: welltiesetup.h:62