OpendTect-6_4  6.4
wellwriter.h
Go to the documentation of this file.
1 #ifndef wellwriter_h
2 #define wellwriter_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Aug 2003
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "wellmod.h"
17 #include "bufstring.h"
18 class IOObj;
19 
20 namespace Well
21 {
22 class Data;
23 class Log;
24 class WriteAccess;
25 
33 {
34 public:
35 
36  Writer(const MultiID&,const Data&);
37  Writer(const IOObj&,const Data&);
38  ~Writer();
39  bool isUsable() const { return wa_; }
40 
41  bool put() const;
42 
43  bool putInfoAndTrack() const;
44  bool putLogs() const;
45  bool putMarkers() const;
46  bool putD2T() const;
47  bool putCSMdl() const;
48  bool putDispProps() const;
49  bool putLog(const Log&) const;
50 
51  const OD::String& errMsg() const { return errmsg_; }
52 
53  bool isFunctional() const;
54 
55  static bool isFunctional(const MultiID&);
56  static bool isFunctional(const IOObj&);
57 
58 protected:
59 
62 
63  bool putTrack() const;
64 
65 private:
66 
67  void init(const IOObj&,const Data&);
68 
69 };
70 
71 
72 }; // namespace Well
73 
74 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
Well log.
Definition: welllog.h:44
bool init()
Definition: file.h:99
WriteAccess * wa_
Definition: wellwriter.h:60
Base class for object reading data from data store into Well::Data.
Definition: wellwriteaccess.h:28
Writes Well::Data to any data storage.
Definition: wellwriter.h:32
const OD::String & errMsg() const
Definition: wellwriter.h:51
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
Definition: directionalsurvey.h:19
BufferString errmsg_
Definition: wellwriter.h:61
Definition: repos.h:25
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
BufferString errmsg_
Definition: horizontracker.h:119
bool isUsable() const
Definition: wellwriter.h:39
The holder of all data concerning a certain well.
Definition: welldata.h:113
Compound key consisting of ints.
Definition: multiid.h:25

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