CMS 3D CMS Logo

FromFiles.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_FromFiles_h
2 #define FWCore_Sources_FromFiles_h
3 
4 /*----------------------------------------------------------------------
5 ----------------------------------------------------------------------*/
6 
7 #include <vector>
8 #include <string>
9 
11 
12 namespace edm {
13  class ParameterSet;
15 
16  class FromFiles {
17  public:
18  FromFiles(ParameterSet const& pset);
19  ~FromFiles();
20 
21  std::vector<std::string> const& logicalFileNames() const { return catalog_.logicalFileNames(); }
22  std::vector<std::string> fileNames(unsigned iCatalog) const { return catalog_.fileNames(iCatalog); }
24 
26 
28 
29  size_t fileIndex() const;
30 
31  private:
33  size_t fileIndex_;
34  };
35 } // namespace edm
36 #endif
std::vector< std::string > const & logicalFileNames() const
Definition: FromFiles.h:21
FromFiles(ParameterSet const &pset)
Definition: FromFiles.cc:6
std::vector< std::string > fileNames(unsigned iCatalog) const
void incrementFileIndex()
Definition: FromFiles.h:27
size_t fileIndex() const
Definition: FromFiles.cc:20
static void fillDescription(ParameterSetDescription &desc)
Definition: FromFiles.cc:13
InputFileCatalog & catalog()
Definition: FromFiles.h:23
InputFileCatalog catalog_
Definition: FromFiles.h:32
size_t fileIndex_
Definition: FromFiles.h:33
HLT enums.
std::vector< std::string > fileNames(unsigned iCatalog) const
Definition: FromFiles.h:22
std::vector< std::string > const & logicalFileNames() const