write data from a feature to the output stream
| 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) |