CMS 3D CMS Logo

List of all members | Static Public Member Functions | Static Public Attributes
cond::StreamerInfo Class Reference

#include <Serialization.h>

Static Public Member Functions

static std::string jsonString ()
 
static std::string techVersion ()
 

Static Public Attributes

static constexpr char const * ARCH_LABEL = "architecture"
 
static constexpr char const * CMSSW_VERSION_LABEL = "CMSSW_version"
 
static constexpr char const * TECH_LABEL = "technology"
 
static constexpr char const * TECH_VERSION_LABEL = "tech_version"
 
static constexpr char const * TECHNOLOGY = "boost/serialization"
 

Detailed Description

Definition at line 49 of file Serialization.h.

Member Function Documentation

◆ jsonString()

std::string cond::StreamerInfo::jsonString ( )
static

Definition at line 8 of file Serialization.cc.

References contentValuesCheck::ss.

Referenced by cond::serialize().

8  {
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 constexpr char const * CMSSW_VERSION_LABEL
Definition: Serialization.h:53
static constexpr char const * TECHNOLOGY
Definition: Serialization.h:56
static constexpr char const * ARCH_LABEL
Definition: Serialization.h:54
static constexpr char const * TECH_VERSION_LABEL
Definition: Serialization.h:52
static constexpr char const * TECH_LABEL
Definition: Serialization.h:51

◆ techVersion()

std::string cond::StreamerInfo::techVersion ( )
static

Definition at line 6 of file Serialization.cc.

Referenced by cond::default_deserialize().

6 { return BOOST_LIB_VERSION; }

Member Data Documentation

◆ ARCH_LABEL

constexpr char const* cond::StreamerInfo::ARCH_LABEL = "architecture"
static

Definition at line 54 of file Serialization.h.

◆ CMSSW_VERSION_LABEL

constexpr char const* cond::StreamerInfo::CMSSW_VERSION_LABEL = "CMSSW_version"
static

Definition at line 53 of file Serialization.h.

◆ TECH_LABEL

constexpr char const* cond::StreamerInfo::TECH_LABEL = "technology"
static

Definition at line 51 of file Serialization.h.

◆ TECH_VERSION_LABEL

constexpr char const* cond::StreamerInfo::TECH_VERSION_LABEL = "tech_version"
static

Definition at line 52 of file Serialization.h.

◆ TECHNOLOGY

constexpr char const* cond::StreamerInfo::TECHNOLOGY = "boost/serialization"
static

Definition at line 56 of file Serialization.h.