OpendTect  6.3
randomlinetr.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: A.H. Bril
8  Date: May 2001
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "geometrymod.h"
14 #include "transl.h"
15 #include "bufstringset.h"
16 
17 namespace Geometry { class RandomLineSet; }
18 class Conn;
19 
21 { isTranslatorGroup(RandomLineSet);
23 public:
25 
26  const char* defExtension() const { return "rdl"; }
27 };
28 
29 
32 public:
34 
35  virtual const char* read(Geometry::RandomLineSet&,Conn&) = 0;
37  virtual const char* write(const Geometry::RandomLineSet&,Conn&) = 0;
39 
40  static bool retrieve(Geometry::RandomLineSet&,const IOObj*,
41  BufferString&);
42  static bool retrieve(Geometry::RandomLineSet&,const IOObj*,
43  uiString&);
44  static bool store(const Geometry::RandomLineSet&,const IOObj*,
45  BufferString&);
46  static bool store(const Geometry::RandomLineSet&,const IOObj*,
47  uiString&);
48 };
49 
50 
52 { isTranslator(dgb,RandomLineSet)
53 public:
54 
55  mDefEmptyTranslatorConstructor(dgb,RandomLineSet)
56 
57  const char* read(Geometry::RandomLineSet&,Conn&);
58  const char* write(const Geometry::RandomLineSet&,Conn&);
59 };
#define mExpClass(module)
Definition: commondefs.h:157
Definition: ioobj.h:57
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: randomlinetr.h:51
mDefEmptyTranslatorGroupConstructor(RandomLineSet) const char *defExtension() const
Definition: randomlinetr.h:24
Definition: uistring.h:88
#define mDefEmptyTranslatorConstructor(spec, clss)
Definition: transl.h:261
Group of Translators. Has a static factory.
Definition: transl.h:54
Definition: randomlinetr.h:30
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:255
I/O Interpreter class for a certain object type.
Definition: transl.h:122
Definition: conn.h:31
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:38
Definition: randomlinegeom.h:121
#define isTranslatorGroup(clss)
In the class definition of a TranslatorGroup class.
Definition: transl.h:188
Definition: arraytesselator.h:19
Definition: randomlinetr.h:20
#define isTranslator(spec, clss)
Definition: transl.h:224

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