Project
Loading...
Searching...
No Matches
StreamOperators.cxx
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#include "Framework/InputSpec.h"
15
16#include <ostream>
17#include <string>
18
19namespace o2
20{
21namespace framework
22{
23
24std::ostream& operator<<(std::ostream& stream, o2::framework::InputSpec const& arg)
25{
26 // FIXME: should have stream operators for the header fields
27 stream << arg.binding << " {" << DataSpecUtils::describe(arg) << "}";
28 return stream;
29}
30
31std::ostream& operator<<(std::ostream& stream, o2::framework::OutputSpec const& arg)
32{
33 stream << arg.binding.value << " { " << DataSpecUtils::describe(arg) << "}";
34 return stream;
35}
36
37} // namespace framework
38} // namespace o2
GLuint GLuint stream
Definition glcorearb.h:1806
std::ostream & operator<<(std::ostream &s, ChannelType const &type)
Stream operators so that we can use ChannelType with Boost.Test.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static std::string describe(InputSpec const &spec)
std::string binding
A mnemonic name for the input spec.
Definition InputSpec.h:66