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

DbCreator for textual TimeArr database. More...

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

Inheritance diagram for woss::ResTimeArrBinDbCreator:
Inheritance graph
Collaboration diagram for woss::ResTimeArrBinDbCreator:
Collaboration graph

Public Member Functions

 ResTimeArrBinDbCreator ()
 
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.

ResTimeArrBinDbCreator implements WossDbCreator for textual TimeArr database

Constructor & Destructor Documentation

◆ ResTimeArrBinDbCreator()

ResTimeArrBinDbCreator::ResTimeArrBinDbCreator ( )

ResTimeArrBinDbCreator default constructor

Member Function Documentation

◆ createWossDb()

WossDb *const ResTimeArrBinDbCreator::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 ResTimeArrBinDbCreator::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: