World Ocean Simulation System (WOSS) library
woss::ResTimeArrTxtDbCreator Class Reference

DbCreator for textual TimeArr database. More...

#include <res-time-arr-txt-db-creator.h>

Inheritance diagram for woss::ResTimeArrTxtDbCreator:
Inheritance graph
Collaboration diagram for woss::ResTimeArrTxtDbCreator:
Collaboration graph

Public Member Functions

 ResTimeArrTxtDbCreator ()
 
virtual WossDb *const createWossDb ()
 
void setSpaceSampling (double value)
 
double getSpaceSampling ()
 
- Public Member Functions inherited from woss::WossDbCreator
 WossDbCreator ()
 
WossDbCreatorsetDebug (bool flag)
 
WossDbCreatorsetWossDebug (bool flag)
 
WossDbCreatorsetDbPathName (const ::std::string &name)
 
bool isUsingDebug () const
 
bool isUsingWossDbDebug () const
 
::std::string getDbPathName () const
 

Protected Member Functions

virtual bool initializeDb (WossDb *const woss_db)
 

Protected Attributes

double space_sampling
 
- Protected Attributes inherited from woss::WossDbCreator
bool debug
 
bool woss_db_debug
 
::std::string pathname
 

Detailed Description

DbCreator for textual TimeArr database.

ResTimeArrTxtDbCreator implements WossDbCreator for textual TimeArr database

Constructor & Destructor Documentation

◆ ResTimeArrTxtDbCreator()

ResTimeArrTxtDbCreator::ResTimeArrTxtDbCreator ( )

ResTimeArrTxtDbCreator default constructor

Member Function Documentation

◆ createWossDb()

WossDb *const ResTimeArrTxtDbCreator::createWossDb ( )
virtual

This method is called to create and initialize a ResTimeArrTxtDb

Returns
a pointer to a properly initialized ResTimeArrTxtDb object

Implements woss::WossDbCreator.

References woss::WossDbCreator::debug, initializeDb(), and woss::WossDbCreator::pathname.

Here is the call graph for this function:

◆ initializeDb()

bool ResTimeArrTxtDbCreator::initializeDb ( WossDb *const  woss_db)
protectedvirtual

Initializes the pointed object

Parameters
woss_dbpointer to a recently created ResTimeArrTxtDb
Returns
true if the method succeed, false otherwise

Implements woss::WossDbCreator.

References woss::WossDbCreator::initializeDb().

Referenced by createWossDb().

Here is the call graph for this function:

The documentation for this class was generated from the following files: