OpenM++ runtime library (libopenm)
openm::ValueRowAdapter Class Reference

Row adapter to select row from value table (parameter, accumulator or expression) More...

#include <dbValue.h>

Inheritance diagram for openm::ValueRowAdapter:
Collaboration diagram for openm::ValueRowAdapter:

Public Member Functions

 ValueRowAdapter (int i_idCount, const type_info &i_type)
 new row adapter for value table row, use std::string type for VARCHAR input parameters
 
IRowBasecreateRow (void) const override
 create new row (tuple, struct or array) initialized with default field values More...
 
int size (void) const override
 return row size: number of columns More...
 
const type_info *const * columnTypes (void) const override
 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 override
 IRowAdapter interface implementation: set column 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...
 

Detailed Description

Row adapter to select row from value table (parameter, accumulator or expression)

Member Function Documentation

◆ columnTypes()

const type_info *const * openm::ValueRowAdapter::columnTypes ( void  ) const
inlineoverridevirtual

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

Implements openm::IRowAdapter.

◆ createRow()

IRowBase * openm::ValueRowAdapter::createRow ( void  ) const
inlineoverridevirtual

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

Implements openm::IRowAdapter.

◆ set()

void ValueRowAdapter::set ( IRowBase i_row,
int  i_column,
const void *  i_value 
) const
overridevirtual

IRowAdapter interface implementation: set column value.

Implements openm::IRowAdapter.

◆ size()

int openm::ValueRowAdapter::size ( void  ) const
inlineoverridevirtual

return row size: number of columns

Implements openm::IRowAdapter.


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