OpendTect  6.3
wellreadaccess.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: July 2014
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "wellcommon.h"
15 #include "uistrings.h"
16 class BufferStringSet;
17 
18 
19 namespace Well
20 {
21 
25 {
26 public:
27 
28  ReadAccess( Data& d ) : wd_(d) {}
29  virtual ~ReadAccess() {}
30 
31  virtual bool getInfo() const = 0;
32  virtual bool getTrack() const = 0;
33  virtual bool getLogs() const = 0;
34  virtual bool getMarkers() const = 0;
35  virtual bool getD2T() const = 0;
36  virtual bool getCSMdl() const = 0;
37  virtual bool getDispProps() const = 0;
38  virtual bool getLog(const char* lognm) const = 0;
39  virtual void getLogInfo(BufferStringSet& lognms) const = 0;
40 
41  virtual const uiString& errMsg() const = 0;
42  Data& data() { return wd_; }
43  const Data& data() const { return wd_; }
44 
45  bool getAll(bool stoponerr) const;
46 
47 protected:
48 
50 
51  bool addToLogSet(Log*) const;
52  bool updateDTModel(D2TModel&,bool ischeckshot,
53  uiString& errmsg) const;
54 
55 };
56 
57 }; // namespace Well
#define mExpClass(module)
Definition: commondefs.h:157
Depth to time model.
Definition: welld2tmodel.h:25
Well log.
Definition: welllog.h:40
virtual ~ReadAccess()
Definition: wellreadaccess.h:29
Data & data()
Definition: wellreadaccess.h:42
Definition: uistring.h:88
Set of BufferString objects.
Definition: bufstringset.h:25
Base class for object reading data from data store into Well::Data.
Definition: wellreadaccess.h:24
const Data & data() const
Definition: wellreadaccess.h:43
Definition: wellcommon.h:16
ReadAccess(Data &d)
Definition: wellreadaccess.h:28
const char * errMsg() const
Definition: horizontracker.h:59
The holder of all data concerning a certain well.
Definition: welldata.h:36
Data & wd_
Definition: wellreadaccess.h:49

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