ProteoWizard
AMTContainer.hpp
Go to the documentation of this file.
1 //
2 // $Id: AMTContainer.hpp 1539 2009-11-19 20:12:28Z khoff $
3 //
4 //
5 // Original author: Kate Hoff <katherine.hoff@proteowizard.org>
6 //
7 // Copyright 2009 Center for Applied Molecular Medicine
8 // University of Southern California, Los Angeles, CA
9 //
10 // Licensed under the Apache License, Version 2.0 (the "License");
11 // you may not use this file except in compliance with the License.
12 // You may obtain a copy of the License at
13 //
14 // http://www.apache.org/licenses/LICENSE-2.0
15 //
16 // Unless required by applicable law or agreed to in writing, software
17 // distributed under the License is distributed on an "AS IS" BASIS,
18 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 // See the License for the specific language governing permissions and
20 // limitations under the License.
21 //
22 
23 ///
24 /// AMTContainer.hpp
25 ///
26 
27 #ifndef _AMT_CONTAINER_HPP_
28 #define _AMT_CONTAINER_HPP_
29 
31 #include "PeptideMatcher.hpp"
33 
34 namespace pwiz{
35 namespace eharmony{
36 
38 {
39  string _id;
40  bool rtAdjusted;
41 
44 
47 
48  vector<boost::shared_ptr<SpectrumQuery> > _sqs; // HACK TODO: FIX
49 
50  void merge(const AMTContainer& that);
51  void write(XMLWriter& writer) const;
52  void read(istream& is);
53 
54  bool operator==(const AMTContainer& that);
55  bool operator!=(const AMTContainer& that);
56 
57 };
58 
59 
60 } // namespace eharmony
61 } // namespace pwiz
62 
63 
64 
65 #endif // AMTContainer.hpp