World Ocean Simulation System (WOSS) library
woss-db-manager.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_DB_MANAGER_IMPLEMENT_H
34#define WOSS_DB_MANAGER_IMPLEMENT_H
35
36
37#include <memory>
38#include <string>
39#include <definitions.h>
40#include <definitions-handler.h>
42#include "woss-db.h"
43
44
45namespace woss {
46
60
61
62 protected:
63
64
71
72 public:
73
83 double operator()( const Coord& x, const Coord& y ) const {
84 return( x.getInitialBearing(y) );
85 }
86
87 };
88
89
96
97 public:
98
108 double operator()( const Coord& x, const Coord& y ) const {
109 return( x.getGreatCircleDistance(y) );
110 }
111
112 };
113
114 public:
115
117
119
121
123
128
129 WossDbManager( const WossDbManager& instance ) = default;
130
131 WossDbManager( WossDbManager&& instance ) = default;
132
133 WossDbManager& operator=( const WossDbManager& instance ) = default;
134
135 WossDbManager& operator=( WossDbManager&& instance ) = default;
136
141 virtual ~WossDbManager() = default;
142
150 virtual std::unique_ptr<Altimetry> getAltimetry( const CoordZ& tx, const CoordZ& rx ) const;
151
152
160 virtual std::unique_ptr<Sediment> getSediment( const CoordZ& tx, const CoordZ& rx ) const;
161
169 virtual std::unique_ptr<Sediment> getSediment( const CoordZ& tx, const CoordZVector& rx_coordz_vector ) const;
170
171
177 virtual Bathymetry getBathymetry( const Coord& tx, const Coord& rx ) const;
178
183 virtual void getBathymetry( const Coord& tx, CoordZVector& rx_coordz_vector ) const;
184
185
194 virtual std::unique_ptr<SSP> getSSP( const Coord& tx, const Coord& rx, const Time& time, long double ssp_depth_precision = SSP_CUSTOM_DEPTH_PRECISION ) const;
195
207 virtual std::unique_ptr<SSP> getAverageSSP( const Coord& tx, const Coord& rx, const Time& time_start, const Time& time_end, int max_time_values, long double ssp_depth_precision = SSP_CUSTOM_DEPTH_PRECISION ) const;
208
209
220 virtual std::unique_ptr<TimeArr> getTimeArr( const CoordZ& coord_tx, const CoordZ& coord_rx, const double frequency, const Time& time_value ) const;
221
230 virtual void insertTimeArr( const CoordZ& coord_tx, const CoordZ& coord_rx, const double frequency, const Time& time_value, const TimeArr& channel ) const;
231
232
243 virtual std::unique_ptr<Pressure> getPressure( const CoordZ& coord_tx, const CoordZ& coord_rx, const double frequency, const Time& time_value ) const;
244
253 virtual void insertPressure( const CoordZ& coord_tx, const CoordZ& coord_rx, const double frequency, const Time& time_value, const Pressure& pressure ) const;
254
255
262 WossDbManager& setBathymetryDb( std::unique_ptr<WossBathymetryDb> ptr ) { bathymetry_db = std::move(ptr); return *this; }
263
270 WossDbManager& setSedimentDb( std::unique_ptr<WossSedimentDb> ptr ) { sediment_db = std::move(ptr); return *this; }
271
278 WossDbManager& setSSPDb( std::unique_ptr<WossSSPDb> ptr ) { ssp_db = std::move(ptr); return *this; }
279
286 WossDbManager& setResTimeArrDb( std::unique_ptr<WossResTimeArrDb> ptr ) { results_arrivals_db = std::move(ptr); return *this; }
287
294 WossDbManager& setResPressureDb( std::unique_ptr<WossResPressDb> ptr ) { results_pressure_db = std::move(ptr); return *this; }
295
303 bool setCustomAltimetry( const Altimetry& altimetry, const Coord& tx_coord = CCAltimetry::DB_CDATA_ALL_OUTER_KEYS,
306
314 std::unique_ptr<Altimetry> getCustomAltimetry( const Coord& tx_coord = CCAltimetry::DB_CDATA_ALL_OUTER_KEYS,
316 double range = CCAltimetry::DB_CDATA_ALL_INNER_KEYS ) const;
317
328
329
338 bool setCustomSediment( const Sediment& sediment, const Coord& tx_coord = CCSediment::DB_CDATA_ALL_OUTER_KEYS,
339 double bearing = CCSediment::DB_CDATA_ALL_MEDIUM_KEYS,
341
351 bool setCustomSediment( const std::string& sediment_string,
355
363 std::unique_ptr<Sediment> getCustomSediment( const Coord& tx_coord = CCSediment::DB_CDATA_ALL_OUTER_KEYS,
364 double bearing = CCSediment::DB_CDATA_ALL_MEDIUM_KEYS,
365 double range = CCSediment::DB_CDATA_ALL_INNER_KEYS ) const;
366
375 double bearing = CCSediment::DB_CDATA_ALL_MEDIUM_KEYS,
377
378
388 bool setCustomSSP( const SSP& ssp, const Coord& tx_coord = CCSSP::DB_CDATA_ALL_OUTER_KEYS,
389 double bearing = CCSSP::DB_CDATA_ALL_MEDIUM_KEYS,
390 double range = CCSSP::DB_CDATA_ALL_INNER_KEYS,
391 const Time& time_value = CCSSP::DB_CDATA_ALL_TIME_KEYS );
392
404 bool setCustomSSP( const std::string& sspString, const Coord& txCoord = CCSSP::DB_CDATA_ALL_OUTER_KEYS,
405 double bearing = CCSSP::DB_CDATA_ALL_MEDIUM_KEYS,
406 double range = CCSSP::DB_CDATA_ALL_INNER_KEYS,
407 const Time& time_value = CCSSP::DB_CDATA_ALL_TIME_KEYS );
408
430 virtual bool importCustomSSP( const std::string& filename, const Time& = CCSSP::DB_CDATA_ALL_TIME_KEYS,
431 const Coord& tx_coord = CCSSP::DB_CDATA_ALL_OUTER_KEYS, double bearing = CCSSP::DB_CDATA_ALL_MEDIUM_KEYS );
432
441 std::unique_ptr<SSP> getCustomSSP( const Coord& tx_coord = CCSSP::DB_CDATA_ALL_OUTER_KEYS,
442 double bearing = CCSSP::DB_CDATA_ALL_MEDIUM_KEYS,
443 double range = CCSSP::DB_CDATA_ALL_INNER_KEYS,
444 const Time& time_value = CCSSP::DB_CDATA_ALL_TIME_KEYS ) const;
445
455 double bearing = CCSSP::DB_CDATA_ALL_MEDIUM_KEYS,
456 double range = CCSSP::DB_CDATA_ALL_INNER_KEYS,
457 const Time& time_value = CCSSP::DB_CDATA_ALL_TIME_KEYS );
458
467 bool setCustomBathymetry( const Bathymetry& bathymetry, const Coord& tx_coord = CCBathymetry::DB_CDATA_ALL_OUTER_KEYS,
470
480 bool setCustomBathymetry (const std::string &bathyLine, const Coord& tx_coord = CCBathymetry::DB_CDATA_ALL_OUTER_KEYS,
482
490 virtual bool importCustomBathymetry( const std::string& filename, const Coord& tx_coord = CCBathymetry::DB_CDATA_ALL_OUTER_KEYS,
492
502 double range = CCBathymetry::DB_CDATA_ALL_INNER_KEYS ) const;
503
514
515
516 WossDbManager& setDebug( bool flag ) { debug = flag; updateDebugFlag(); return *this; }
517
518 bool getDebug() const { return debug; }
519
520 protected:
521
525 std::unique_ptr<WossBathymetryDb> bathymetry_db;
526
530 std::unique_ptr<WossSedimentDb> sediment_db;
531
535 std::unique_ptr<WossSSPDb> ssp_db;
536
540 std::unique_ptr<WossResTimeArrDb> results_arrivals_db;
541
545 std::unique_ptr<WossResPressDb> results_pressure_db;
546
550 bool debug;
551
556
561
566
571
572
576 virtual bool closeAllConnections();
577
578 virtual void updateDebugFlag();
579
580 };
581
582
583 //inline functions
585 inline bool WossDbManager::setCustomAltimetry( const Altimetry& altimetry, const Coord& tx_coord, double bearing, double range ) {
586 return ccaltimetry_map.insert( altimetry.clone(), tx_coord, bearing, range );
587 }
588
589
590 inline std::unique_ptr<Altimetry> WossDbManager::getCustomAltimetry( const Coord& tx_coord, double bearing, double range ) const {
591 auto ret = ccaltimetry_map.get( tx_coord, bearing, range );
592 if (ret)
593 return (*ret)->clone();
594 else
595 return( SDefHandler::instance().createAltimetry( Altimetry::createNotValid() ) );
596 }
597
598
599 inline WossDbManager& WossDbManager::eraseCustomAltimetry( const Coord& tx_coord, double bearing, double range ) {
600 ccaltimetry_map.erase( tx_coord, bearing, range );
601 return *this;
602 }
603
604
605 inline bool WossDbManager::setCustomSediment( const Sediment& sediment, const Coord& tx_coord, double bearing, double range ) {
606 return ccsediment_map.insert( sediment.clone(), tx_coord, bearing, range );
607 }
608
609
610 inline std::unique_ptr<Sediment> WossDbManager::getCustomSediment( const Coord& tx_coord, double bearing, double range ) const {
611 auto ret = ccsediment_map.get( tx_coord, bearing, range );
612 if (ret)
613 return (*ret)->clone();
614 else
615 return( SDefHandler::instance().createSediment() );
616 }
617
618
619 inline WossDbManager& WossDbManager::eraseCustomSediment( const Coord& tx_coord, double bearing, double range ) {
620 ccsediment_map.erase( tx_coord, bearing, range );
621 return *this;
622 }
623
624
625 inline bool WossDbManager::setCustomSSP( const SSP& ssp, const Coord& tx_coord, double bearing, double range, const Time& time_key ) {
626 return ccssp_map.insert( ssp.clone(), tx_coord, bearing, range, time_key );
627 }
628
629
630 inline std::unique_ptr<SSP> WossDbManager::getCustomSSP( const Coord& tx_coord, double bearing, double range, const Time& time_key ) const {
631 auto ret = ccssp_map.get( tx_coord, bearing, range, time_key);
632 if (ret)
633 return (*ret)->clone();
634 else
635 return( SDefHandler::instance().createSSP() );
636 }
637
638
639 inline WossDbManager& WossDbManager::eraseCustomSSP( const Coord& tx_coord, double bearing, double range, const Time& time_key ) {
640 ccssp_map.erase( tx_coord, bearing, range, time_key );
641 return *this;
642 }
643
644
645 inline bool WossDbManager::setCustomBathymetry( const Bathymetry& bathy, const Coord& tx_coord, double bearing, double range ) {
646 return ccbathy_map.insert(bathy, tx_coord, bearing, range );
647 }
648
649
650 inline Bathymetry WossDbManager::getCustomBathymetry( const Coord& tx_coord, double bearing, double range ) const {
651 auto ret = ccbathy_map.get( tx_coord, bearing, range);
652 if (ret)
653 return (*ret);
654 else
655 return( Bathymetry() );
656 }
657
658
659 inline WossDbManager& WossDbManager::eraseCustomBathymetry( const Coord& tx_coord, double bearing, double range ) {
660 ccbathy_map.erase( tx_coord, bearing, range );
661 return *this;
662 }
663
664}
665
666#endif /* WOSS_DB_MANAGER_IMPLEMENT_H */
667
Altimetry profile class.
Definition altimetry-definitions.h:64
static AltimetryMap & createNotValid()
Definition altimetry-definitions.h:781
virtual std::unique_ptr< Altimetry > clone() const
Definition altimetry-definitions.h:124
3D-Coordinates (lat, long, depth) class definitions and functions library
Definition coordinates-definitions.h:384
Coordinates (lat, long) class definitions and functions library.
Definition coordinates-definitions.h:98
constexpr double getInitialBearing(const Coord &destination) const
Definition coordinates-definitions.h:925
constexpr double getGreatCircleDistance(const Coord &destination, double depth=0) const
Definition coordinates-definitions.h:954
static constexpr double DB_CDATA_ALL_MEDIUM_KEYS
Definition woss-db-custom-data-container.h:88
bool insert(const Data &data, const T &t=DB_CDATA_ALL_OUTER_KEYS, double b=DB_CDATA_ALL_MEDIUM_KEYS, double r=DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-custom-data-container.h:450
const std::optional< Data > get(const T &t=DB_CDATA_ALL_OUTER_KEYS, double b=DB_CDATA_ALL_MEDIUM_KEYS, double r=DB_CDATA_ALL_INNER_KEYS) const
Definition woss-db-custom-data-container.h:246
static constexpr double DB_CDATA_ALL_INNER_KEYS
Definition woss-db-custom-data-container.h:90
void erase(const T &t=DB_CDATA_ALL_OUTER_KEYS, double b=DB_CDATA_ALL_MEDIUM_KEYS, double r=DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-custom-data-container.h:467
static const Coord DB_CDATA_ALL_OUTER_KEYS
Definition woss-db-custom-data-container.h:97
bool insert(const Data &data, const T &t=DB_CDATA_ALL_OUTER_KEYS, double b=DB_CDATA_ALL_MEDIUM_KEYS, double r=DB_CDATA_ALL_INNER_KEYS, const Time &time_key=DB_CDATA_ALL_TIME_KEYS)
Definition woss-db-custom-data-container.h:926
static constexpr double DB_CDATA_ALL_INNER_KEYS
Definition woss-db-custom-data-container.h:534
static constexpr double DB_CDATA_ALL_MEDIUM_KEYS
Definition woss-db-custom-data-container.h:532
void erase(const T &t=DB_CDATA_ALL_OUTER_KEYS, double b=DB_CDATA_ALL_MEDIUM_KEYS, double r=DB_CDATA_ALL_INNER_KEYS, const Time &time_key=DB_CDATA_ALL_TIME_KEYS)
Definition woss-db-custom-data-container.h:942
std::optional< Data > get(const T &t=DB_CDATA_ALL_OUTER_KEYS, double b=DB_CDATA_ALL_MEDIUM_KEYS, double r=DB_CDATA_ALL_INNER_KEYS, const Time &time_key=DB_CDATA_ALL_TIME_KEYS) const
Definition woss-db-custom-data-container.h:713
static const Time DB_CDATA_ALL_TIME_KEYS
Definition woss-db-custom-data-container.h:538
static const Coord DB_CDATA_ALL_OUTER_KEYS
Definition woss-db-custom-data-container.h:536
Complex attenuated pressure class.
Definition pressure-definitions.h:52
SSP class offers multiple creation and manipulation capabilities for sound speed profile.
Definition ssp-definitions.h:247
virtual std::unique_ptr< SSP > clone() const
Definition ssp-definitions.h:322
Surficial sediment geoacoustic parameters definitions.
Definition sediment-definitions.h:54
virtual std::unique_ptr< Sediment > clone() const
Definition sediment-definitions.h:106
static T & instance()
Definition singleton-definitions.h:90
Channel power delay profile class.
Definition time-arrival-definitions.h:70
a class for time date manipulation
Definition time-definitions.h:83
Bearing operator function object.
Definition woss-db-manager.h:70
double operator()(const Coord &x, const Coord &y) const
Definition woss-db-manager.h:83
Range operator function object.
Definition woss-db-manager.h:95
double operator()(const Coord &x, const Coord &y) const
Definition woss-db-manager.h:108
Abstraction layer for database and data manipulation.
Definition woss-db-manager.h:59
WossDbManager & eraseCustomSediment(const Coord &tx_coord=CCSediment::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSediment::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCSediment::DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-manager.h:619
std::unique_ptr< WossResPressDb > results_pressure_db
Definition woss-db-manager.h:545
virtual std::unique_ptr< SSP > getSSP(const Coord &tx, const Coord &rx, const Time &time, long double ssp_depth_precision=SSP_CUSTOM_DEPTH_PRECISION) const
Definition woss-db-manager.cpp:219
virtual void updateDebugFlag()
Definition woss-db-manager.cpp:61
bool setCustomSSP(const SSP &ssp, const Coord &tx_coord=CCSSP::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSSP::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCSSP::DB_CDATA_ALL_INNER_KEYS, const Time &time_value=CCSSP::DB_CDATA_ALL_TIME_KEYS)
Definition woss-db-manager.h:625
WossDbManager & setSedimentDb(std::unique_ptr< WossSedimentDb > ptr)
Definition woss-db-manager.h:270
WossDbManager & setBathymetryDb(std::unique_ptr< WossBathymetryDb > ptr)
Definition woss-db-manager.h:262
WossDbManager & eraseCustomSSP(const Coord &tx_coord=CCSSP::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSSP::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCSSP::DB_CDATA_ALL_INNER_KEYS, const Time &time_value=CCSSP::DB_CDATA_ALL_TIME_KEYS)
Definition woss-db-manager.h:639
virtual std::unique_ptr< Pressure > getPressure(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value) const
Definition woss-db-manager.cpp:279
std::unique_ptr< WossResTimeArrDb > results_arrivals_db
Definition woss-db-manager.h:540
virtual ~WossDbManager()=default
CCSSP ccssp_map
Definition woss-db-manager.h:565
bool getDebug() const
Definition woss-db-manager.h:518
std::unique_ptr< Sediment > getCustomSediment(const Coord &tx_coord=CCSediment::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSediment::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCSediment::DB_CDATA_ALL_INNER_KEYS) const
Definition woss-db-manager.h:610
virtual std::unique_ptr< SSP > getAverageSSP(const Coord &tx, const Coord &rx, const Time &time_start, const Time &time_end, int max_time_values, long double ssp_depth_precision=SSP_CUSTOM_DEPTH_PRECISION) const
Definition woss-db-manager.cpp:235
WossDbManager(const WossDbManager &instance)=default
virtual void insertTimeArr(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value, const TimeArr &channel) const
Definition woss-db-manager.cpp:273
virtual bool closeAllConnections()
Definition woss-db-manager.cpp:69
WossDbManager & operator=(WossDbManager &&instance)=default
std::unique_ptr< WossSedimentDb > sediment_db
Definition woss-db-manager.h:530
virtual bool importCustomSSP(const std::string &filename, const Time &=CCSSP::DB_CDATA_ALL_TIME_KEYS, const Coord &tx_coord=CCSSP::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSSP::DB_CDATA_ALL_MEDIUM_KEYS)
Definition woss-db-manager.cpp:365
CCSediment ccsediment_map
Definition woss-db-manager.h:560
bool setCustomBathymetry(const Bathymetry &bathymetry, const Coord &tx_coord=CCBathymetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCBathymetry::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCBathymetry::DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-manager.h:645
virtual std::unique_ptr< Sediment > getSediment(const CoordZ &tx, const CoordZ &rx) const
Definition woss-db-manager.cpp:107
std::unique_ptr< WossSSPDb > ssp_db
Definition woss-db-manager.h:535
virtual bool importCustomBathymetry(const std::string &filename, const Coord &tx_coord=CCBathymetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCBathymetry::DB_CDATA_ALL_MEDIUM_KEYS)
Definition woss-db-manager.cpp:576
std::unique_ptr< SSP > getCustomSSP(const Coord &tx_coord=CCSSP::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSSP::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCSSP::DB_CDATA_ALL_INNER_KEYS, const Time &time_value=CCSSP::DB_CDATA_ALL_TIME_KEYS) const
Definition woss-db-manager.h:630
WossDbManager & setResPressureDb(std::unique_ptr< WossResPressDb > ptr)
Definition woss-db-manager.h:294
bool setCustomSediment(const Sediment &sediment, const Coord &tx_coord=CCSediment::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCSediment::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCSediment::DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-manager.h:605
WossDbManager & eraseCustomAltimetry(const Coord &tx_coord=CCAltimetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCAltimetry::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCAltimetry::DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-manager.h:599
WossDbManager()
Definition woss-db-manager.cpp:45
bool debug
Definition woss-db-manager.h:550
WossDbManager & setResTimeArrDb(std::unique_ptr< WossResTimeArrDb > ptr)
Definition woss-db-manager.h:286
std::unique_ptr< Altimetry > getCustomAltimetry(const Coord &tx_coord=CCAltimetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCAltimetry::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCAltimetry::DB_CDATA_ALL_INNER_KEYS) const
Definition woss-db-manager.h:590
Bathymetry getCustomBathymetry(const Coord &tx_coord=CCBathymetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCBathymetry::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCBathymetry::DB_CDATA_ALL_INNER_KEYS) const
Definition woss-db-manager.h:650
WossDbManager & eraseCustomBathymetry(const Coord &tx_coord=CCBathymetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCBathymetry::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCBathymetry::DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-manager.h:659
CCBathymetry ccbathy_map
Definition woss-db-manager.h:555
WossDbManager(WossDbManager &&instance)=default
WossDbManager & setSSPDb(std::unique_ptr< WossSSPDb > ptr)
Definition woss-db-manager.h:278
virtual void insertPressure(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value, const Pressure &pressure) const
Definition woss-db-manager.cpp:286
virtual Bathymetry getBathymetry(const Coord &tx, const Coord &rx) const
Definition woss-db-manager.cpp:190
CCAltimetry ccaltimetry_map
Definition woss-db-manager.h:570
virtual std::unique_ptr< Altimetry > getAltimetry(const CoordZ &tx, const CoordZ &rx) const
Definition woss-db-manager.cpp:90
bool setCustomAltimetry(const Altimetry &altimetry, const Coord &tx_coord=CCAltimetry::DB_CDATA_ALL_OUTER_KEYS, double bearing=CCAltimetry::DB_CDATA_ALL_MEDIUM_KEYS, double range=CCAltimetry::DB_CDATA_ALL_INNER_KEYS)
Definition woss-db-manager.h:585
virtual std::unique_ptr< TimeArr > getTimeArr(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value) const
Definition woss-db-manager.cpp:266
WossDbManager & setDebug(bool flag)
Definition woss-db-manager.h:516
std::unique_ptr< WossBathymetryDb > bathymetry_db
Definition woss-db-manager.h:525
WossDbManager & operator=(const WossDbManager &instance)=default
Provides the interface for woss::DefHandler class.
Generic functions and variables
Definition ac-toolbox-arr-asc-reader.h:44
std::vector< CoordZ > CoordZVector
Definition coordinates-definitions.h:58
double Bathymetry
Definition definitions.h:44
Provides the interface for woss::CustomDataContainer class.
Provides the interface for woss::WossDb class.