src
Alignment
OfflineValidation
bin
toolbox.h
Go to the documentation of this file.
1
#ifndef _TOOLBOX_
2
#define _TOOLBOX_
3
#include <cstdlib>
4
#include <string>
5
#include <algorithm>
6
#include <iostream>
7
8
#include "boost/property_tree/ptree.hpp"
9
#include "boost/property_tree/info_parser.hpp"
10
11
namespace
AllInOneConfig
{
12
13
inline
void
dump
(
const
boost::property_tree::ptree&
tree
) {
14
for
(
const
auto
& it :
tree
) {
15
auto
key
= it.first,
value
=
tree
.get<
std::string
>(
key
);
16
std::cout
<<
key
<<
'\t'
<<
value
<<
'\n'
;
17
}
18
std::cout
<< std::flush;
19
}
20
21
}
// namespace AllInOneConfig
22
#endif
AllInOneConfig::dump
void dump(const boost::property_tree::ptree &tree)
Definition:
toolbox.h:13
crabWrapper.key
key
Definition:
crabWrapper.py:19
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
AllInOneConfig
Definition:
exceptions.h:18
value
Definition:
value.py:1
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
tree
Definition:
tree.py:1
Generated for CMSSW Reference Manual by
1.8.14