|
ATLAS Offline Software
|
Go to the documentation of this file.
4 #ifndef IOVDBSVC_JSON2COOL_H
5 #define IOVDBSVC_JSON2COOL_H
7 #include "CoolKernel/StorageType.h"
11 #include "nlohmann/json.hpp"
16 class RecordSpecification;
37 static cool::RecordSpecification *
Json2Cool(std::istream &stream, BasicFolder &b, const std::string &specString, const IovStore::Iov_t *iov=nullptr)
BasicFolder & m_basicFolder
std::pair< cool::ValidityKey, cool::ValidityKey > Iov_t
Produces cool objects from their JSON representation, storing them in a 'BasicFolder'.
static cool::RecordSpecification * parsePayloadSpec(const std::string &stringSpecification)
cool::RecordSpecification * m_sharedSpec
helper class for IOVDbFolder managing cached iov since/until pairs
static cool::Record createAttributeList(cool::RecordSpecification *pSpec, const nlohmann::json &j)
void init(std::istream &stream, const std::string &specString, const IovStore::Iov_t *iov)