OpenMS
Loading...
Searching...
No Matches
OpenMS::StringConversions Namespace Reference

Namespaces

namespace  Detail
 

Functions

template<typename T >
void append (const T &i, std::string &target)
 
void append (float f, std::string &target)
 
void append (double d, std::string &target)
 
void append (long double ld, std::string &target)
 
void appendLowP (float f, std::string &target)
 
void appendLowP (double d, std::string &target)
 
void appendLowP (long double ld, std::string &target)
 
void append (const DataValue &d, bool full_precision, std::string &target)
 
template<typename T >
std::string toString (const T &i)
 
std::string toString (float f, bool fp=true)
 
std::string toString (double d, bool fp=true)
 
std::string toString (long double ld, bool fp=true)
 
std::string toString (const DataValue &d, bool fp=true)
 
std::string toString ()
 
std::string toStringLowP (float f)
 
std::string toStringLowP (double d)
 
std::string toStringLowP (long double ld)
 

Function Documentation

◆ append() [1/5]

void append ( const DataValue d,
bool  full_precision,
std::string &  target 
)
inline

◆ append() [2/5]

template<typename T >
void append ( const T &  i,
std::string &  target 
)
inline

◆ append() [3/5]

void append ( double  d,
std::string &  target 
)
inline

◆ append() [4/5]

void append ( float  f,
std::string &  target 
)
inline

◆ append() [5/5]

void append ( long double  ld,
std::string &  target 
)
inline

◆ appendLowP() [1/3]

void appendLowP ( double  d,
std::string &  target 
)
inline

◆ appendLowP() [2/3]

void appendLowP ( float  f,
std::string &  target 
)
inline

◆ appendLowP() [3/3]

void appendLowP ( long double  ld,
std::string &  target 
)
inline

◆ toString() [1/6]

std::string toString ( )
inline

◆ toString() [2/6]

std::string toString ( const DataValue d,
bool  fp = true 
)
inline

◆ toString() [3/6]

template<typename T >
std::string toString ( const T &  i)
inline

◆ toString() [4/6]

std::string toString ( double  d,
bool  fp = true 
)
inline

◆ toString() [5/6]

std::string toString ( float  f,
bool  fp = true 
)
inline

◆ toString() [6/6]

std::string toString ( long double  ld,
bool  fp = true 
)
inline

◆ toStringLowP() [1/3]

std::string toStringLowP ( double  d)
inline

◆ toStringLowP() [2/3]

std::string toStringLowP ( float  f)
inline

◆ toStringLowP() [3/3]

std::string toStringLowP ( long double  ld)
inline