Project
Loading...
Searching...
No Matches
o2::framework::DataRefUtils Struct Reference

#include <DataRefUtils.h>

Static Public Member Functions

template<typename T >
static auto as (DataRef const &ref)
 
static voiddecodeCCDB (DataRef const &ref, std::type_info const &info)
 
static std::map< std::string, std::string > extractCCDBHeaders (DataRef const &ref)
 
static o2::header::DataHeader::PayloadSizeType getPayloadSize (const DataRef &ref)
 
template<typename T >
static auto getHeader (const DataRef &ref)
 
static bool isValid (DataRef const &ref)
 
static bool match (DataRef const &ref, const char *binding)
 
static bool match (DataRef const &ref, InputSpec const &spec)
 

Detailed Description

Definition at line 37 of file DataRefUtils.h.

Member Function Documentation

◆ as()

template<typename T >
static auto o2::framework::DataRefUtils::as ( DataRef const &  ref)
inlinestatic

Definition at line 40 of file DataRefUtils.h.

◆ decodeCCDB()

void * o2::framework::DataRefUtils::decodeCCDB ( DataRef const &  ref,
std::type_info const &  info 
)
static

Definition at line 78 of file DataRefUtils.cxx.

◆ extractCCDBHeaders()

std::map< std::string, std::string > o2::framework::DataRefUtils::extractCCDBHeaders ( DataRef const &  ref)
static

Definition at line 114 of file DataRefUtils.cxx.

◆ getHeader()

template<typename T >
static auto o2::framework::DataRefUtils::getHeader ( const DataRef ref)
inlinestatic

Definition at line 202 of file DataRefUtils.h.

◆ getPayloadSize()

static o2::header::DataHeader::PayloadSizeType o2::framework::DataRefUtils::getPayloadSize ( const DataRef ref)
inlinestatic

Definition at line 184 of file DataRefUtils.h.

◆ isValid()

static bool o2::framework::DataRefUtils::isValid ( DataRef const &  ref)
inlinestatic

Definition at line 210 of file DataRefUtils.h.

◆ match() [1/2]

static bool o2::framework::DataRefUtils::match ( DataRef const &  ref,
const char binding 
)
inlinestatic

check if the DataRef object matches a partcular binding Can be used to check if DataRef from the InputRecord iterator comes from a particular input.

Definition at line 218 of file DataRefUtils.h.

◆ match() [2/2]

static bool o2::framework::DataRefUtils::match ( DataRef const &  ref,
InputSpec const &  spec 
)
inlinestatic

check if the O2 message referred by DataRef matches a particular input spec. The DataHeader is retrieved from the header message and matched against spec parameter.

Definition at line 226 of file DataRefUtils.h.


The documentation for this struct was generated from the following files: