OpenM++ runtime library (libopenm)
openm::IValueFormatter Class Referenceabstract

converter for value column (parameter, accumulator or expression value) to string More...

Inheritance diagram for openm::IValueFormatter:

Public Member Functions

virtual const char * formatValue (const void *i_value, bool i_isNull=false)=0
 convert value to string using snprintf. More...
 

Detailed Description

converter for value column (parameter, accumulator or expression value) to string

Member Function Documentation

◆ formatValue()

virtual const char* openm::IValueFormatter::formatValue ( const void *  i_value,
bool  i_isNull = false 
)
pure virtual

convert value to string using snprintf.

Parameters
[in]i_valuedb-field value, casted to the target column type
[in]i_isNullif true then value is NULL and return is "null"
Returns
value converted to string, result must be copied before next call.

Implemented in openm::ValueFormatter.


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