CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StreamDQMInputFile.h
Go to the documentation of this file.
1 #ifndef IOPool_Streamer_StreamDQMInputFile_h
2 #define IOPool_Streamer_StreamDQMInputFile_h
3 
5 
6 #include "boost/shared_ptr.hpp"
7 
8 #include<string>
9 #include<vector>
10 #include<fstream>
11 
13  {
14  public:
15 
17  explicit StreamDQMInputFile(const std::string& name);
18 
20 
21  bool next() ;
23  const DQMEventMsgView* currentRecord() const { return currentEvMsg_.get(); }
26  private:
27 
28  int readDQMEventMessage();
29 
30  boost::shared_ptr<DQMEventMsgView> currentEvMsg_;
31  std::auto_ptr<std::ifstream> ist_;
32  std::vector<char> eventBuf_;
33  };
34 
35 #endif
std::vector< char > eventBuf_
boost::shared_ptr< DQMEventMsgView > currentEvMsg_
std::auto_ptr< std::ifstream > ist_
const DQMEventMsgView * currentRecord() const
StreamDQMInputFile(const std::string &name)