CMS 3D CMS Logo

Classes | Namespaces | Macros | Typedefs | Functions
Serialization.h File Reference
#include "CondCore/CondDB/interface/Binary.h"
#include "CondCore/CondDB/interface/Exception.h"
#include "CondCore/CondDB/interface/Utils.h"
#include <sstream>
#include <iostream>
#include <memory>
#include "CondFormats/Serialization/interface/Archive.h"

Go to the source code of this file.

Classes

class  cond::StreamerInfo
 

Namespaces

 cond
 

Macros

#define DESERIALIZE_BASE_CASE(BASETYPENAME)
 
#define DESERIALIZE_POLIMORPHIC_CASE(BASETYPENAME, DERIVEDTYPENAME)
 

Typedefs

typedef cond::serialization::InputArchive cond::CondInputArchive
 
typedef cond::serialization::OutputArchive cond::CondOutputArchive
 

Functions

template<typename T >
Tcond::createPayload (const std::string &payloadTypeName)
 
template<>
std::string * cond::createPayload< std::string > (const std::string &payloadTypeName)
 
template<typename T >
std::unique_ptr< Tcond::default_deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData)
 
template<typename T >
std::unique_ptr< Tcond::deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData)
 
template<typename T >
std::pair< Binary, Binary > cond::serialize (const T &payload)
 

Macro Definition Documentation

◆ DESERIALIZE_BASE_CASE

#define DESERIALIZE_BASE_CASE (   BASETYPENAME)
Value:
if (payloadType == #BASETYPENAME) { \
return default_deserialize<BASETYPENAME>(payloadType, payloadData, streamerInfoData); \
}

Definition at line 129 of file Serialization.h.

◆ DESERIALIZE_POLIMORPHIC_CASE

#define DESERIALIZE_POLIMORPHIC_CASE (   BASETYPENAME,
  DERIVEDTYPENAME 
)
Value:
if (payloadType == #DERIVEDTYPENAME) { \
return default_deserialize<DERIVEDTYPENAME>(payloadType, payloadData, streamerInfoData); \
}

Definition at line 134 of file Serialization.h.

HLT_2018_cff.payloadType
payloadType
Definition: HLT_2018_cff.py:8133