OpendTect-6_4  6.4
posvecdatasettr.h
Go to the documentation of this file.
1 #ifndef posvecdatasettr_h
2 #define posvecdatasettr_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: A.H. Bril
9  Date: June 2005
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 
16 #include "geometrymod.h"
17 #include "transl.h"
18 #include "ctxtioobj.h"
19 #include <iosfwd>
20 class PosVecDataSet;
21 
22 
25 public:
27 
28  virtual const char* defExtension() const { return "pvds"; }
29 };
30 
31 
33 {
34 public:
36 
37  virtual bool read(const IOObj&,PosVecDataSet&) = 0;
38  virtual bool write(const IOObj&,const PosVecDataSet&) = 0;
39 
40  const char* errMsg() const { return errmsg_.str(); }
41 
42 protected:
43 
45 };
46 
47 
50 public:
52 
53  virtual bool read(const IOObj&,PosVecDataSet&);
54  virtual bool write(const IOObj&,const PosVecDataSet&);
55 
56 };
57 
58 
59 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
const char * str() const
Definition: odstring.h:48
od
Definition: strattransl.h:17
BufferString errmsg_
Definition: posvecdatasettr.h:44
#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
Definition: posvecdatasettr.h:48
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:261
I/O Interpreter class for a certain object type.
Definition: transl.h:123
const char * errMsg() const
Definition: posvecdatasettr.h:40
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
Definition: posvecdatasettr.h:23
Definition: posvecdatasettr.h:32
#define isTranslatorGroup(clss)
Definition: transl.h:206
Definition: arraytesselator.h:21
Data set consisting of data vectors.
Definition: posvecdataset.h:30
#define isTranslator(spec, clss)
Definition: transl.h:230

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