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 2025 Federico Guerra
4 * and regents of the SIGNET lab, University of Padova
5 *
6 * Author: Federico Guerra - WOSS@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
33#ifndef WOSS_RES_TIME_ARR_BIN_DB_H
34#define WOSS_RES_TIME_ARR_BIN_DB_H
35
36
37#include "res-time-arr-txt-db.h"
38
39
40namespace woss {
41
42
50
51 public:
52
57 ResTimeArrBinDb( const std::string& name ) : ResTimeArrTxtDb(name) { }
58
59 virtual ~ResTimeArrBinDb() override = default;
60
61
62 static void setSpaceSampling( double value ) { space_sampling = value; }
63
64 static double getSpaceSampling() { return space_sampling; }
65
66 protected:
67
74 virtual bool writeMap() override;
75
82 virtual bool importMap() override;
83
84 };
85
86}
87
88#endif /* WOSS_RES_TIME_ARR_BIN_DB_H */
Binary WossDb for TimeArr.
Definition res-time-arr-bin-db.h:49
static double getSpaceSampling()
Definition res-time-arr-bin-db.h:64
ResTimeArrBinDb(const std::string &name)
Definition res-time-arr-bin-db.h:57
virtual ~ResTimeArrBinDb() override=default
static void setSpaceSampling(double value)
Definition res-time-arr-bin-db.h:62
virtual bool importMap() override
Definition res-time-arr-bin-db.cpp:45
virtual bool writeMap() override
Definition res-time-arr-bin-db.cpp:121
Textual WossDb for TimeArr.
Definition res-time-arr-txt-db.h:53
static double space_sampling
Definition res-time-arr-txt-db.h:134
Definition ac-toolbox-arr-asc-reader.h:44
Provides the interface for woss::ResTimeArrTxtDb class.