OpendTect-6_4  6.4
wellio.h
Go to the documentation of this file.
1 #ifndef wellio_h
2 #define wellio_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 
21 namespace Well
22 {
23 
27 {
28 public:
29 
30  const OD::String& baseName() const { return basenm_; }
31 
32  const char* getFileName(const char* ext,int nr=0) const;
33  bool removeAll(const char* ext) const;
34 
35  static const char* sKeyWell();
36  static const char* sKeyTrack();
37  static const char* sKeyLog();
38  static const char* sKeyMarkers();
39  static const char* sKeyD2T();
40  static const char* sKeyDispProps();
41  static const char* sExtWell();
42  static const char* sExtTrack();
43  static const char* sExtLog();
44  static const char* sExtMarkers();
45  static const char* sExtD2T();
46  static const char* sExtCSMdl();
47  static const char* sExtDispProps();
48  static const char* sExtWellTieSetup();
49 
50  static const char* getMainFileName(const IOObj&);
51  static const char* getMainFileName(const MultiID&);
52 
53  const OD::String& errMsg() const { return errmsg_; }
54 
55 protected:
56 
57 
58  odIO(const char*,BufferString&);
59 
62 
63 public:
64 
65  static const char* mkFileName(const char* basfnm,const char* ext,int nr=0);
66 
67 };
68 
69 
70 }; // namespace Well
71 
72 #endif
#define mExpClass(module)
Definition: commondefs.h:160
BufferString & errmsg_
Definition: wellio.h:60
Definition: ioobj.h:58
const OD::String & baseName() const
Definition: wellio.h:30
base class for Reader and Writer.
Definition: wellio.h:26
void removeAll()
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
Definition: directionalsurvey.h:19
const OD::String & errMsg() const
Definition: wellio.h:53
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
const BufferString basenm_
Definition: wellio.h:61
Compound key consisting of ints.
Definition: multiid.h:25

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