35 #ifndef OPENMS_FORMAT_SVOUTSTREAM_H 
   36 #define OPENMS_FORMAT_SVOUTSTREAM_H 
   40 #include <boost/math/special_functions/fpclassify.hpp>  
   64                 const String & replacement = 
"_",
 
  105     template <
typename T>
 
  108       if (!newline_) (std::ostream &) * 
this << sep_;
 
  109       else newline_ = 
false;
 
  110       (std::ostream &) * 
this << value;
 
  123     bool modifyStrings(
bool modify);
 
  127     template <
typename NumericT>
 
  130       if ((boost::math::isfinite)(thing)) 
return operator<<(thing);
 
  132       bool old = modifyStrings(
false);
 
  133       if ((boost::math::isnan)(thing)) 
operator<<(nan_);
 
A more convenient string class. 
Definition: String.h:56
std::ostream & operator<<(std::ostream &os, const ItraqQuantifier::ItraqQuantifierStats &stats)
QuotingMethod
How to handle embedded quotes when quoting strings. 
Definition: String.h:79
bool newline_
Are we at the beginning of a line? (Otherwise, insert separator before next item.) ...
Definition: SVOutStream.h:160
String nan_
String to use for NaN values. 
Definition: SVOutStream.h:148
SVOutStream & operator<<(const T &value)
Generic stream output operator (for non-character-based types) 
Definition: SVOutStream.h:106
String replacement_
Replacement for separator. 
Definition: SVOutStream.h:145
String inf_
String to use for Inf values. 
Definition: SVOutStream.h:151
SVOutStream & writeValueOrNan(NumericT thing)
Write a numeric value or "nan"/"inf"/"-inf", if applicable (would not be needed for Linux) ...
Definition: SVOutStream.h:128
String sep_
Separator string. 
Definition: SVOutStream.h:142
Stream class for writing to comma/tab/...-separated values files. 
Definition: SVOutStream.h:51
String::QuotingMethod quoting_
String quoting method. 
Definition: SVOutStream.h:154
bool modify_strings_
On/off switch for modification of strings. 
Definition: SVOutStream.h:157