|
World Ocean Simulation System (WOSS) library
|
Data behaviour class for SSP database. More...
#include <woss-db.h>


Public Member Functions | |
| 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 SSP database.
WossSSPDb is the prototype of any SSP dabase in WOSS
|
pure virtual |
Returns a pointer to a heap-created SSP object for given coordinates and date time if both present in the database. User is responsible of pointer's ownership
| coords | const reference to a valid Coord object |
| time | const reference to a valid Time object |
| ssp_depth_precision | ssp depth precision [m] |
Implemented in woss::SspWoa2005Db.
Referenced by woss::WossDbManager::getAverageSSP(), and woss::WossDbManager::getSSP().
|
pure virtual |
Inserts the given woss::SSP value in the database for given coordinates
| coordinates | const reference to a valid woss::Coord object |
| time_value | const reference to a valid woss::Time object |
| ssp_value | const reference to woss::SSP value to be inserted |
Implemented in woss::SspWoa2005Db.