OpendTect-6_4  6.4
prestackmutedeftransl.h
Go to the documentation of this file.
1 #ifndef prestackmutedeftransl_h
2 #define prestackmutedeftransl_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert Bril
9  Date: Nov 2006
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 
14 -*/
15 
16 #include "prestackprocessingmod.h"
17 #include "transl.h"
18 
19 namespace PreStack { class MuteDef; }
20 
25 mExpClass(PreStackProcessing) MuteDefTranslatorGroup : public TranslatorGroup
26 { isTranslatorGroup(MuteDef)
27 public:
29 
30  const char* defExtension() const { return "mute"; }
31 };
32 
33 
38 mExpClass(PreStackProcessing) MuteDefTranslator : public Translator
40 public:
42 
43  virtual const char* read(PreStack::MuteDef&,Conn&) = 0;
45  virtual const char* write(const PreStack::MuteDef&,Conn&) = 0;
47 
48  static bool retrieve(PreStack::MuteDef&,const IOObj*,uiString&);
49  static bool store(const PreStack::MuteDef&,const IOObj*,
50  uiString&);
51 
52 private:
53  static uiString sSelObjNotMuteDef();
54 };
55 
56 
61 mExpClass(PreStackProcessing) dgbMuteDefTranslator : public MuteDefTranslator
62 { isTranslator(dgb,MuteDef)
63 public:
64 
66 
67  const char* read(PreStack::MuteDef&,Conn&);
68  const char* write(const PreStack::MuteDef&,Conn&);
69 
70  static const char* sKeyRefHor() { return "Reference Horizon"; }
71  static bool hasIOPar(int majorversion,int minorversion);
72 };
73 
74 
75 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Definition: synthseis.h:36
Definition: uistring.h:89
NamedObject for definition of a mute function.
Definition: prestackmutedef.h:32
#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
TranslatorGroup for mute definition.
Definition: prestackmutedeftransl.h:25
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:261
Translator for mute definition.
Definition: prestackmutedeftransl.h:38
I/O Interpreter class for a certain object type.
Definition: transl.h:123
Data connection.
Definition: conn.h:30
static const char * sKeyRefHor()
Definition: prestackmutedeftransl.h:70
#define isTranslatorGroup(clss)
Definition: transl.h:206
dgb MuteDefTranslator
Definition: prestackmutedeftransl.h:61
#define isTranslator(spec, clss)
Definition: transl.h:230

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