OpenMS
|
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... | |
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 |
References DataValue::toString().
|
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().
|
inline |
high precision (15 fractional digits) conversion to String
References BK_PrecPolicyDouble.
|
inline |
high precision (6 fractional digits) conversion to String
References BK_PrecPolicyFloat.
|
inline |
high precision (15 fractional digits) conversion to String
References BK_PrecPolicyLongDouble.
|
inline |
low precision (3 fractional digits) conversion to string (Karma default) does NOT clear the input string target
, so appending is as efficient as possible
|
inline |
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().
|
inline |
low precision (3 fractional digits) conversion to string (Karma default)
|
inline |
Other toString functions (different number of arguments)
|
inline |
|
inline |
References OpenMS::Constants::c.
References DataValue::toString().
|
inline |
|
inline |
fallback template for general purpose using Boost::Karma; more specializations below
References append().
|
inline |
|
inline |
|
inline |
|
inline |
low precision (3 fractional digits) conversion to string (Karma default)
References appendLowP().
|
inline |
low precision (3 fractional digits) conversion to string (Karma default)
References appendLowP().
|
inline |
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().