OpendTect  6.6
wellio.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  RCS: $Id$
10 ________________________________________________________________________
11 
12 
13 -*/
14 
15 #include "wellmod.h"
16 #include "bufstring.h"
17 class IOObj;
18 
19 
20 namespace Well
21 {
22 
26 {
27 public:
28 
29  const OD::String& baseName() const { return basenm_; }
30 
31  const char* getFileName(const char* ext,int nr=0) const;
32  bool removeAll(const char* ext) const;
33 
34  static const char* sKeyWell();
35  static const char* sKeyTrack();
36  static const char* sKeyLog();
37  static const char* sKeyMarkers();
38  static const char* sKeyD2T();
39  static const char* sKeyDispProps();
40  static const char* sExtWell();
41  static const char* sExtTrack();
42  static const char* sExtLog();
43  static const char* sExtMarkers();
44  static const char* sExtD2T();
45  static const char* sExtCSMdl();
46  static const char* sExtDispProps();
47  static const char* sExtWellTieSetup();
48 
49  static const char* getMainFileName(const IOObj&);
50  static const char* getMainFileName(const MultiID&);
51 
52  const uiString& errMsg() const { return errmsg_; }
53 
54 protected:
55 
56 
57  odIO(const char*,uiString&);
58 
61 
62 public:
63 
64  static const char* mkFileName(const char* basfnm,const char* ext,int nr=0);
65 
66 };
67 
68 
69 }; // namespace Well
70 
Well::odIO::sExtLog
static const char * sExtLog()
Well::odIO::sKeyTrack
static const char * sKeyTrack()
Well::odIO::sKeyWell
static const char * sKeyWell()
Well::odIO::sExtWell
static const char * sExtWell()
Well::odIO::removeAll
bool removeAll(const char *ext) const
Well::odIO::baseName
const OD::String & baseName() const
Definition: wellio.h:29
Well::odIO::getFileName
const char * getFileName(const char *ext, int nr=0) const
Well::odIO::odIO
odIO(const char *, uiString &)
Well::odIO::getMainFileName
static const char * getMainFileName(const MultiID &)
Well::odIO::sKeyD2T
static const char * sKeyD2T()
Well::odIO::sExtTrack
static const char * sExtTrack()
Well::odIO::sKeyLog
static const char * sKeyLog()
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
Well::odIO::sExtCSMdl
static const char * sExtCSMdl()
bufstring.h
Well::odIO::sKeyMarkers
static const char * sKeyMarkers()
Well::odIO::errMsg
const uiString & errMsg() const
Definition: wellio.h:52
Well::odIO::sExtWellTieSetup
static const char * sExtWellTieSetup()
Well
Definition: directionalsurvey.h:20
Well::odIO
base class for Reader and Writer.
Definition: wellio.h:26
Well::odIO::basenm_
const BufferString basenm_
Definition: wellio.h:60
IOObj
Definition: ioobj.h:58
Well::odIO::sExtDispProps
static const char * sExtDispProps()
Well::odIO::sKeyDispProps
static const char * sKeyDispProps()
Well::odIO::sExtMarkers
static const char * sExtMarkers()
MultiID
Compound key consisting of ints.
Definition: multiid.h:24
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
Well::odIO::getMainFileName
static const char * getMainFileName(const IOObj &)
uiString
String that is able to hold international (UTF-8) strings for the user interface.
Definition: uistring.h:121
OD::String
encapsulates the read-access-only part of strings in OD.
Definition: odstring.h:31
MPE::errmsg_
BufferString errmsg_
Definition: horizontracker.h:118
Well::odIO::mkFileName
static const char * mkFileName(const char *basfnm, const char *ext, int nr=0)
Well::odIO::sExtD2T
static const char * sExtD2T()
Well::odIO::errmsg_
uiString & errmsg_
Definition: wellio.h:59

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