Main Page
Namespaces
Classes
Package Documentation
FWCore
Utilities
src
OStreamColumn.cc
Go to the documentation of this file.
1
#include "
FWCore/Utilities/interface/OStreamColumn.h
"
2
3
#include <algorithm>
4
5
namespace
edm
{
6
7
OStreamColumn::OStreamColumn
(
std::string
const
&
t
) :
OStreamColumn
{
t
, 0} {}
8
9
OStreamColumn::OStreamColumn
(
std::string
const
&
t
, std::size_t
const
w
)
10
:
title_
{t},
width_
{
std::max
(
w
,
title_
.size())} {}
11
12
std::ostream&
operator<<
(std::ostream&
t
,
OStreamColumn
const
&
c
) {
13
t << std::setw(c.
width_
) << c.
title_
;
14
return
t
;
15
}
16
17
}
// namespace edm
OrderedSet.t
t
Definition:
OrderedSet.py:90
w
const double w
Definition:
UKUtility.cc:23
edm::OStreamColumn
Definition:
OStreamColumn.h:53
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
OStreamColumn.h
edm::OStreamColumn::title_
std::string title_
Definition:
OStreamColumn.h:66
edm::OStreamColumn::OStreamColumn
OStreamColumn(std::string const &t)
Definition:
OStreamColumn.cc:7
SiStripPI::max
Definition:
SiStripPayloadInspectorHelper.h:169
edm::OStreamColumn::width_
std::size_t width_
Definition:
OStreamColumn.h:67
edm
HLT enums.
Definition:
AlignableModifier.h:19
edm::OStreamColumn::operator<<
friend std::ostream & operator<<(std::ostream &, OStreamColumn const &)
Definition:
OStreamColumn.cc:12
Generated for CMSSW Reference Manual by
1.8.11