test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 <boost/shared_ptr.hpp>
#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<typename T >
boost::shared_ptr< Tcond::default_deserialize (const std::string &payloadType, const Binary &payloadData, const Binary &streamerInfoData)
 
template<typename T >
boost::shared_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

#define DESERIALIZE_BASE_CASE (   BASETYPENAME)
Value:
if( payloadType == #BASETYPENAME ){ \
return default_deserialize<BASETYPENAME>( payloadType, payloadData, streamerInfoData ); \
}
return(e1-e2)*(e1-e2)+dp *dp

Definition at line 113 of file Serialization.h.

Referenced by cond::deserialize< BaseKeyed >().

#define DESERIALIZE_POLIMORPHIC_CASE (   BASETYPENAME,
  DERIVEDTYPENAME 
)
Value:
if( payloadType == #DERIVEDTYPENAME ){ \
return boost::dynamic_pointer_cast<BASETYPENAME>( default_deserialize<DERIVEDTYPENAME>( payloadType, payloadData, streamerInfoData ) ); \
}
return(e1-e2)*(e1-e2)+dp *dp

Definition at line 118 of file Serialization.h.

Referenced by cond::deserialize< BaseKeyed >(), cond::deserialize< condex::Efficiency >(), cond::deserialize< CSCReadoutMapping >(), cond::deserialize< CSCReadoutMappingForSliceTest >(), and cond::deserialize< PerformancePayload >().