|
World Ocean Simulation System (WOSS) library
|
WossDbCreator for the GEBCO bathymetry database. More...
#include <bathymetry-gebco-db-creator.h>


Public Member Functions | |
| BathyGebcoDbCreator ()=default | |
| BathyGebcoDbCreator (const BathyGebcoDbCreator ©)=default | |
| BathyGebcoDbCreator (BathyGebcoDbCreator &&tmp)=default | |
| virtual | ~BathyGebcoDbCreator () override=default |
| BathyGebcoDbCreator & | operator= (const BathyGebcoDbCreator ©)=default |
| BathyGebcoDbCreator & | operator= (BathyGebcoDbCreator &&tmp)=default |
| virtual std::unique_ptr< WossDbCreator > | clone () const override |
| virtual std::unique_ptr< WossDb > | createWossDb () const override |
| BathyGebcoDbCreator & | setGebcoBathyType (GEBCO_BATHY_TYPE bathy_type) |
| GEBCO_BATHY_TYPE | getGebcoBathyType () const |
| Public Member Functions inherited from woss::WossDbCreator | |
| WossDbCreator ()=default | |
| WossDbCreator (const WossDbCreator ©)=default | |
| WossDbCreator (WossDbCreator &&tmp)=default | |
| virtual | ~WossDbCreator ()=default |
| WossDbCreator & | operator= (const WossDbCreator ©)=default |
| WossDbCreator & | setDebug (bool flag) |
| WossDbCreator & | setWossDebug (bool flag) |
| WossDbCreator & | setDbPathName (const std::string &name) |
| bool | isUsingDebug () const |
| bool | isUsingWossDbDebug () const |
| std::string | getDbPathName () const |
Protected Member Functions | |
| virtual bool | initializeDb (WossDb &woss_db) const override |
Protected Attributes | |
| GEBCO_BATHY_TYPE | gebco_type = GEBCO_BATHY_TYPE::GEBCO_2D_30_SECONDS_BATHY_TYPE |
| Protected Attributes inherited from woss::WossDbCreator | |
| bool | debug = false |
| bool | woss_db_debug = false |
| std::string | pathname = "" |
WossDbCreator for the GEBCO bathymetry database.
Specialization of WossDbCreator for the GEBCO bathymetry database.
It also provides a Tcl interpreter for NS-2 implementation.
|
default |
Referenced by BathyGebcoDbCreator(), BathyGebcoDbCreator(), operator=(), operator=(), and setGebcoBathyType().
|
default |
|
default |
|
overridevirtualdefault |
|
inlineoverridevirtual |
Abstract method. Virtual factory method. It is called to clone this WossDbCreator instance. The caller will be the owner of created object, therefore object destruction is his responsibility
Implements woss::WossDbCreator.
|
overridevirtual |
Creates and initialize a BathyGebcoDb object
Implements woss::WossDbCreator.
References gebco_type, initializeDb(), and woss::WossDbCreator::pathname.

|
inline |
Gets the GEBCO_BATHY_TYPE related to the netcdf db that will be opened
References gebco_type.
|
overrideprotectedvirtual |
Initializes the pointed object
| woss_db | reference to a recently created BathyGebcoDb |
Implements woss::WossDbCreator.
References woss::WossDbCreator::initializeDb().
Referenced by createWossDb().

|
default |
|
default |
|
inline |
Sets the GEBCO_BATHY_TYPE related to the netcdf db that will be opened
| bathy_type | netcdf file format |
References BathyGebcoDbCreator(), and gebco_type.

|
protected |
GEBCO version in use
Referenced by createWossDb(), getGebcoBathyType(), and setGebcoBathyType().