File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Framework/Core/include/Framework Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 4040namespace o2 ::framework
4141{
4242
43+ // Wrapper class to get CCDB metadata
44+ struct CCDBMetadataExtractor {};
45+
4346struct InputSpec ;
4447class InputSpan ;
4548class CallbackService ;
@@ -461,6 +464,14 @@ class InputRecord
461464 }
462465 }
463466
467+ template <typename T = DataRef, typename R>
468+ std::map<std::string, std::string> &get (R binding, int part = 0 ) const
469+ requires std::same_as<T, CCDBMetadataExtractor>
470+ {
471+ // FIXME: needs proper implementation by Ruben
472+ return getRef (binding, part);
473+ }
474+
464475 // / Helper method to be used to check if a given part of the InputRecord is present.
465476 [[nodiscard]] bool isValid (std::string const & s) const
466477 {
You can’t perform that action at this time.
0 commit comments