Project
Loading...
Searching...
No Matches
GenericFunctions.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
12/*
13 * File: GenericFunctions.h
14 * Author: John Lång (john.larry.lang@cern.ch)
15 *
16 * Created on 9 June 2017, 17:29
17 */
18
19#ifndef O2_DCS_GENERIC_FUNCTIONS_H
20#define O2_DCS_GENERIC_FUNCTIONS_H
21
22#include <string>
23
24namespace o2
25{
26namespace dcs
27{
38template <typename T>
39std::string show(const T input);
40
50template <typename T>
51T read(const std::string& input);
52} // namespace dcs
53} // namespace o2
54
55#endif /* O2_DCS_GENERIC_FUNCTIONS_H */
std::string show(const DeliveryType type)
DeliveryType read(const std::string &str)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...