OpendTect-6_4  6.4
probdenfunctr.h
Go to the documentation of this file.
1 #ifndef probdenfunctr_h
2 #define probdenfunctr_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Nanne Hemstra
9  Date: January 2010
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "geometrymod.h"
16 #include "transl.h"
17 #include "od_iosfwd.h"
18 
19 class IOObj;
20 class ProbDenFunc;
21 
22 
25 public:
27 
28  const char* defExtension() const { return "prdf"; }
29 
30 };
31 
32 
35 public:
36  ProbDenFuncTranslator(const char* nm,const char* unm);
37 
38  static ProbDenFunc* read(const IOObj&,uiString* emsg=0);
39  static bool write(const ProbDenFunc&,const IOObj&,
40  uiString* emsg=0);
41 
42  virtual ProbDenFunc* read(od_istream&) = 0;
43  virtual bool write(const ProbDenFunc&,od_ostream&) = 0;;
44 
45  bool binary_;
46 
47 };
48 
49 
52 public:
54 
55  ProbDenFunc* read(od_istream&);
56  bool write(const ProbDenFunc&,od_ostream&);
57 
58 };
59 
60 
61 #endif
#define mExpClass(module)
Definition: commondefs.h:160
OD class for stream write common access to the user log file, or std::cout in batch progs...
Definition: od_ostream.h:26
Definition: ioobj.h:58
Definition: probdenfunctr.h:33
bool binary_
default: false
Definition: probdenfunctr.h:43
#define mODTextTranslationClass(clss)
Definition: uistring.h:38
Base class for Probability Density Functions.
Definition: probdenfunc.h:31
od
Definition: strattransl.h:17
Definition: uistring.h:89
#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: probdenfunctr.h:50
I/O Interpreter class for a certain object type.
Definition: transl.h:123
Definition: probdenfunctr.h:23
#define isTranslatorGroup(clss)
Definition: transl.h:206
Definition: arraytesselator.h:21
#define isTranslator(spec, clss)
Definition: transl.h:230

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