From 9d3676da5741b7ca485aa633a1d067b5799c463c Mon Sep 17 00:00:00 2001 From: cranshaw <Jack.Cranshaw@cern.ch> Date: Fri, 7 Sep 2018 09:34:10 -0500 Subject: [PATCH] Bring ReadMeta into accord with the new IMetaDataTool interface. Former-commit-id: 96a4fb36ca8773a00350381520fc81da84fa6dfe --- .../AthenaPoolExampleAlgorithms/src/ReadMeta.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Database/AthenaPOOL/AthenaPoolExample/AthenaPoolExampleAlgorithms/src/ReadMeta.h b/Database/AthenaPOOL/AthenaPoolExample/AthenaPoolExampleAlgorithms/src/ReadMeta.h index 7784b8871ddd..c8ecfc9fd9d5 100755 --- a/Database/AthenaPOOL/AthenaPoolExample/AthenaPoolExampleAlgorithms/src/ReadMeta.h +++ b/Database/AthenaPOOL/AthenaPoolExample/AthenaPoolExampleAlgorithms/src/ReadMeta.h @@ -45,6 +45,15 @@ public: /// Function called when the tool should write out its metadata virtual StatusCode metaDataStop() {return StatusCode::SUCCESS;} + /// Function collecting the metadata from a new input file + virtual StatusCode beginInputFile(const SG::SourceID&) {return beginInputFile();} + + /// Function collecting the metadata from a new input file + virtual StatusCode endInputFile(const SG::SourceID&) {return endInputFile();} + + /// Function writing the collected metadata to the output + virtual StatusCode metaDataStop(const SG::SourceID&) {return metaDataStop();} + /// Incident service handle listening for BeginInputFile and EndInputFile. void handle(const Incident& incident); -- GitLab