OpenMS
ISpectraWriter Class Referenceabstract

#include <OpenMS/INTERFACES/ISpectrumAccess.h>

Public Member Functions

virtual ~ISpectraWriter ()
 
virtual void appendSpectrum (SpectrumPtr spectrum, bool write_through=false)=0
 Append a spectrum to the end. More...
 
virtual void flush ()=0
 write all cached data to disk More...
 

Constructor & Destructor Documentation

◆ ~ISpectraWriter()

virtual ~ISpectraWriter ( )
inlinevirtual

Member Function Documentation

◆ appendSpectrum()

virtual void appendSpectrum ( SpectrumPtr  spectrum,
bool  write_through = false 
)
pure virtual

Append a spectrum to the end.

◆ flush()

virtual void flush ( )
pure virtual

write all cached data to disk