ProteoWizard
SpectrumList_MSn.hpp
Go to the documentation of this file.
1//
2// $Id$
3//
4//
5// Original author: Barbara Frewen <frewen@u.washington.edu>
6//
7// Copyright 2008 Spielberg Family Center for Applied Proteomics
8// Cedars Sinai Medical Center, Los Angeles, California 90048
9// Copyright 2008 Vanderbilt University - Nashville, TN 37232
10//
11// Licensed under the Apache License, Version 2.0 (the "License");
12// you may not use this file except in compliance with the License.
13// You may obtain a copy of the License at
14//
15// http://www.apache.org/licenses/LICENSE-2.0
16//
17// Unless required by applicable law or agreed to in writing, software
18// distributed under the License is distributed on an "AS IS" BASIS,
19// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20// See the License for the specific language governing permissions and
21// limitations under the License.
22//
23
24
25#ifndef _SPECTRUMLIST_MSn_HPP_
26#define _SPECTRUMLIST_MSn_HPP_
27
29#include "SpectrumListBase.hpp"
30#include "SpectrumList_MSn.hpp"
31#include <iosfwd>
32#include <stdexcept>
33
34
35namespace pwiz {
36namespace msdata {
37
39
40struct MSnHeader
41{
42 char header[16][128];
44 {
45 for(int i=0; i<16; i++)
46 {
47 header[i][0] = '\0';
48 }
49 }
50};
51
52/// implementation of SpectrumList, backed by an MGF file
54{
55 public:
56
57 static SpectrumListPtr create(boost::shared_ptr<std::istream> is,
58 const MSData& msd,
59 MSn_Type filetype);
60};
61
62
63} // namespace msdata
64} // namespace pwiz
65
66#endif // _SPECTRUMLIST_MSn_HPP_
67
#define PWIZ_API_DECL
Definition Export.hpp:32
implementation of SpectrumList, backed by an MGF file
static SpectrumListPtr create(boost::shared_ptr< std::istream > is, const MSData &msd, MSn_Type filetype)
common functionality for base SpectrumList implementations
boost::shared_ptr< SpectrumList > SpectrumListPtr
Definition MSData.hpp:711
This is the root element of ProteoWizard; it represents the mzML element, defined as: intended to cap...
Definition MSData.hpp:850