Specialization of WossTextualDb for UTM CSV database.
More...
#include <bathymetry-utm-csv-db.h>
Specialization of WossTextualDb for UTM CSV database.
Specialization of WossTextualDb for UTM CSV database. It creates a vector used to get requested bathymetry values.
◆ BathyUtmCsvDb()
BathyUtmCsvDb::BathyUtmCsvDb |
( |
const ::std::string & |
name | ) |
|
◆ finalizeConnection()
bool BathyUtmCsvDb::finalizeConnection |
( |
| ) |
|
|
virtual |
◆ getBathyIndex()
int BathyUtmCsvDb::getBathyIndex |
( |
const Coord & |
coords | ) |
const |
|
protected |
◆ getCSVSeparator()
const char woss::BathyUtmCsvDb::getCSVSeparator |
( |
| ) |
const |
|
inline |
Returns the current char separator
- Returns
- the char separator
References separator.
◆ getDbRangeEasting()
std::pair< double, double > woss::BathyUtmCsvDb::getDbRangeEasting |
( |
| ) |
const |
|
inline |
◆ getDbRangeNorthing()
std::pair< double, double > woss::BathyUtmCsvDb::getDbRangeNorthing |
( |
| ) |
const |
|
inline |
◆ getDbSpacing()
double woss::BathyUtmCsvDb::getDbSpacing |
( |
| ) |
const |
|
inline |
Returns the current db spatial resolution
- Returns
- the db spatial resolution in meters
References db_spacing.
◆ getDbTotalValues()
std::pair< int, int > woss::BathyUtmCsvDb::getDbTotalValues |
( |
| ) |
const |
|
inline |
◆ getLandApproximationFlag()
bool woss::BathyUtmCsvDb::getLandApproximationFlag |
( |
| ) |
|
|
inline |
◆ getValue()
double BathyUtmCsvDb::getValue |
( |
const Coord & |
coords | ) |
const |
|
virtual |
◆ importData()
bool BathyUtmCsvDb::importData |
( |
| ) |
|
|
protectedvirtual |
◆ insertValue()
bool BathyUtmCsvDb::insertValue |
( |
const Coord & |
coordinates, |
|
|
const Bathymetry & |
bathymetry_value |
|
) |
| |
|
virtual |
Inserts the given woss::Bathymetry value in the database for given coordinates
- Parameters
-
coordinates | const reference to a valid Coord object |
bathymetry_value | const reference to woss::Bathymetry value to be inserted |
- Returns
- true if method was successful, false otherwise
Implements woss::WossBathymetryDb.
◆ setCSVSeparator()
void woss::BathyUtmCsvDb::setCSVSeparator |
( |
const char |
new_separator | ) |
|
|
inline |
◆ setDbRangeEasting()
void woss::BathyUtmCsvDb::setDbRangeEasting |
( |
double |
start, |
|
|
double |
end |
|
) |
| |
|
inline |
◆ setDbRangeNorthing()
void woss::BathyUtmCsvDb::setDbRangeNorthing |
( |
double |
start, |
|
|
double |
end |
|
) |
| |
|
inline |
◆ setDbSpacing()
void woss::BathyUtmCsvDb::setDbSpacing |
( |
double |
spacing | ) |
|
|
inline |
◆ setDbTotalValues()
void woss::BathyUtmCsvDb::setDbTotalValues |
( |
int |
nnorth, |
|
|
int |
neast |
|
) |
| |
|
inline |
◆ setLandApproximationFlag()
void woss::BathyUtmCsvDb::setLandApproximationFlag |
( |
bool |
flag | ) |
|
|
inline |
◆ approx_land_to_sea_surface
bool woss::BathyUtmCsvDb::approx_land_to_sea_surface |
|
protected |
◆ bathy_vec
std::vector<double> woss::BathyUtmCsvDb::bathy_vec |
|
protected |
◆ db_spacing
double woss::BathyUtmCsvDb::db_spacing |
|
protected |
◆ land_approximation_depth
const double BathyUtmCsvDb::land_approximation_depth = 0.000000001 |
|
staticprotected |
Depth value for land approximation
Referenced by getValue().
◆ range_easting_end
double woss::BathyUtmCsvDb::range_easting_end |
|
protected |
◆ range_easting_start
double woss::BathyUtmCsvDb::range_easting_start |
|
protected |
◆ range_northing_end
double woss::BathyUtmCsvDb::range_northing_end |
|
protected |
◆ range_northing_start
double woss::BathyUtmCsvDb::range_northing_start |
|
protected |
◆ separator
char woss::BathyUtmCsvDb::separator |
|
protected |
◆ total_easting_values
int woss::BathyUtmCsvDb::total_easting_values |
|
protected |
◆ total_northing_values
int woss::BathyUtmCsvDb::total_northing_values |
|
protected |
The documentation for this class was generated from the following files: