OpendTect-6_4  6.4
wellwriteaccess.h
Go to the documentation of this file.
1 #ifndef wellwriteaccess_h
2 #define wellwriteaccess_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: July 2014
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "wellmod.h"
17 #include "gendefs.h"
18 class BufferStringSet;
19 
20 
21 namespace Well
22 {
23 class Data;
24 class Log;
25 
29 {
30 public:
31 
32  WriteAccess( const Data& d ) : wd_(d) {}
33  virtual ~WriteAccess() {}
34 
35  virtual bool put() const = 0;
36 
37  virtual bool putInfoAndTrack() const = 0;
38  virtual bool putLogs() const = 0;
39  virtual bool putMarkers() const = 0;
40  virtual bool putD2T() const = 0;
41  virtual bool putCSMdl() const = 0;
42  virtual bool putDispProps() const = 0;
43  virtual bool putLog(const Log&) const = 0;
44 
45  virtual const OD::String& errMsg() const = 0;
46 
47  virtual bool isFunctional() const { return true; }
48 
49 protected:
50 
51  const Data& wd_;
52 
53 };
54 
55 }; // namespace Well
56 
57 
58 #endif
#define mExpClass(module)
Definition: commondefs.h:160
virtual ~WriteAccess()
Definition: wellwriteaccess.h:33
virtual bool isFunctional() const
Definition: wellwriteaccess.h:47
Well log.
Definition: welllog.h:44
Definition: file.h:99
Base class for object reading data from data store into Well::Data.
Definition: wellwriteaccess.h:28
Set of BufferString objects.
Definition: bufstringset.h:28
const Data & wd_
Definition: wellwriteaccess.h:51
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
Definition: directionalsurvey.h:19
Definition: repos.h:25
const char * errMsg() const
Definition: horizontracker.h:61
The holder of all data concerning a certain well.
Definition: welldata.h:113
WriteAccess(const Data &d)
Definition: wellwriteaccess.h:32

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