|
| ParameterSetWriter (int i_setId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, const MetaSetHolder *i_metaSet) |
|
virtual size_t | sizeOf (void) const noexcept override |
| return input parameter size for single sub value More...
|
|
void | writeParameter (IDbExec *i_dbExec, const type_info &i_type, int i_subCount, size_t i_size, void *i_valueArr) override |
| write parameter: write all sub values of the parameter into db set table More...
|
|
| ParameterWriter (const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore) |
|
virtual size_t | sizeOf (void) const noexcept=0 |
| return input parameter size for single sub value More...
|
|
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 More...
|
|
|
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
|
|
void | writeParameter (IDbExec *i_dbExec, bool i_isToRun, int i_dstId, const type_info &i_type, int i_subCount, size_t i_valueLen, void *i_valueArr) |
|
int | modelId |
|
int | paramId |
|
int | dimCount |
|
size_t | totalSize |
|
vector< int > | dimSizeVec |
|
const ParamDicRow * | paramRow |
|
const TypeDicRow * | paramTypeRow |
|
vector< TypeEnumLstRow > | paramEnums |
|
vector< ParamDimsRow > | paramDims |
|
vector< vector< TypeEnumLstRow > > | dimEnums |
|
◆ sizeOf()
virtual size_t openm::ParameterSetWriter::sizeOf |
( |
void |
| ) |
const |
|
inlineoverridevirtualnoexcept |
◆ writeParameter()
void ParameterSetWriter::writeParameter |
( |
IDbExec * |
i_dbExec, |
|
|
const type_info & |
i_type, |
|
|
int |
i_subCount, |
|
|
size_t |
i_size, |
|
|
void * |
i_valueArr |
|
) |
| |
|
overridevirtual |
write parameter: write all sub values of the parameter into db set table
- Parameters
-
[in] | i_dbExec | database connection |
[in] | i_subCount | nmuber of sub values |
[in] | i_type | parameter value type, use std::string for string parameters |
[in] | i_size | parameter size for single sub value |
[in,out] | i_valueArr | array of parameter values, size must be == i_size * i_subCount |
Implements openm::IParameterSetWriter.
The documentation for this class was generated from the following file: