Project
Loading...
Searching...
No Matches
CCDBHelpers.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11#ifndef O2_FRAMEWORK_CCDBHELPERS_H_
12#define O2_FRAMEWORK_CCDBHELPERS_H_
13
16#include "Framework/Output.h"
17#include "Headers/DataHeader.h"
19#include <unordered_map>
20#include <string>
21
22namespace o2::framework
23{
24
26 struct ParserResult {
27 std::unordered_map<std::string, std::string> remappings;
28 std::string error;
29 };
31 static ParserResult parseRemappings(char const*);
32
44 DataAllocator& allocator,
45 std::unordered_map<std::string, DataAllocator::CacheId> const& cache,
46 std::string const& path,
47 Output const& output,
50};
51
52} // namespace o2::framework
53
54#endif // O2_FRAMEWORK_CCDBHELPERS_H_
void output(const std::map< std::string, ChannelStat > &channels)
Definition rawdump.cxx:197
const GLdouble * v
Definition glcorearb.h:832
GLsizei const GLchar *const * path
Definition glcorearb.h:3591
Defining ITS Vertex explicitly as messageable.
Definition Cartesian.h:288
std::vector< T, fair::mq::pmr::polymorphic_allocator< T > > vector
std::unordered_map< std::string, std::string > remappings
Definition CCDBHelpers.h:27
static DataAllocator::CacheId adoptAndReplaceCachedMessage(DataAllocator &allocator, std::unordered_map< std::string, DataAllocator::CacheId > const &cache, std::string const &path, Output const &output, o2::pmr::vector< char > &&v, o2::header::SerializationMethod method)
static ParserResult parseRemappings(char const *)
static AlgorithmSpec fetchFromCCDB()