OpendTect-6_4  6.4
randomlinetr.h
Go to the documentation of this file.
1 #ifndef randomlinetr_h
2 #define randomlinetr_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: May 2001
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "geometrymod.h"
16 #include "transl.h"
17 #include "bufstringset.h"
18 
19 namespace Geometry { class RandomLineSet; }
20 class Conn;
21 
23 { isTranslatorGroup(RandomLineSet)
24 public:
26 
27  const char* defExtension() const { return "rdl"; }
28 };
29 
30 
32 {
33 public:
35 
36  virtual const char* read(Geometry::RandomLineSet&,Conn&) = 0;
38  virtual const char* write(const Geometry::RandomLineSet&,Conn&) = 0;
40 
41  static bool retrieve(Geometry::RandomLineSet&,const IOObj*,
42  BufferString&);
43  static bool store(const Geometry::RandomLineSet&,const IOObj*,
44  BufferString&);
45 };
46 
47 
49 { isTranslator(dgb,RandomLineSet)
50 public:
51 
52  mDefEmptyTranslatorConstructor(dgb,RandomLineSet)
53 
54  const char* read(Geometry::RandomLineSet&,Conn&);
55  const char* write(const Geometry::RandomLineSet&,Conn&);
56 };
57 
58 
59 #endif
#define mExpClass(module)
Definition: commondefs.h:160
Definition: ioobj.h:58
Definition: randomlinetr.h:48
#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: randomlinetr.h:31
#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
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Definition: randomlinegeom.h:122
#define isTranslatorGroup(clss)
Definition: transl.h:206
Definition: arraytesselator.h:21
Definition: randomlinetr.h:22
#define isTranslator(spec, clss)
Definition: transl.h:230

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