MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / writeFeature

Function writeFeature

src/topp/TextExporter.cpp:134–143  ·  view source on GitHub ↗

write data from a feature to the output stream

Source from the content-addressed store, hash-verified

132{
133 // write data from a feature to the output stream
134 void writeFeature(SVOutStream& out, Peak2D::CoordinateType rt,
135 Peak2D::CoordinateType mz, Peak2D::IntensityType intensity,
136 Int charge, BaseFeature::WidthType width)
137 {
138 out.writeValueOrNan(rt);
139 out.writeValueOrNan(mz);
140 out.writeValueOrNan(intensity);
141 out << String(charge);
142 out.writeValueOrNan(width);
143 }
144
145 // stream output operator for FeatureHandle
146 SVOutStream& operator<<(SVOutStream& out, const FeatureHandle& feature)

Callers 1

TextExporter.cppFile · 0.85

Calls 1

StringClass · 0.50

Tested by

no test coverage detected