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

DbCreator for binary Pressure database. More...

#include <res-pressure-bin-db-creator.h>

Inheritance diagram for woss::ResPressureBinDbCreator:
Inheritance graph
Collaboration diagram for woss::ResPressureBinDbCreator:
Collaboration graph

Public Member Functions

 ResPressureBinDbCreator ()
 
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 binary Pressure database.

ResPressureBinDbCreator implements WossDbCreator for binary file Pressure database

Constructor & Destructor Documentation

◆ ResPressureBinDbCreator()

ResPressureBinDbCreator::ResPressureBinDbCreator ( )

ResPressureBinDbCreator default constructor

Member Function Documentation

◆ createWossDb()

WossDb *const ResPressureBinDbCreator::createWossDb ( )
virtual

This method is called to create and initialize a ResPressureTxtDb

Returns
a pointer to a properly initialized ResPressureTxtDb object

Implements woss::WossDbCreator.

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

Here is the call graph for this function:

◆ initializeDb()

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

Initializes the pointed object

Parameters
woss_dbpointer to a recently created ResPressureTxtDb
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: