CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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> const& fileNames() const {return catalog_.fileNames();}
24 
25  static void fillDescription(ParameterSetDescription& desc);
26 
28 
29  size_t fileIndex() const;
30 
31  private:
32 
34  size_t fileIndex_;
35  };
36 }
37 #endif
FromFiles(ParameterSet const &pset)
Definition: FromFiles.cc:6
void incrementFileIndex()
Definition: FromFiles.h:27
static void fillDescription(ParameterSetDescription &desc)
Definition: FromFiles.cc:15
std::vector< std::string > const & fileNames() const
Definition: FromFiles.h:22
InputFileCatalog & catalog()
Definition: FromFiles.h:23
std::vector< std::string > const & logicalFileNames() const
Definition: FromFiles.h:21
std::vector< std::string > const & logicalFileNames() const
std::vector< std::string > const & fileNames() const
InputFileCatalog catalog_
Definition: FromFiles.h:33
size_t fileIndex_
Definition: FromFiles.h:34
size_t fileIndex() const
Definition: FromFiles.cc:23