CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Serialization.cc
Go to the documentation of this file.
2 //
3 #include <sstream>
4 #include "boost/version.hpp"
5 
6 std::string cond::StreamerInfo::techVersion() { return BOOST_LIB_VERSION; }
7 
9  std::stringstream ss;
10  ss << " {" << std::endl;
11  ss << "\"" << CMSSW_VERSION_LABEL << "\": \"" << currentCMSSWVersion() << "\"," << std::endl;
12  ss << "\"" << ARCH_LABEL << "\": \"" << currentArchitecture() << "\"," << std::endl;
13  ss << "\"" << TECH_LABEL << "\": \"" << TECHNOLOGY << "\"," << std::endl;
14  ss << "\"" << TECH_VERSION_LABEL << "\": \"" << techVersion() << "\"" << std::endl;
15  ss << " }" << std::endl;
16  return ss.str();
17 }
static std::string techVersion()
Definition: Serialization.cc:6
static std::string jsonString()
Definition: Serialization.cc:8