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

Public Member Functions

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

Member Function Documentation

◆ columnTypes()

const type_info *const * openm::EntityDicTxtRowAdapter::columnTypes ( void  ) const
inlinevirtual

array[rowSize] of type_info for each column, used to convert from db-type to target type

Implements openm::IRowAdapter.

◆ createRow()

IRowBase * openm::EntityDicTxtRowAdapter::createRow ( void  ) const
inlinevirtual

create new row (tuple, struct or array) initialized with default field values

Implements openm::IRowAdapter.

◆ set()

void openm::EntityDicTxtRowAdapter::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.

◆ size()

int openm::EntityDicTxtRowAdapter::size ( void  ) const
inlinevirtual

return row size: number of columns

Implements openm::IRowAdapter.


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