OpenM++ runtime library (libopenm)
openm::IParameterSetWriter Struct Referenceabstract

public interface of input parameter writer into workset More...

#include <dbParameter.h>

Inheritance diagram for openm::IParameterSetWriter:

Public Member Functions

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 Public Member Functions

static IParameterSetWritercreate (int i_setId, const char *i_name, IDbExec *i_dbExec, const MetaHolder *i_metaStore, const MetaSetHolder *i_metaSet)
 input parameter writer factory
 

Detailed Description

public interface of input parameter writer into workset

Member Function Documentation

◆ sizeOf()

virtual size_t openm::IParameterSetWriter::sizeOf ( void  ) const
pure virtualnoexcept

return input parameter size for single sub value

Implemented in openm::ParameterSetWriter.

◆ writeParameter()

virtual void openm::IParameterSetWriter::writeParameter ( IDbExec i_dbExec,
const type_info &  i_type,
int  i_subCount,
size_t  i_size,
void *  i_valueArr 
)
pure virtual

write parameter: write all sub values of the parameter into db set table

Parameters
[in]i_dbExecdatabase connection
[in]i_subCountnmuber of sub values
[in]i_typeparameter value type, use std::string for string parameters
[in]i_sizeparameter size for single sub value
[in,out]i_valueArrarray of parameter values, size must be == i_size * i_subCount

Implemented in openm::ParameterSetWriter.


The documentation for this struct was generated from the following files: