OpenM++ runtime library (libopenm)
openm::TypeDicTxtRowAdapter Class Reference
Inheritance diagram for openm::TypeDicTxtRowAdapter:
Collaboration diagram for openm::TypeDicTxtRowAdapter:

Public Member Functions

IRowBasecreateRow (void) const
 create new row (tuple, struct or array) initialized with default field values
 
int size (void) const
 return row size: number of columns
 
const type_info *const * columnTypes (void) const
 array[rowSize] of type_info for each column, used to convert from db-type to target type
 
void set (IRowBase *i_row, int i_column, const void *i_value) const
 field value setter: i_row[i_column] = *i_value More...
 

Member Function Documentation

◆ set()

void openm::TypeDicTxtRowAdapter::set ( IRowBase i_row,
int  i_column,
const void *  i_value 
) const
inlinevirtual

field value setter: i_row[i_column] = *i_value

Parameters
[in]i_rownew row created by createRow()
[in]i_columnzero-based column index
[in]i_valuedb-field value, casted to the target column type

this method called for each row by data library select() methods to set field values.
this method called only if db-field value NOT IS NULL.

Implements openm::IRowAdapter.


The documentation for this class was generated from the following file: