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.

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 }

References contentValuesCheck::ss.

Referenced by cond::serialize().

◆ techVersion()

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

Definition at line 6 of file Serialization.cc.

6 { return BOOST_LIB_VERSION; }

Referenced by cond::default_deserialize().

Member Data Documentation

◆ ARCH_LABEL

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

Definition at line 54 of file Serialization.h.

◆ CMSSW_VERSION_LABEL

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

Definition at line 53 of file Serialization.h.

◆ TECH_LABEL

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

Definition at line 51 of file Serialization.h.

◆ TECH_VERSION_LABEL

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

Definition at line 52 of file Serialization.h.

◆ TECHNOLOGY

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

Definition at line 56 of file Serialization.h.

cond::StreamerInfo::TECH_LABEL
static constexpr char const * TECH_LABEL
Definition: Serialization.h:51
contentValuesCheck.ss
ss
Definition: contentValuesCheck.py:33
cond::StreamerInfo::ARCH_LABEL
static constexpr char const * ARCH_LABEL
Definition: Serialization.h:54
cond::StreamerInfo::techVersion
static std::string techVersion()
Definition: Serialization.cc:6
cond::StreamerInfo::CMSSW_VERSION_LABEL
static constexpr char const * CMSSW_VERSION_LABEL
Definition: Serialization.h:53
cond::StreamerInfo::TECH_VERSION_LABEL
static constexpr char const * TECH_VERSION_LABEL
Definition: Serialization.h:52
cond::StreamerInfo::TECHNOLOGY
static constexpr char const * TECHNOLOGY
Definition: Serialization.h:56