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

DbCreator for textual Pressure database. More...

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

Inheritance diagram for woss::ResPressureTxtDbCreator:
Inheritance graph
Collaboration diagram for woss::ResPressureTxtDbCreator:
Collaboration graph

Public Member Functions

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

ResPressureTxtDbCreator implements WossDbCreator for textual Pressure database

Constructor & Destructor Documentation

◆ ResPressureTxtDbCreator()

ResPressureTxtDbCreator::ResPressureTxtDbCreator ( )

ResPressureTxtDbCreator default constructor

Member Function Documentation

◆ createWossDb()

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