File indexing completed on 2024-04-06 12:01:28
0001 #include "CondCore/CondDB/interface/Serialization.h"
0002
0003 #include <sstream>
0004 #include "boost/version.hpp"
0005
0006 std::string cond::StreamerInfo::techVersion() { return BOOST_LIB_VERSION; }
0007
0008 std::string cond::StreamerInfo::jsonString() {
0009 std::stringstream ss;
0010 ss << " {" << std::endl;
0011 ss << "\"" << CMSSW_VERSION_LABEL << "\": \"" << currentCMSSWVersion() << "\"," << std::endl;
0012 ss << "\"" << ARCH_LABEL << "\": \"" << currentArchitecture() << "\"," << std::endl;
0013 ss << "\"" << TECH_LABEL << "\": \"" << TECHNOLOGY << "\"," << std::endl;
0014 ss << "\"" << TECH_VERSION_LABEL << "\": \"" << techVersion() << "\"" << std::endl;
0015 ss << " }" << std::endl;
0016 return ss.str();
0017 }