Data behaviour class for SSP database.
More...
#include <woss-db.h>
Data behaviour class for SSP database.
WossSSPDb is the prototype of any SSP dabase in WOSS
- See also
- SspWoa2005Db
◆ WossSSPDb()
| woss::WossSSPDb::WossSSPDb |
( |
| ) |
|
|
default |
◆ ~WossSSPDb()
| virtual woss::WossSSPDb::~WossSSPDb |
( |
| ) |
|
|
virtualdefault |
◆ getValue()
| virtual std::unique_ptr< SSP > woss::WossSSPDb::getValue |
( |
const Coord & |
coords, |
|
|
const Time & |
time, |
|
|
long double |
ssp_depth_precision |
|
) |
| const |
|
pure virtual |
Returns a std::unique_ptr 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
- Parameters
-
| coords | const reference to a valid Coord object |
| time | const reference to a valid Time object |
| ssp_depth_precision | ssp depth precision [m] |
- Returns
- std::unique_ptr to a valid SSP if coordinates and time date are found, not valid otherwise
Implemented in woss::SspWoa2005Db.
◆ insertValue()
| virtual bool woss::WossSSPDb::insertValue |
( |
const Coord & |
coordinates, |
|
|
const Time & |
time_value, |
|
|
const SSP & |
ssp_value |
|
) |
| |
|
pure virtual |
Inserts the given woss::SSP value in the database for given coordinates
- Parameters
-
| 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 |
- Returns
- true if method was successful, false otherwise
Implemented in woss::SspWoa2005Db.
The documentation for this class was generated from the following file: