/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Alignment/OfflineValidation/bin/toolbox.h
22 строки
518 B
tkello
Second round of comments implemented.
04 ноя 2022, 05:42
04 ноя 2022, 05:42
be39c7c
Код
Авторство
О чём код?
#ifndef _TOOLBOX_ #define _TOOLBOX_ #include <cstdlib> #include <string> #include <algorithm> #include <iostream> #include "boost/property_tree/ptree.hpp" #include "boost/property_tree/info_parser.hpp" namespace AllInOneConfig { inline void dump(const boost::property_tree::ptree& tree) { for (const auto& it : tree) { auto key = it.first, value = tree.get<std::string>(key); std::cout << key << '\t' << value << '\n'; } std::cout << std::flush; } } // namespace AllInOneConfig #endif