CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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> 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
FromFiles(ParameterSet const &pset)
Definition: FromFiles.cc:6
void incrementFileIndex()
Definition: FromFiles.h:27
static void fillDescription(ParameterSetDescription &desc)
Definition: FromFiles.cc:13
InputFileCatalog & catalog()
Definition: FromFiles.h:23
std::vector< std::string > const & logicalFileNames() const
Definition: FromFiles.h:21
std::vector< std::string > const & logicalFileNames() const
InputFileCatalog catalog_
Definition: FromFiles.h:32
size_t fileIndex_
Definition: FromFiles.h:33
std::vector< std::string > fileNames(unsigned iCatalog) const
size_t fileIndex() const
Definition: FromFiles.cc:20
std::vector< std::string > fileNames(unsigned iCatalog) const
Definition: FromFiles.h:22