OpendTect-6_4  6.4
waveletio.h
Go to the documentation of this file.
1 #ifndef waveletio_h
2 #define waveletio_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Feb 2015
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "seismod.h"
16 #include "transl.h"
17 #include "tableascio.h"
18 class Wavelet;
19 
20 
23 public:
25 
26  const char* defExtension() const { return "wvlt"; }
27 };
28 
31 public:
33 
34  virtual bool read(Wavelet*,Conn&) = 0;
35  virtual bool write(const Wavelet*,Conn&) = 0;
36 
37 };
38 
39 
41 { isTranslator(dgb,Wavelet)
42 public:
44 
45  bool read(Wavelet*,Conn&);
46  bool write(const Wavelet*,Conn&);
47 
48 };
49 
50 
51 mExpClass(Seis) WaveletAscIO : public Table::AscIO
53 public:
55  : Table::AscIO(fd) {}
56 
57  static Table::FormatDesc* getDesc();
58 
59  Wavelet* get(od_istream&) const;
60  bool put(od_ostream&) const;
61 
62 };
63 
64 
65 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Summary for a Seismic object.
Definition: segydirectdef.h:23
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
WaveletAscIO(const Table::FormatDesc &fd)
Definition: waveletio.h:54
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
bool put(const IOObj *) const
Definition: wavelet.h:25
Definition: waveletio.h:29
description of input our output data content
Definition: tabledef.h:220
#define mDefEmptyTranslatorConstructor(spec, clss)
Definition: transl.h:267
OD class for stream read.
Definition: od_istream.h:24
#define mDefEmptyTranslatorGroupConstructor(clss)
Definition: transl.h:255
Group of Translators. Has a static factory.
Definition: transl.h:56
Definition: geom2dascio.h:21
Definition: waveletio.h:40
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:261
I/O Interpreter class for a certain object type.
Definition: transl.h:123
Data connection.
Definition: conn.h:30
Definition: waveletio.h:21
Definition: waveletio.h:51
#define isTranslatorGroup(clss)
Definition: transl.h:206
#define isTranslator(spec, clss)
Definition: transl.h:230

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