World Ocean Simulation System (WOSS) library
bathymetry-gebco-db-creator.h
Go to the documentation of this file.
1/* WOSS - World Ocean Simulation System -
2 *
3 * Copyright (C) 2009 Federico Guerra
4 * and regents of the SIGNET lab, University of Padova
5 *
6 * Author: Federico Guerra - federico@guerra-tlc.com
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License version 2 as
10 * published by the Free Software Foundation;
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22/*
23 * This software has been developed by Federico Guerra and SIGNET lab,
24 * University of Padova, in collaboration with the NATO Centre for
25 * Maritime Research and Experimentation (http://www.cmre.nato.int ;
26 * E-mail: pao@cmre.nato.int), whose support is gratefully acknowledged.
27 */
28
29
40#ifndef WOSS_BATHYMETRY_GEBCO_DB_CREATOR_H
41#define WOSS_BATHYMETRY_GEBCO_DB_CREATOR_H
42
43#ifdef WOSS_NETCDF_SUPPORT
44
45
46#include "woss-db-creator.h"
47#include "bathymetry-gebco-db.h"
48
49
50namespace woss {
51
52
62
63
64 public:
65
66
71
72 virtual ~BathyGebcoDbCreator();
73
74
79 virtual WossDb* const createWossDb();
80
87 gebco_type = bathy_type; return *this; }
88
94
95 protected:
96
97
103
104
110 virtual bool initializeDb( WossDb* const woss_db );
111
112
113 };
114
115}
116
117#endif // WOSS_NETCDF_SUPPORT
118
119#endif /* WOSS_BATHYMETRY_GEBCO_DB_CREATOR_H */
120
Provides the interface for woss::BathyGebcoDb class.
GEBCO_BATHY_TYPE
Definition bathymetry-gebco-db.h:132
WossDbCreator for the GEBCO bathymetry database.
Definition bathymetry-gebco-db-creator.h:61
virtual bool initializeDb(WossDb *const woss_db)
Definition bathymetry-gebco-db-creator.cpp:72
GEBCO_BATHY_TYPE gebco_type
Definition bathymetry-gebco-db-creator.h:102
GEBCO_BATHY_TYPE getGebcoBathyType()
Definition bathymetry-gebco-db-creator.h:93
virtual WossDb *const createWossDb()
Definition bathymetry-gebco-db-creator.cpp:60
BathyGebcoDbCreator()
Definition bathymetry-gebco-db-creator.cpp:48
BathyGebcoDbCreator & setGebcoBathyType(GEBCO_BATHY_TYPE bathy_type)
Definition bathymetry-gebco-db-creator.h:86
Abstract class that provides the interface of database creator ( Factory object )
Definition woss-db-creator.h:64
Abstract class that provides the interface of databases.
Definition woss-db.h:89
Provides the interface for woss::WossDbCreator class.