 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef CORALUTILITIES_BLOBACCESS_H
6 #define CORALUTILITIES_BLOBACCESS_H
10 #include <string_view>
11 #include "nlohmann/json.hpp"
38 const std::string_view
name =
"tree");
bool compressBlob(const char *, coral::Blob &)
bool readBlobAsJson(const coral::Blob &, nlohmann::json &)
bool writeBlobFromTTree(TTree *, coral::Blob &)
bool readBlobAsString(const coral::Blob &, std::string &)
bool uncompressBlob(const coral::Blob &, std::unique_ptr< unsigned char[]> &, unsigned long &)
bool writeBlobFromJson(const nlohmann::json &, coral::Blob &)
bool readBlobAsTTree(const coral::Blob &blob, std::unique_ptr< TTree > &tree, const std::string_view name="tree")
Interprets the coral::Blob as a TTree instance.
bool writeBlobFromString(const std::string_view, coral::Blob &)