23 #ifndef _SPECTRUMLIST_AGILENT_
24 #define _SPECTRUMLIST_AGILENT_
35 #ifdef PWIZ_READER_AGILENT
36 #include "pwiz_aux/msrc/utility/vendor_api/Agilent/MassHunterData.hpp"
38 using namespace pwiz::vendor_api::Agilent;
39 #endif // PWIZ_READER_AGILENT
46 using boost::shared_ptr;
52 virtual size_t size()
const;
54 virtual size_t find(
const string&
id)
const;
55 virtual SpectrumPtr spectrum(
size_t index,
bool getBinaryData)
const;
60 #ifdef PWIZ_READER_AGILENT
66 MassHunterDataPtr rawfile_;
77 mutable vector<IndexEntry> index_;
78 mutable map<string, size_t> idToIndexMap_;
80 void createIndex()
const;
81 #endif // PWIZ_READER_AGILENT
89 #endif // _SPECTRUMLIST_AGILENT_