OpenMS  2.7.0
Public Member Functions | List of all members
MS2File Class Reference

MS2 input file adapter. More...

#include <OpenMS/FORMAT/MS2File.h>

Inheritance diagram for MS2File:
[legend]
Collaboration diagram for MS2File:
[legend]

Public Member Functions

 MS2File ()
 constructor More...
 
virtual ~MS2File ()
 constructor More...
 
template<typename MapType >
void load (const String &filename, MapType &exp)
 
- Public Member Functions inherited from ProgressLogger
 ProgressLogger ()
 Constructor. More...
 
virtual ~ProgressLogger ()
 Destructor. More...
 
 ProgressLogger (const ProgressLogger &other)
 Copy constructor. More...
 
ProgressLoggeroperator= (const ProgressLogger &other)
 Assignment Operator. More...
 
void setLogType (LogType type) const
 Sets the progress log that should be used. The default type is NONE! More...
 
LogType getLogType () const
 Returns the type of progress log being used. More...
 
void startProgress (SignedSize begin, SignedSize end, const String &label) const
 Initializes the progress display. More...
 
void setProgress (SignedSize value) const
 Sets the current progress. More...
 
void endProgress () const
 Ends the progress display. More...
 
void nextProgress () const
 increment progress by 1 (according to range begin-end) More...
 

Additional Inherited Members

- Public Types inherited from ProgressLogger
enum  LogType { CMD , GUI , NONE }
 Possible log types. More...
 
- Static Protected Member Functions inherited from ProgressLogger
static String logTypeToFactoryName_ (LogType type)
 Return the name of the factory product used for this log type. More...
 
- Protected Attributes inherited from ProgressLogger
LogType type_
 
time_t last_invoke_
 
ProgressLoggerImplcurrent_logger_
 
- Static Protected Attributes inherited from ProgressLogger
static int recursion_depth_
 

Detailed Description

MS2 input file adapter.

For the format description take a look at: Rapid Communications in Mass Spectrometry. 2004;18(18):2162-8.

MS1, MS2, and SQT-three unified, compact, and easily parsed file formats for the storage of shotgun proteomic spectra and identifications.

McDonald WH, Tabb DL, Sadygov RG, MacCoss MJ, Venable J, Graumann J, Johnson JR, Cociorva D, Yates JR 3rd.

PMID: 15317041

Constructor & Destructor Documentation

◆ MS2File()

MS2File ( )

constructor

◆ ~MS2File()

virtual ~MS2File ( )
virtual

constructor

Member Function Documentation

◆ load()

void load ( const String filename,
MapType exp 
)
inline