CMS 3D CMS Logo

Serialization.cc
Go to the documentation of this file.
2 //
3 #include <sstream>
4 #include "boost/version.hpp"
5 
7  return BOOST_LIB_VERSION;
8 }
9 
11  std::stringstream ss;
12  ss<<" {"<<std::endl;
13  ss<<"\""<<CMSSW_VERSION_LABEL<<"\": \""<<currentCMSSWVersion()<<"\","<<std::endl;
14  ss<<"\""<<ARCH_LABEL<<"\": \""<<currentArchitecture()<<"\","<<std::endl;
15  ss<<"\""<<TECH_LABEL<<"\": \""<<TECHNOLOGY<<"\","<<std::endl;
16  ss<<"\""<<TECH_VERSION_LABEL<<"\": \""<<techVersion()<<"\""<<std::endl;
17  ss<<" }"<<std::endl;
18  return ss.str();
19 }
20 
static char const * CMSSW_VERSION_LABEL
Definition: Serialization.h:50
static std::string techVersion()
Definition: Serialization.cc:6
static char const * TECH_LABEL
Definition: Serialization.h:48
static char const * TECHNOLOGY
Definition: Serialization.h:53
static char const * TECH_VERSION_LABEL
Definition: Serialization.h:49
static std::string jsonString()
static char const * ARCH_LABEL
Definition: Serialization.h:51