ProteoWizard
FeatureSequenced.hpp
Go to the documentation of this file.
1 //
2 // $Id: FeatureSequenced.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 /// FeatureSequenced.hpp
25 ///
26 
27 #ifndef _FEATURESEQUENCED_HPP_
28 #define _FEATURESEQUENCED_HPP_
29 
31 #include "boost/shared_ptr.hpp"
32 
33 namespace pwiz{
34 namespace eharmony{
35 
36 using namespace pwiz::data::peakdata;
37 
39 {
40 
41  FeatureSequenced() : ms2(""), ms1_5(""), calculatedMass(0), ppProb(0), peptideCount(0) { feature = FeaturePtr(new Feature());}
42  FeatureSequenced(FeaturePtr _feature);
44 
46  std::string ms2;
47  std::string ms1_5;
49  double ppProb;
50  size_t peptideCount;
51 
52  bool operator==(const FeatureSequenced& that) const;
53  bool operator!=(const FeatureSequenced& that) const;
54 
55 private:
56 
57  // no copying
58 
61 
62 };
63 
64 } // namespace eharmony
65 } // namespace pwiz
66 
67 #endif