![]() |
OpenMS
3.0.0
|
Classes | |
class | BK_PrecPolicy |
Typedefs | |
typedef boost::spirit::karma::real_generator< float, BK_PrecPolicy< float > > | BK_PrecPolicyFloat_type |
typedef boost::spirit::karma::real_generator< double, BK_PrecPolicy< double > > | BK_PrecPolicyDouble_type |
typedef boost::spirit::karma::real_generator< long double, BK_PrecPolicy< long double > > | BK_PrecPolicyLongDouble_type |
Functions | |
template<typename T > | |
void | append (const T &i, String &target) |
template<typename T > | |
String | toString (const T &i) |
fallback template for general purpose using Boost::Karma; more specializations below More... | |
void | appendLowP (float f, String &target) |
String | toStringLowP (float f) |
low precision (3 fractional digits) conversion to string (Karma default) More... | |
void | appendLowP (double d, String &target) |
String | toStringLowP (double d) |
low precision (3 fractional digits) conversion to string (Karma default) More... | |
void | appendLowP (long double ld, String &target) |
low precision (3 fractional digits) conversion to string (Karma default) More... | |
String | toStringLowP (long double ld) |
low precision (3 fractional digits) conversion to string (Karma default) More... | |
void | append (float f, String &target) |
high precision (6 fractional digits) conversion to String More... | |
String | toString (float f) |
high precision (6 fractional digits) conversion to String More... | |
void | append (double d, String &target) |
high precision (15 fractional digits) conversion to String More... | |
String | toString (double d) |
high precision (15 fractional digits) conversion to String More... | |
void | append (long double ld, String &target) |
high precision (15 fractional digits) conversion to String More... | |
String | toString (long double ld) |
high precision (15 fractional digits) conversion to String More... | |
void | append (const DataValue &d, bool full_precision, String &target) |
String | toString (const DataValue &d, bool full_precision) |
String | toString (const char c) |
String | toString (const std::string &s) |
String | toString (const char *s) |
String | toString () |
Other toString functions (different number of arguments) More... | |
String | toString (const char *s, size_t length) |
Variables | |
const BK_PrecPolicyFloat_type | BK_PrecPolicyFloat |
const BK_PrecPolicyDouble_type | BK_PrecPolicyDouble |
const BK_PrecPolicyLongDouble_type | BK_PrecPolicyLongDouble |
typedef boost::spirit::karma::real_generator<double, BK_PrecPolicy<double> > BK_PrecPolicyDouble_type |
typedef boost::spirit::karma::real_generator<float, BK_PrecPolicy<float> > BK_PrecPolicyFloat_type |
typedef boost::spirit::karma::real_generator<long double, BK_PrecPolicy<long double> > BK_PrecPolicyLongDouble_type |
|
inline |
fallback template for general purpose using Boost::Karma; more specializations below does NOT clear the input string target
, so appending is as efficient as possible
Referenced by toString().
high precision (6 fractional digits) conversion to String
References BK_PrecPolicyFloat.
high precision (15 fractional digits) conversion to String
References BK_PrecPolicyDouble.
high precision (15 fractional digits) conversion to String
References BK_PrecPolicyLongDouble.
|
inline |
References DataValue::toString().
low precision (3 fractional digits) conversion to string (Karma default) does NOT clear the input string target
, so appending is as efficient as possible
Referenced by toStringLowP().
low precision (3 fractional digits) conversion to string (Karma default) does NOT clear the input string target
, so appending is as efficient as possible
low precision (3 fractional digits) conversion to string (Karma default)
|
inline |
fallback template for general purpose using Boost::Karma; more specializations below
References append().
References DataValue::toString().
|
inline |
References OpenMS::Constants::c.
|
inline |
|
inline |
|
inline |
Other toString functions (different number of arguments)
|
inline |
low precision (3 fractional digits) conversion to string (Karma default)
References appendLowP().
low precision (3 fractional digits) conversion to string (Karma default)
References appendLowP().
low precision (3 fractional digits) conversion to string (Karma default)
References appendLowP().
const BK_PrecPolicyDouble_type BK_PrecPolicyDouble |
Referenced by append().
const BK_PrecPolicyFloat_type BK_PrecPolicyFloat |
Referenced by append().
const BK_PrecPolicyLongDouble_type BK_PrecPolicyLongDouble |
Referenced by append().