|
World Ocean Simulation System (WOSS) library
|
WossDbCreator for the custom made NetCDF WOA2005 SSP database. More...
#include <ssp-woa2005-db-creator.h>


Public Member Functions | |
| SspWoa2005DbCreator ()=default | |
| SspWoa2005DbCreator (WOADbType db_type) | |
| SspWoa2005DbCreator (const SspWoa2005DbCreator ©)=default | |
| SspWoa2005DbCreator (SspWoa2005DbCreator &&tmp)=default | |
| virtual | ~SspWoa2005DbCreator () override=default |
| SspWoa2005DbCreator & | operator= (const SspWoa2005DbCreator ©)=default |
| SspWoa2005DbCreator & | operator= (SspWoa2005DbCreator &&tmp)=default |
| virtual std::unique_ptr< WossDbCreator > | clone () const override |
| virtual std::unique_ptr< WossDb > | createWossDb () const override |
| WOADbType | getWoaDbType () const |
| SspWoa2005DbCreator & | setWoaDbType (WOADbType type) |
| 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 | |
| WOADbType | woa_db_type = WOADbType::WOA_DB_TYPE_2005 |
| Protected Attributes inherited from woss::WossDbCreator | |
| bool | debug = false |
| bool | woss_db_debug = false |
| std::string | pathname = "" |
WossDbCreator for the custom made NetCDF WOA2005 SSP database.
Specialization of WossDbCreator for the custom made NetCDF WOA2005 SSP database
|
default |
Default SspWoa2005DbCreator constructor
Referenced by operator=(), operator=(), setWoaDbType(), SspWoa2005DbCreator(), and SspWoa2005DbCreator().
| SspWoa2005DbCreator::SspWoa2005DbCreator | ( | WOADbType | db_type | ) |
SspWoa2005DbCreator constructor
| db_type | WOADbType of the database |
References woa_db_type, and woss::WossDbCreator::WossDbCreator().

|
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 |
This method is called to create and initialize a SspWoa2005Db
Implements woss::WossDbCreator.
References initializeDb(), woss::WossDbCreator::pathname, and woa_db_type.

|
inline |
|
overrideprotectedvirtual |
Initializes the referenced object
| woss_db | reference to a recently created SspWoa2005Db |
Implements woss::WossDbCreator.
References woss::WossDbCreator::initializeDb().
Referenced by createWossDb().

|
default |
|
default |
|
inline |
Set current WOADbType
| type | valid WOADbType |
References SspWoa2005DbCreator(), and woa_db_type.

|
protected |
Referenced by createWossDb(), getWoaDbType(), setWoaDbType(), and SspWoa2005DbCreator().