CMS 3D CMS Logo

Namespaces | Macros | Functions
CondDBFetch.cc File Reference
#include "CondCore/CondDB/interface/Serialization.h"
#include "CondCore/Utilities/interface/CondDBImport.h"
#include "CondCore/CondDB/interface/Exception.h"
#include "CondFormats.h"
#include <memory>
#include <sstream>

Go to the source code of this file.

Namespaces

 cond
 
 cond::persistency
 

Macros

#define FETCH_PAYLOAD_CASE(TYPENAME)
 

Functions

std::pair< std::string, std::shared_ptr< void > > cond::persistency::fetch (const cond::Hash &payloadId, Session &session)
 
std::pair< std::string, std::shared_ptr< void > > cond::persistency::fetchOne (const std::string &payloadTypeName, const cond::Binary &data, const cond::Binary &streamerInfo, std::shared_ptr< void > payloadPtr)
 

Macro Definition Documentation

#define FETCH_PAYLOAD_CASE (   TYPENAME)
Value:
if( payloadTypeName == #TYPENAME ){ \
auto payload = deserialize<TYPENAME>( payloadTypeName, data, streamerInfo ); \
payloadPtr = payload; \
match = true; \
}
payload
payload postfix for testing
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:82

Definition at line 3 of file CondDBFetch.cc.

Referenced by cond::persistency::fetchOne().