OpendTect  6.3
wellwriteaccess.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 class uiString;
16 
17 
18 namespace Well
19 {
20 
24 {
25 public:
26 
27  WriteAccess( const Data& d ) : wd_(d) {}
28  virtual ~WriteAccess() {}
29 
30  virtual bool put() const = 0;
31 
32  virtual bool putInfoAndTrack() const = 0;
33  virtual bool putLogs() const = 0;
34  virtual bool putMarkers() const = 0;
35  virtual bool putD2T() const = 0;
36  virtual bool putCSMdl() const = 0;
37  virtual bool putDispProps() const = 0;
38 
39  virtual const uiString& errMsg() const = 0;
40 
41  virtual bool isFunctional() const { return true; }
42  const Data& data() const { return wd_; }
43 
44 protected:
45 
46  const Data& wd_;
47 
48 };
49 
50 }; // namespace Well
#define mExpClass(module)
Definition: commondefs.h:157
virtual ~WriteAccess()
Definition: wellwriteaccess.h:28
virtual bool isFunctional() const
Definition: wellwriteaccess.h:41
Definition: uistring.h:88
Base class for object reading data from data store into Well::Data.
Definition: wellwriteaccess.h:23
const Data & wd_
Definition: wellwriteaccess.h:46
Definition: wellcommon.h:16
const Data & data() const
Definition: wellwriteaccess.h:42
const char * errMsg() const
Definition: horizontracker.h:59
The holder of all data concerning a certain well.
Definition: welldata.h:36
WriteAccess(const Data &d)
Definition: wellwriteaccess.h:27

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