OpenM++ runtime library (libopenm)
|
Public Member Functions | |
ParameterReader (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore) | |
int | parameterId (void) const noexcept override |
return input parameter id More... | |
size_t | sizeOf (void) const noexcept override |
return input parameter size for single sub value More... | |
void | readParameter (IDbExec *i_dbExec, int i_subId, const type_info &i_type, size_t i_size, void *io_valueArr) override |
read input parameter single sub value. More... | |
void | readParameter (IDbExec *i_dbExec, const type_info &i_type, int i_subCount, size_t i_size, void *io_valueArr) override |
read all sub values of input parameter. More... | |
void | readParameter (IDbExec *i_dbExec, const vector< int > &i_subIdArr, const type_info &i_type, size_t i_size, void *io_valueArr) override |
read input parameter single selected sub values. More... | |
virtual int | parameterId (void) const noexcept=0 |
return input parameter id More... | |
virtual size_t | sizeOf (void) const noexcept=0 |
return input parameter size for single sub value More... | |
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. More... | |
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. More... | |
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. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from openm::IParameterReader | |
static IParameterReader * | create (int i_runId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore) |
input parameter reader factory | |
|
inlineoverridevirtualnoexcept |
return input parameter id
Implements openm::IParameterReader.
|
overridevirtual |
read all sub values of input parameter.
[in] | i_dbExec | database connection |
[in] | i_type | parameter value type, use std::string for string parameters |
[in] | i_subCount | number of parameter sub-values |
[in] | i_size | parameter size (number of parameter values in single sub value) |
[in,out] | io_valueArr | array to return parameter values, size must be =i_size * i_subCount, use io_valueArr[] of std::string for string parameters |
Implements openm::IParameterReader.
|
overridevirtual |
read input parameter single selected sub values.
[in] | i_dbExec | database connection |
[in] | i_subIdArr | vector of sub value ids to select |
[in] | i_type | parameter value type, use std::string for string parameters |
[in] | i_size | parameter size (number of parameter values in single sub value) |
[in,out] | io_valueArr | array to return parameter values, size must be =i_size * i_subIdArr.size(), use io_valueArr[] of std::string for string parameters |
Implements openm::IParameterReader.
|
overridevirtual |
read input parameter single sub value.
[in] | i_dbExec | database connection |
[in] | i_subId | parameter sub value id |
[in] | i_type | parameter value type, use std::string for string parameters |
[in] | i_size | parameter size (number of parameter values in single sub value) |
[in,out] | io_valueArr | array to return parameter values, size must be =i_size, use io_valueArr[] of std::string for string parameters |
Implements openm::IParameterReader.
|
inlineoverridevirtualnoexcept |
return input parameter size for single sub value
Implements openm::IParameterReader.