World Ocean Simulation System (WOSS) library
res-time-arr-bin-db.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_RES_TIME_ARR_BIN_DB_H
41#define WOSS_RES_TIME_ARR_BIN_DB_H
42
43
44#include "res-time-arr-txt-db.h"
45
46
47namespace woss {
48
49
57
58
59 public:
60
61
66 ResTimeArrBinDb( const ::std::string& name ) : ResTimeArrTxtDb(name) { }
67
68 virtual ~ResTimeArrBinDb() { }
69
70
71 static void setSpaceSampling( double value ) { space_sampling = value; }
72
73 static double getSpaceSampling() { return space_sampling; }
74
75
76 protected:
77
78
85 virtual bool writeMap();
86
87
94 virtual bool importMap();
95
96
97 };
98
99
100}
101
102
103#endif /* WOSS_RES_TIME_ARR_BIN_DB_H */
104
105
Binary WossDb for TimeArr.
Definition res-time-arr-bin-db.h:56
virtual bool importMap()
Definition res-time-arr-bin-db.cpp:51
ResTimeArrBinDb(const ::std::string &name)
Definition res-time-arr-bin-db.h:66
virtual bool writeMap()
Definition res-time-arr-bin-db.cpp:122
Textual WossDb for TimeArr.
Definition res-time-arr-txt-db.h:58
Provides the interface for woss::ResTimeArrTxtDb class.