OpendTect  6.6
gmtbasemap.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: Raman Singh
8  Date: July 2008
9  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "gmtpar.h"
15 
16 
18 {
19 public:
20 
21  static void initClass();
22 
23  GMTBaseMap( const IOPar& par, const char* workdir )
24  : GMTPar(par,workdir) {}
25 
26  virtual const char* userRef() const { return 0; }
27 
28 protected:
29 
30  virtual bool doExecute(od_ostream&,const char*) override;
31 
32  static GMTPar* createInstance(const IOPar&,const char*);
33  static int factoryid_;
34 };
35 
36 
38 {
39 public:
40 
41  static void initClass();
42 
43  GMTLegend( const IOPar& par, const char* workdir )
44  : GMTPar(par,workdir) {}
45 
46  virtual const char* userRef() const { return 0; }
47 
48 protected:
49 
50  virtual bool doExecute(od_ostream&,const char*) override;
51 
52  static GMTPar* createInstance(const IOPar&,const char*);
53  static int factoryid_;
54 };
55 
56 
58 {
59 public:
60 
61  static void initClass();
62 
63  GMTCommand( const IOPar& par, const char* workdir )
64  : GMTPar(par,workdir) {}
65 
66  virtual const char* userRef() const;
67 
68 protected:
69 
70  virtual bool doExecute(od_ostream&,const char*) override;
71 
72  static GMTPar* createInstance(const IOPar&,const char*);
73  static int factoryid_;
74 };
75 
GMT
Definition: initgmtplugin.h:17
GMTCommand::doExecute
virtual bool doExecute(od_ostream &, const char *) override
GMTBaseMap::userRef
virtual const char * userRef() const
Definition: gmtbasemap.h:26
GMTLegend
Definition: gmtbasemap.h:38
GMTCommand
Definition: gmtbasemap.h:58
GMTCommand::userRef
virtual const char * userRef() const
GMTLegend::initClass
static void initClass()
GMTLegend::factoryid_
static int factoryid_
Definition: gmtbasemap.h:53
gmtpar.h
GMTLegend::createInstance
static GMTPar * createInstance(const IOPar &, const char *)
GMTCommand::GMTCommand
GMTCommand(const IOPar &par, const char *workdir)
Definition: gmtbasemap.h:63
mClass
#define mClass(module)
Definition: commondefs.h:181
GMTCommand::initClass
static void initClass()
GMTCommand::factoryid_
static int factoryid_
Definition: gmtbasemap.h:73
GMTBaseMap::GMTBaseMap
GMTBaseMap(const IOPar &par, const char *workdir)
Definition: gmtbasemap.h:23
GMTLegend::GMTLegend
GMTLegend(const IOPar &par, const char *workdir)
Definition: gmtbasemap.h:43
GMTBaseMap::createInstance
static GMTPar * createInstance(const IOPar &, const char *)
GMTLegend::userRef
virtual const char * userRef() const
Definition: gmtbasemap.h:46
GMTBaseMap::doExecute
virtual bool doExecute(od_ostream &, const char *) override
GMTCommand::createInstance
static GMTPar * createInstance(const IOPar &, const char *)
GMTLegend::doExecute
virtual bool doExecute(od_ostream &, const char *) override
GMTBaseMap::initClass
static void initClass()
GMTBaseMap::factoryid_
static int factoryid_
Definition: gmtbasemap.h:33
GMTPar
Definition: gmtpar.h:25
od_ostream
OD class for stream write common access to the user log file, or std::cout in other than od_main.
Definition: od_ostream.h:26
GMTBaseMap
Definition: gmtbasemap.h:18
IOPar
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:55

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