OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "wellmod.h"
16 #include "gendefs.h"
17 #include "uistrings.h"
18 class BufferStringSet;
19 
20 
21 namespace Well
22 {
23 class D2TModel;
24 class Data;
25 class Log;
26 class Track;
27 
31 {
32 public:
33 
34  ReadAccess( Data& d ) : wd_(d) {}
35  virtual ~ReadAccess() {}
36 
37  virtual bool get() const = 0;
41  virtual bool getInfo() const = 0;
42  virtual bool getTrack() const = 0;
43  virtual bool getLogs(bool needjustinfo=false) const = 0;
44  virtual bool getMarkers() const = 0;
45  virtual bool getD2T() const = 0;
46  virtual bool getCSMdl() const = 0;
47  virtual bool getDispProps() const = 0;
48  virtual bool getLog(const char* lognm) const = 0;
49  virtual void getLogInfo(BufferStringSet& lognms) const = 0;
50 
51  virtual const uiString& errMsg() const = 0;
52 
53  Data& data() { return wd_; }
54  const Data& data() const { return wd_; }
55 
56 protected:
57 
59 
60  bool addToLogSet(Log*, bool needjustinfo=false) const;
61  bool updateDTModel(D2TModel*,bool ischeckshot,
62  uiString& errmsg) const;
63 
64  mDeprecated ("use UiString")
65  bool updateDTModel(D2TModel*,bool ischeckshot,
66  BufferString& errmsg) const;
68 
69  mDeprecatedDef bool updateDTModel(D2TModel*,const Track&,float,bool) const;
70 
71 };
72 
73 }; // namespace Well
74 
75 
Well::ReadAccess::getInfo
virtual bool getInfo() const =0
Well::Data
The holder of all data concerning a certain well.
Definition: welldata.h:121
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
Well::ReadAccess::errMsg
virtual const uiString & errMsg() const =0
Well::ReadAccess
Base class for object reading data from data store into Well::Data.
Definition: wellreadaccess.h:31
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Well::ReadAccess::getDispProps
virtual bool getDispProps() const =0
Well::ReadAccess::wd_
Data & wd_
Definition: wellreadaccess.h:58
Well::ReadAccess::ReadAccess
ReadAccess(Data &d)
Definition: wellreadaccess.h:34
Well::ReadAccess::addToLogSet
bool addToLogSet(Log *, bool needjustinfo=false) const
Repos::Data
@ Data
Definition: repos.h:24
Well::ReadAccess::updateDTModel
bool updateDTModel(D2TModel *, bool ischeckshot, uiString &errmsg) const
Well::Track
Well track.
Definition: welltrack.h:29
Well
Definition: directionalsurvey.h:20
Well::ReadAccess::mDeprecated
mDeprecated("use UiString") bool updateDTModel(D2TModel *
uistrings.h
Well::ReadAccess::data
Data & data()
Definition: wellreadaccess.h:53
gendefs.h
Well::ReadAccess::get
virtual bool get() const =0
File::Log
@ Log
Definition: file.h:122
Well::ReadAccess::getD2T
virtual bool getD2T() const =0
Well::ReadAccess::~ReadAccess
virtual ~ReadAccess()
Definition: wellreadaccess.h:35
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Well::Log
Well log.
Definition: welllog.h:44
Well::ReadAccess::getMarkers
virtual bool getMarkers() const =0
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
Well::ReadAccess::getCSMdl
virtual bool getCSMdl() const =0
Checkshot mdl.
Well::ReadAccess::getLog
virtual bool getLog(const char *lognm) const =0
Well::ReadAccess::getTrack
virtual bool getTrack() const =0
Well::ReadAccess::getLogs
virtual bool getLogs(bool needjustinfo=false) const =0
mDeprecatedDef
#define mDeprecatedDef
Definition: plfdefs.h:216
Well::ReadAccess::data
const Data & data() const
Definition: wellreadaccess.h:54
Well::D2TModel
Depth to time model.
Definition: welld2tmodel.h:34
Well::ReadAccess::getLogInfo
virtual void getLogInfo(BufferStringSet &lognms) const =0

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