World Ocean Simulation System (WOSS) library
|
Data behaviour class for Sediment database. More...
#include <woss-db.h>
Public Member Functions | |
virtual bool | insertValue (const Coord &coordinates, const Sediment &sediment_value)=0 |
virtual Sediment * | getValue (const CoordZ &coords) const =0 |
virtual Sediment * | getValue (const CoordZVector &coordz_vector) const =0 |
Data behaviour class for Sediment database.
WossSedimentDb is the prototype of any Sediment dabase in WOSS
Returns a pointer to a heap-created Sediment value for given coordinates and depth, if present in the database. User is responsible of pointer's ownership
coords | const reference to a valid CoordZ object |
Implemented in woss::SedimDeck41Db.
Referenced by woss::WossDbManager::getSediment(), and woss::WossDbManager::getSediment().
|
pure virtual |
Returns a pointer to a heap-created Sediment value for given coordinates and depth vector, if at least one set of coordinates is present in the database. User is responsible of pointer's ownership
coordz_vector | const reference to a valid CoordZ vector |
Implemented in woss::SedimDeck41Db.
|
pure virtual |
Inserts the given woss::Sediment value in the database for given coordinates
coordinates | const reference to a valid woss::Coord object |
bathymetry_value | const reference to woss::Sediment value to be inserted |
Implemented in woss::SedimDeck41Db.