ProteoWizard
Reader_Thermo_Detail.hpp
Go to the documentation of this file.
1 //
2 // $Id: Reader_Thermo_Detail.hpp 2278 2010-09-22 19:24:50Z chambm $
3 //
4 //
5 // Original author: Darren Kessner <darren@proteowizard.org>
6 //
7 // Copyright 2008 Spielberg Family Center for Applied Proteomics
8 // Cedars-Sinai Medical Center, Los Angeles, California 90048
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 #ifndef _READER_THERMO_DETAIL_HPP_
25 #define _READER_THERMO_DETAIL_HPP_
26 
29 #include "pwiz_aux/msrc/utility/vendor_api/thermo/RawFile.h"
30 #include <vector>
31 
32 using namespace pwiz::vendor_api::Thermo;
33 
34 namespace pwiz {
35 namespace msdata {
36 namespace detail {
37 
38 using namespace pwiz::cv;
39 
41 std::vector<InstrumentConfiguration> createInstrumentConfigurations(RawFile& rawfile);
42 
44 std::vector<InstrumentConfiguration> createInstrumentConfigurations(const Component& commonSource,
45  InstrumentModelType model);
46 
47 PWIZ_API_DECL CVID translateAsInstrumentModel(InstrumentModelType instrumentModelType);
48 PWIZ_API_DECL CVID translateAsScanningMethod(ScanType scanType);
49 PWIZ_API_DECL CVID translateAsSpectrumType(ScanType scanType);
50 PWIZ_API_DECL CVID translate(MassAnalyzerType type);
51 PWIZ_API_DECL CVID translateAsIonizationType(IonizationType ionizationType);
52 PWIZ_API_DECL CVID translateAsInletType(IonizationType ionizationType);
53 PWIZ_API_DECL CVID translate(PolarityType polarityType);
54 PWIZ_API_DECL void SetActivationType(ActivationType activationType, Activation& activation);
55 
56 } // detail
57 } // msdata
58 } // pwiz
59 
60 #endif // _READER_THERMO_DETAIL_HPP_