45#if defined(WOSS_NETCDF4_SUPPORT)
47#elif defined(WOSS_NETCDF_SUPPORT)
68 #define DB_NAME_NOT_SET "DB_NAME_NOT_SET"
76 typedef ::std::pair< ::std::string, ::std::string >
PathName;
99 WossDb( const ::std::string& name );
184#ifdef WOSS_NETCDF_SUPPORT
228#if defined(WOSS_NETCDF4_SUPPORT)
309 virtual bool insertValue(
const Coord& coordinates,
const Bathymetry& bathymetry_value ) = 0;
3D-Coordinates (lat, long, depth) class definitions and functions library
Definition coordinates-definitions.h:403
Coordinates (lat, long) class definitions and functions library.
Definition coordinates-definitions.h:107
Complex attenuated pressure class.
Definition pressure-definitions.h:59
SSP class offers multiple creation and manipulation capabilities for sound speed profile.
Definition ssp-definitions.h:258
Surficial sediment geoacoustic parameters definitions.
Definition sediment-definitions.h:63
Channel power delay profile class.
Definition time-arrival-definitions.h:82
a class for time date manipulation
Definition time-definitions.h:95
Data behaviour class for bathymetry database.
Definition woss-db.h:292
virtual bool insertValue(const Coord &coordinates, const Bathymetry &bathymetry_value)=0
virtual Bathymetry getValue(const Coord &coords) const =0
Abstract class that provides the interface of databases.
Definition woss-db.h:89
virtual bool isValid()
Definition woss-db.h:134
::std::string db_name
Definition woss-db.h:164
bool debug
Definition woss-db.h:170
bool isUsingDebug() const
Definition woss-db.h:127
virtual bool finalizeConnection()=0
PathName getPathName(const ::std::string &complete_path)
Definition woss-db.cpp:54
::std::string getDbName() const
Definition woss-db.h:114
virtual bool closeConnection()=0
virtual bool openConnection()=0
void setDebug(double flag=true)
Definition woss-db.h:121
void setDbName(const ::std::string &pathname)
Definition woss-db.h:108
NetCDF implementation of WossDb.
Definition woss-db.h:193
virtual bool openConnection()
Definition woss-db.cpp:97
virtual bool closeConnection()
Definition woss-db.cpp:113
netCDF::NcFile * netcdf_db
Definition woss-db.h:229
Data behaviour class for storing calculated Pressure.
Definition woss-db.h:458
virtual Pressure * getValue(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value) const =0
virtual bool insertValue(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value, const Pressure &pressure)=0
Data behaviour class for storing calculated TimeArr.
Definition woss-db.h:416
virtual bool insertValue(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value, const TimeArr &channel)=0
virtual TimeArr * getValue(const CoordZ &coord_tx, const CoordZ &coord_rx, const double frequency, const Time &time_value) const =0
Data behaviour class for SSP database.
Definition woss-db.h:375
virtual bool insertValue(const Coord &coordinates, const Time &time_value, const SSP &ssp_value)=0
virtual SSP * getValue(const Coord &coords, const Time &time, long double ssp_depth_precision) const =0
Data behaviour class for Sediment database.
Definition woss-db.h:328
virtual Sediment * getValue(const CoordZ &coords) const =0
virtual bool insertValue(const Coord &coordinates, const Sediment &sediment_value)=0
virtual Sediment * getValue(const CoordZVector &coordz_vector) const =0
Textual implementation of WossDb.
Definition woss-db.h:245
::std::fstream textual_db
Definition woss-db.h:279
virtual bool openConnection()
Definition woss-db.cpp:137
virtual bool closeConnection()
Definition woss-db.cpp:142
Provides the interface for the woss::Coord and woss::CoordZ classes.
::std::vector< CoordZ > CoordZVector
Definition coordinates-definitions.h:64
Generic functions and variables
::std::pair< ::std::string, ::std::string > PathName
Definition woss-db.h:76