OpenM++ runtime library (libopenm)
|
false boolean value as string More...
#include <dbValue.h>
Public Member Functions | |
ValueFormatterBase (const type_info &i_type, bool i_isSqlFormat=false, const char *i_doubleFormat="") | |
converter for value column into string. More... | |
ValueFormatterBase (const type_info &i_type, const char *i_doubleFormat="") | |
converter for value column into string. More... | |
const char * | formatValue (const void *i_value, bool i_isNull=false) override |
IValueFormatter interface implementation: convert value to string using snprintf. More... | |
virtual const char * | formatValue (const void *i_value, bool i_isNull=false)=0 |
convert value to string using snprintf. More... | |
false boolean value as string
converter for value column (parameter, accumulator or expression value) to string
|
inline |
converter for value column into string.
[in] | i_type | value type, use std::string type for VARCHAR values |
[in] | i_isSqlFormat | if true then convert into SQL constant: 'quoted string values' and 1/0 for boolean values |
[in] | i_doubleFormat | if not null or empty then printf format for float and doubles, default: %.15g |
|
inline |
converter for value column into string.
[in] | i_type | value type, use std::string type for VARCHAR values |
[in] | i_doubleFormat | if not null or empty then printf format for float and doubles, default: %.15g |
|
inlineoverridevirtual |
IValueFormatter interface implementation: convert value to string using snprintf.
[in] | i_value | db-field value, casted to the target column type |
[in] | i_isNull | if true then value is NULL and return is "null" |
Implements openm::IValueFormatter.