#include <ACalcDbToDb.hpp>
|
virtual bool | _check () override |
|
virtual int | _getNDim () const |
|
virtual int | _getNVar () const |
|
int | _addVariableDb (int whichDb, int status, const ELoc &locatorType, int locatorIndex=0, int number=1, double valinit=0.) |
|
void | _renameVariable (int whichDb, const VectorString &names, const ELoc &locatorType, int nvar, int iptr, const String &name, int count, bool flagSetLocator=true, int shift=0) |
|
void | _storeInVariableList (int whichDb, int status, const VectorInt &iuids) |
|
int | _expandInformation (int mode, const ELoc &locatorType) |
|
void | _cleanVariableDb (int status) |
|
Db * | _whichDb (int whichDb) |
|
String | _identifyVariable (int iuid) const |
|
virtual bool | _run ()=0 |
|
virtual bool | _preprocess () |
|
virtual bool | _postprocess () |
|
virtual void | _rollback () |
|
◆ ACalcDbToDb() [1/2]
ACalcDbToDb::ACalcDbToDb |
( |
bool |
mustShareSameSpaceDimension = true | ) |
|
◆ ACalcDbToDb() [2/2]
◆ ~ACalcDbToDb()
ACalcDbToDb::~ACalcDbToDb |
( |
| ) |
|
|
virtual |
◆ _addVariableDb()
int ACalcDbToDb::_addVariableDb |
( |
int |
whichDb, |
|
|
int |
status, |
|
|
const ELoc & |
locatorType, |
|
|
int |
locatorIndex = 0 , |
|
|
int |
number = 1 , |
|
|
double |
valinit = 0. |
|
) |
| |
|
protected |
◆ _check()
bool ACalcDbToDb::_check |
( |
| ) |
|
|
overrideprotectedvirtual |
Reimplemented from ACalculator.
Reimplemented in CalcSimuTurningBands, CalcSimuSubstitution, CalcSimuPartition, CalcSimuFFT, CalcSimuEden, ACalcSimulation, CalcSimpleInterpolation, CalcKrigingFactors, CalcKriging, CalcImage, CalcGlobal, CalcStatistics, CalcSimuPostPropByLayer, CalcSimuPost, CalcMigrate, CalcGridToGrid, and ACalcInterpolator.
◆ _checkSpaceDimension()
bool ACalcDbToDb::_checkSpaceDimension |
( |
| ) |
|
|
private |
◆ _checkVariableNumber()
bool ACalcDbToDb::_checkVariableNumber |
( |
| ) |
|
|
private |
◆ _cleanVariableDb()
void ACalcDbToDb::_cleanVariableDb |
( |
int |
status | ) |
|
|
protected |
◆ _expandInformation()
int ACalcDbToDb::_expandInformation |
( |
int |
mode, |
|
|
const ELoc & |
locatorType |
|
) |
| |
|
protected |
Derive some information from the Output db (if Grid) to the Input Db
- Returns
- Error return code
- Parameters
-
[in] | mode | 1 for allocation; -1 for deallocation |
[in] | locatorType | Type of the pointer (ELoc) |
◆ _getNDim()
int ACalcDbToDb::_getNDim |
( |
| ) |
const |
|
protectedvirtual |
◆ _getNVar()
int ACalcDbToDb::_getNVar |
( |
| ) |
const |
|
protectedvirtual |
◆ _identifyVariable()
String ACalcDbToDb::_identifyVariable |
( |
int |
iuid | ) |
const |
|
protected |
◆ _renameVariable()
void ACalcDbToDb::_renameVariable |
( |
int |
whichDb, |
|
|
const VectorString & |
names, |
|
|
const ELoc & |
locatorType, |
|
|
int |
nvar, |
|
|
int |
iptr, |
|
|
const String & |
qualifier, |
|
|
int |
count, |
|
|
bool |
flagSetLocator = true , |
|
|
int |
locatorShift = 0 |
|
) |
| |
|
protected |
Define the characteristics of the variables created by a Db2Db Calculator
- Parameters
-
whichDb | 1 if the variable belongs to 'dbin'; 2 if it belongs to 'dbout' |
names | Names of the variables in 'dbin' (or empty) |
locatorType | Locator for the names of input variables (or ELoc::UNKNOWN) |
nvar | Number of variables (when constructed from locator) |
iptr | IUID of the (first) variable to be renamed |
qualifier | Name which will serve as 'qualifier' (when provided) |
count | Number of variable named from the same basic name (using version number) |
flagSetLocator | True if the locator must be defined |
locatorShift | Shift to calculate the rank of the locator currently defined |
◆ _storeInVariableList()
void ACalcDbToDb::_storeInVariableList |
( |
int |
whichDb, |
|
|
int |
status, |
|
|
const VectorInt & |
iuids |
|
) |
| |
|
protected |
Store the IUID of the new variable in the relevant internal list
- Parameters
-
whichDb | 1 for variable in 'dbin'; 2 for variable in 'dbout' |
status | 1 for variables to be stored; 2 for Temporary variable |
iuids | Vector of UIDs of the new variable |
◆ _whichDb()
Db * ACalcDbToDb::_whichDb |
( |
int |
whichDb | ) |
|
|
protected |
Returns a pointer to the relevant Db and issue a message if not defined
- Parameters
-
whichDb | 1 for 'dbin' and 2 for 'dbout' |
- Returns
- A pointer to the Db or nullptr
◆ getDbin()
Db* ACalcDbToDb::getDbin |
( |
| ) |
const |
|
inline |
◆ getDbout()
Db* ACalcDbToDb::getDbout |
( |
| ) |
const |
|
inline |
◆ getGridin()
DbGrid * ACalcDbToDb::getGridin |
( |
| ) |
const |
◆ getGridout()
DbGrid * ACalcDbToDb::getGridout |
( |
| ) |
const |
◆ hasDbin()
bool ACalcDbToDb::hasDbin |
( |
bool |
verbose = true | ) |
const |
◆ hasDbout()
bool ACalcDbToDb::hasDbout |
( |
bool |
verbose = true | ) |
const |
◆ isGridIn()
bool ACalcDbToDb::isGridIn |
( |
bool |
verbose = true | ) |
const |
◆ isGridOut()
bool ACalcDbToDb::isGridOut |
( |
bool |
verbose = true | ) |
const |
◆ operator=()
◆ setDbin()
void ACalcDbToDb::setDbin |
( |
Db * |
dbin | ) |
|
|
inline |
◆ setDbout()
void ACalcDbToDb::setDbout |
( |
Db * |
dbout | ) |
|
|
inline |
◆ setMustShareSpaceDimension()
void ACalcDbToDb::setMustShareSpaceDimension |
( |
bool |
mustShareSpaceDimension | ) |
|
|
inline |
◆ setNamingConvention()
◆ _dbin
◆ _dbout
◆ _listVariablePermDbIn
◆ _listVariablePermDbOut
VectorInt ACalcDbToDb::_listVariablePermDbOut |
|
private |
◆ _listVariableTempDbIn
◆ _listVariableTempDbOut
VectorInt ACalcDbToDb::_listVariableTempDbOut |
|
private |
◆ _mustShareSpaceDimension
bool ACalcDbToDb::_mustShareSpaceDimension |
|
private |
◆ _namconv
The documentation for this class was generated from the following files: