36 virtual size_t sizeOf(
void)
const noexcept = 0;
48 IDbExec * i_dbExec,
int i_subId,
const type_info & i_type,
size_t i_size,
void * io_valueArr
61 IDbExec * i_dbExec,
const type_info & i_type,
int i_subCount,
size_t i_size,
void * io_valueArr
74 IDbExec * i_dbExec,
const vector<int> & i_subIdArr,
const type_info & i_type,
size_t i_size,
void * io_valueArr
93 virtual size_t sizeOf(
void)
const noexcept = 0;
104 IDbExec * i_dbExec,
const type_info & i_type,
int i_subCount,
size_t i_size,
void * i_valueArr
119 const char * i_doubleFormat =
""
123 virtual size_t sizeOf(
void)
const noexcept = 0;
134 IDbExec * i_dbExec,
const type_info & i_type,
int i_subCount,
size_t i_size,
void * i_valueArr
147 virtual void loadCsvParameter(
IDbExec * i_dbExec,
const vector<int> & i_subIdArr,
const char * i_filePath,
bool i_isIdCsv =
false) = 0;
database connection wrapper to execute sql commands.
Definition: dbExec.h:21
OpenM++ data library: public interface for db common structures.
OpenM++ data library: public interface.
openM++ namespace
Definition: log.h:32
OpenM++ common file utilities.
input parameter reader public interface
Definition: dbParameter.h:21
virtual int parameterId(void) const noexcept=0
return input parameter id
virtual size_t sizeOf(void) const noexcept=0
return input parameter size for single sub value
static IParameterReader * create(int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore)
input parameter reader factory
Definition: parameterReader.cpp:65
virtual void readParameter(IDbExec *i_dbExec, const vector< int > &i_subIdArr, const type_info &i_type, size_t i_size, void *io_valueArr)=0
read input parameter single selected sub values.
virtual void readParameter(IDbExec *i_dbExec, const type_info &i_type, int i_subCount, size_t i_size, void *io_valueArr)=0
read all sub values of input parameter.
virtual void readParameter(IDbExec *i_dbExec, int i_subId, const type_info &i_type, size_t i_size, void *io_valueArr)=0
read input parameter single sub value.
public interface of input parameter writer for model run
Definition: dbParameter.h:110
virtual void digestParameter(IDbExec *i_dbExec, int i_subCount, const type_info &i_type)=0
calculate run parameter values digest and store only single copy of parameter values.
virtual void writeParameter(IDbExec *i_dbExec, const type_info &i_type, int i_subCount, size_t i_size, void *i_valueArr)=0
write parameter: write all sub values of the parameter into db run table
virtual size_t sizeOf(void) const noexcept=0
return input parameter size for single sub value
static IParameterRunWriter * create(int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, const char *i_doubleFormat="")
input parameter writer factory
Definition: parameterWriter.cpp:133
virtual void loadCsvParameter(IDbExec *i_dbExec, const vector< int > &i_subIdArr, const char *i_filePath, bool i_isIdCsv=false)=0
load parameter values from csv file into run table, it can be any of: .csv .tsv .id....
public interface of input parameter writer into workset
Definition: dbParameter.h:80
virtual size_t sizeOf(void) const noexcept=0
return input parameter size for single sub value
static IParameterSetWriter * create(int i_setId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, const MetaSetHolder *i_metaSet)
input parameter writer factory
Definition: parameterWriter.cpp:121
virtual void writeParameter(IDbExec *i_dbExec, const type_info &i_type, int i_subCount, size_t i_size, void *i_valueArr)=0
write parameter: write all sub values of the parameter into db set table