OpendTect  6.3
wellodreader.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 Bril
8  Date: Aug 2003
9 ________________________________________________________________________
10 
11 
12 -*/
13 
14 #include "wellreadaccess.h"
15 #include "wellio.h"
16 #include "sets.h"
17 #include "ranges.h"
18 #include "od_iosfwd.h"
19 class BufferStringSet;
20 class IOObj;
21 
22 
23 namespace Well
24 {
25 
29  , public Well::ReadAccess
31 public:
32 
33  odReader(const IOObj&,Data&,uiString& errmsg);
34  odReader(const char* fnm,Data&,uiString& errmsg);
35 
36  virtual bool getInfo() const;
37  virtual bool getTrack() const;
38  virtual bool getLogs() const;
39  virtual bool getMarkers() const; //needs to read Track too
40  virtual bool getD2T() const;
41  virtual bool getCSMdl() const;
42  virtual bool getDispProps() const;
43  virtual bool getLog(const char* lognm) const;
44  virtual void getLogInfo(BufferStringSet& lognms) const;
45 
46  virtual const uiString& errMsg() const { return odIO::errMsg(); }
47 
48  bool getInfo(od_istream&) const;
49  bool addLog(od_istream&) const;
50  bool getMarkers(od_istream&) const;
51  bool getD2T(od_istream&) const;
52  bool getCSMdl(od_istream&) const;
53  bool getDispProps(od_istream&) const;
54 
55 protected:
56 
57  void readLogData(Log&,od_istream&,int) const;
58  bool getTrack(od_istream&) const;
59  bool doGetD2T(od_istream&,bool csmdl) const;
60  bool doGetD2T(bool) const;
61  void getLogInfo(BufferStringSet&,TypeSet<int>&) const;
62 
63  static Log* rdLogHdr(od_istream&,int&,int);
64 
65  void setInpStrmOpenErrMsg(od_istream&) const;
66  void setStrmOperErrMsg(od_istream&,const uiString&) const;
67 
68 };
69 
70 }; // namespace Well
const uiString & errMsg() const
Definition: wellio.h:51
#define mExpClass(module)
Definition: commondefs.h:157
Definition: ioobj.h:57
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Well log.
Definition: welllog.h:40
Definition: uistring.h:88
Set of BufferString objects.
Definition: bufstringset.h:25
OD class for stream read.
Definition: od_istream.h:23
base class for Reader and Writer.
Definition: wellio.h:25
virtual const uiString & errMsg() const
Definition: wellodreader.h:46
Base class for object reading data from data store into Well::Data.
Definition: wellreadaccess.h:24
Definition: wellcommon.h:16
Reads Well::Data from OpendTect file store.
Definition: wellodreader.h:28
The holder of all data concerning a certain well.
Definition: welldata.h:36

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