OpendTect-6_4  6.4
mpesetup.h
Go to the documentation of this file.
1 #ifndef mpesetup_h
2 #define mpesetup_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: N. Hemstra
9  Date: March 2004
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "mpeenginemod.h"
17 #include "transl.h"
18 
19 
20 namespace MPE {
21 
26 mExpClass(MPEEngine) Setup
27 {
28 public:
29  Setup();
30  ~Setup();
31 
32  bool usePar(const IOPar&);
33  void fillPar(IOPar& par) const;
34 
35 protected:
37 
38 protected:
39 
40 };
41 
42 }; // namespace MPE
43 
44 
45 typedef MPE::Setup MPESetup;
46 
53 public:
55  const char* defExtension() const { return "ts"; }
56 };
57 
58 
64 {
65 public:
67 
68  virtual const char* read(MPESetup&,Conn&) = 0;
70  virtual const char* write(const MPESetup&,Conn&) = 0;
72  virtual const char* warningMsg() const { return ""; }
73 
74  static bool retrieve(MPESetup&,const IOObj*,BufferString&);
77  static bool store(const MPESetup&,const IOObj*,BufferString&);
80 };
81 
82 
89 public:
91 
92  const char* read(MPESetup&,Conn&);
94  const char* write( const MPESetup&,Conn&);
96  const char* warningMsg() const { return warningmsg; }
97 
99 
100 };
101 
102 #endif
#define mExpClass(module)
Definition: commondefs.h:160
void fillPar(IOPar &) const
FixedString Setup()
Definition: keystrs.h:116
Definition: ioobj.h:58
MPE::Setup MPESetup
Definition: mpesetup.h:42
Translator for MPE::Setup.
Definition: mpesetup.h:63
TranslatorGroup for MPE::Setup.
Definition: mpesetup.h:51
MPE stands for Model, Predict, Edit. Contains tracking and editing functions.
Definition: autotracker.h:32
const char * warningMsg() const
Definition: mpesetup.h:96
BufferString warningmsg
Definition: mpesetup.h:98
#define mDefEmptyTranslatorConstructor(spec, clss)
Definition: transl.h:267
#define mDefEmptyTranslatorGroupConstructor(clss)
Definition: transl.h:255
Group of Translators. Has a static factory.
Definition: transl.h:56
bool usePar(const IOPar &)
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:261
MPE Setup read/save.
Definition: mpesetup.h:26
I/O Interpreter class for a certain object type.
Definition: transl.h:123
Data connection.
Definition: conn.h:30
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
virtual const char * warningMsg() const
Definition: mpesetup.h:72
IOPar & pars
Definition: mpesetup.h:36
#define isTranslatorGroup(clss)
Definition: transl.h:206
MPESetupTranslator for dgbMPESetup.
Definition: mpesetup.h:87
#define isTranslator(spec, clss)
Definition: transl.h:230

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