CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 38 of file Serialization.h.

Member Function Documentation

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

Definition at line 10 of file Serialization.cc.

References contentValuesCheck::ss.

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:42
static std::string techVersion()
Definition: Serialization.cc:6
static char const * TECH_LABEL
Definition: Serialization.h:40
static char const * TECHNOLOGY
Definition: Serialization.h:45
static char const * TECH_VERSION_LABEL
Definition: Serialization.h:41
static char const * ARCH_LABEL
Definition: Serialization.h:43
std::string cond::StreamerInfo::techVersion ( )
static

Definition at line 6 of file Serialization.cc.

Referenced by cond::default_deserialize().

6  {
7  return BOOST_LIB_VERSION;
8 }

Member Data Documentation

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

Definition at line 43 of file Serialization.h.

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

Definition at line 42 of file Serialization.h.

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

Definition at line 40 of file Serialization.h.

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

Definition at line 41 of file Serialization.h.

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

Definition at line 45 of file Serialization.h.