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 char const * ARCH_LABEL = "architecture"
 
static char const * CMSSW_VERSION_LABEL = "CMSSW_version"
 
static char const * TECH_LABEL = "technology"
 
static char const * TECH_VERSION_LABEL = "tech_version"
 
static char const * TECHNOLOGY = "boost/serialization"
 

Detailed Description

Definition at line 46 of file Serialization.h.

Member Function Documentation

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

Definition at line 10 of file Serialization.cc.

References ARCH_LABEL, CMSSW_VERSION_LABEL, TECH_LABEL, TECH_VERSION_LABEL, TECHNOLOGY, and techVersion().

Referenced by cond::serialize().

10  {
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 }
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 char const * ARCH_LABEL
Definition: Serialization.h:51
std::string cond::StreamerInfo::techVersion ( )
static

Definition at line 6 of file Serialization.cc.

Referenced by cond::default_deserialize(), and jsonString().

6  {
7  return BOOST_LIB_VERSION;
8 }

Member Data Documentation

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

Definition at line 51 of file Serialization.h.

Referenced by jsonString().

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

Definition at line 50 of file Serialization.h.

Referenced by jsonString().

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

Definition at line 48 of file Serialization.h.

Referenced by jsonString().

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

Definition at line 49 of file Serialization.h.

Referenced by jsonString().

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

Definition at line 53 of file Serialization.h.

Referenced by jsonString().