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
"
13
#include "
Framework/OutputSpec.h
"
14
#include "
Framework/DataSpecUtils.h
"
15
16
#include <ostream>
17
#include <string>
18
19
namespace
o2
20
{
21
namespace
framework
22
{
23
24
std::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
31
std::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
DataSpecUtils.h
InputSpec.h
OutputSpec.h
stream
GLuint GLuint stream
Definition
glcorearb.h:1806
framework
Definition
BunchFilling.h:113
o2::framework::operator<<
std::ostream & operator<<(std::ostream &s, ChannelType const &type)
Stream operators so that we can use ChannelType with Boost.Test.
Definition
ChannelSpecHelpers.cxx:192
o2
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
Definition
BitstreamReader.h:24
o2::framework::DataSpecUtils::describe
static std::string describe(InputSpec const &spec)
Definition
DataSpecUtils.cxx:70
o2::framework::InputSpec
Definition
InputSpec.h:31
o2::framework::InputSpec::binding
std::string binding
A mnemonic name for the input spec.
Definition
InputSpec.h:66
o2::framework::OutputLabel::value
std::string value
Definition
OutputSpec.h:27
o2::framework::OutputSpec
Definition
OutputSpec.h:33
o2::framework::OutputSpec::binding
OutputLabel binding
Definition
OutputSpec.h:34
Framework
Core
src
StreamOperators.cxx
Generated on Tue Feb 25 2025 17:03:21 for Project by
1.9.8