World Ocean Simulation System (WOSS) library
|
Data behaviour class for bathymetry database. More...
#include <woss-db.h>
Public Member Functions | |
virtual bool | insertValue (const Coord &coordinates, const Bathymetry &bathymetry_value)=0 |
virtual Bathymetry | getValue (const Coord &coords) const =0 |
Data behaviour class for bathymetry database.
WossBathymetryDb is the prototype of any bathymetry dabase in WOSS
|
pure virtual |
Returns the positive depth value ( woss::Bathymetry ) for given coordinates, if present in the database
coords | const reference to a valid Coord object |
Implemented in woss::BathyGebcoDb, and woss::BathyUtmCsvDb.
Referenced by woss::WossDbManager::getBathymetry().
|
pure virtual |
Inserts the given woss::Bathymetry value in the database for given coordinates
coordinates | const reference to a valid woss::Coord object |
bathymetry_value | const reference to woss::Bathymetry value to be inserted |
Implemented in woss::BathyGebcoDb, and woss::BathyUtmCsvDb.