OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "geometrymod.h"
15 #include "transl.h"
16 #include "bufstringset.h"
17 
18 namespace Geometry { class RandomLineSet; }
19 class Conn;
20 
22 { isTranslatorGroup(RandomLineSet)
23 public:
25 
26  const char* defExtension() const { return "rdl"; }
27 };
28 
29 
31 {
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 store(const Geometry::RandomLineSet&,const IOObj*,
43  BufferString&);
44 };
45 
46 
48 { isTranslator(dgb,RandomLineSet)
49 public:
50 
51  mDefEmptyTranslatorConstructor(dgb,RandomLineSet)
52 
53  const char* read(Geometry::RandomLineSet&,Conn&);
54  const char* write(const Geometry::RandomLineSet&,Conn&);
55 };
56 
57 
dgbRandomLineSetTranslator
Definition: randomlinetr.h:48
Conn
Data connection.
Definition: conn.h:30
Geometry::RandomLineSet
Definition: randomlinegeom.h:122
Geometry
Definition: arraytesselator.h:21
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
isTranslator
#define isTranslator(spec, clss)
Definition: transl.h:244
RandomLineSetTranslator::store
static bool store(const Geometry::RandomLineSet &, const IOObj *, BufferString &)
RandomLineSetTranslator::retrieve
static bool retrieve(Geometry::RandomLineSet &, const IOObj *, BufferString &)
mDefEmptyTranslatorConstructor
#define mDefEmptyTranslatorConstructor(spec, clss)
Definition: transl.h:281
isTranslatorGroup
#define isTranslatorGroup(clss)
Definition: transl.h:220
mDefEmptyTranslatorGroupConstructor
#define mDefEmptyTranslatorGroupConstructor(clss)
Definition: transl.h:269
IOObj
Definition: ioobj.h:58
TranslatorGroup
Group of Translators. Has a static factory.
Definition: transl.h:56
BufferString
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size.
Definition: bufstring.h:40
RandomLineSetTranslatorGroup
Definition: randomlinetr.h:22
bufstringset.h
mDefEmptyTranslatorBaseConstructor
#define mDefEmptyTranslatorBaseConstructor(clss)
Definition: transl.h:275
Translator
I/O Interpreter class for a certain object type.
Definition: transl.h:123
transl.h
RandomLineSetTranslator
Definition: randomlinetr.h:31
dgbRandomLineSetTranslator::write
isTranslator(dgb, RandomLineSet) public const char * write(const Geometry::RandomLineSet &, Conn &)

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