DummySource_source.cc
Go to the documentation of this file.
11 
12 namespace art::test {
13  class DummySource;
14 }
15 
17 public:
18  struct Config {
20  fhicl::Name{"neverUse"},
22  "This source is used to test the print-available plugins option.\n"
23  "It should NEVER BE USED in real art job.\n"
24  "A job that uses this source WILL fail."}};
25  };
27 
30  {}
31 
32 private:
33  std::unique_ptr<art::FileBlock>
34  readFile() override
35  {
36  return nullptr;
37  }
38  void
39  closeFile() override
40  {}
42  nextItemType() override
43  {
44  return art::input::IsStop;
45  }
46  std::unique_ptr<art::RunPrincipal>
47  readRun() override
48  {
49  return nullptr;
50  }
51  std::unique_ptr<art::SubRunPrincipal>
53  {
54  return nullptr;
55  }
56 
57  std::unique_ptr<art::EventPrincipal>
59  {
60  return nullptr;
61  }
62 
63  std::unique_ptr<art::RangeSetHandler>
64  runRangeSetHandler() override
65  {
66  return nullptr;
67  }
68  std::unique_ptr<art::RangeSetHandler>
70  {
71  return nullptr;
72  }
73 };
74 
fhicl::DelegatedParameter neverUse
std::unique_ptr< art::SubRunPrincipal > readSubRun(cet::exempt_ptr< art::RunPrincipal const >) override
art::input::ItemType nextItemType() override
std::unique_ptr< art::RunPrincipal > readRun() override
std::unique_ptr< art::FileBlock > readFile() override
std::unique_ptr< art::RangeSetHandler > runRangeSetHandler() override
ModuleDescription const & moduleDescription
std::unique_ptr< art::EventPrincipal > readEvent(cet::exempt_ptr< art::SubRunPrincipal const >) override
DummySource(Parameters const &, art::InputSourceDescription &isd)
#define DEFINE_ART_INPUT_SOURCE(klass)
std::unique_ptr< art::RangeSetHandler > subRunRangeSetHandler() override