![]() |
ATLAS Offline Software
|
Functions | |
bool | compressBlob (const char *, coral::Blob &) |
bool | writeBlobFromString (const std::string_view, coral::Blob &) |
bool | writeBlobFromJson (const nlohmann::json &, coral::Blob &) |
bool | writeBlobFromTTree (TTree *, coral::Blob &) |
bool | uncompressBlob (const coral::Blob &, std::unique_ptr< unsigned char[]> &, unsigned long &) |
bool | readBlobAsString (const coral::Blob &, std::string &) |
bool | readBlobAsJson (const coral::Blob &, nlohmann::json &) |
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. More... | |
bool CoralUtilities::compressBlob | ( | const char * | in, |
coral::Blob & | out | ||
) |
Definition at line 20 of file blobaccess.cxx.
bool CoralUtilities::readBlobAsJson | ( | const coral::Blob & | blob, |
nlohmann::json & | out | ||
) |
Definition at line 94 of file blobaccess.cxx.
bool CoralUtilities::readBlobAsString | ( | const coral::Blob & | blob, |
std::string & | out | ||
) |
Definition at line 85 of file blobaccess.cxx.
bool CoralUtilities::readBlobAsTTree | ( | const coral::Blob & | blob, |
std::unique_ptr< TTree > & | tree, | ||
const std::string_view | name = "tree" |
||
) |
Interprets the coral::Blob as a TTree instance.
If the parsing was successful, the parsed tree pointer is assigned to an object and true is returned. Otherwise, the unique_ptr is set to nullptr with false
blob | Coral database blob to interpret |
tree | Reference to the unique_ptr to which the TTree is interpreted |
name | Name of the TTree inside the memory blob |
Definition at line 107 of file blobaccess.cxx.
bool CoralUtilities::uncompressBlob | ( | const coral::Blob & | blob, |
std::unique_ptr< unsigned char[]> & | out, | ||
unsigned long & | len | ||
) |
Definition at line 61 of file blobaccess.cxx.
bool CoralUtilities::writeBlobFromJson | ( | const nlohmann::json & | in, |
coral::Blob & | out | ||
) |
Definition at line 35 of file blobaccess.cxx.
bool CoralUtilities::writeBlobFromString | ( | const std::string_view | in, |
coral::Blob & | out | ||
) |
Definition at line 31 of file blobaccess.cxx.
bool CoralUtilities::writeBlobFromTTree | ( | TTree * | tree, |
coral::Blob & | out | ||
) |
Definition at line 39 of file blobaccess.cxx.