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

Various utilities to manipulate InputSpecs. More...

#include <DataDescriptorQueryBuilder.h>

Static Public Member Functions

static std::vector< InputSpecparse (const char *s="")
 
static DataDescriptorQuery buildFromKeepConfig (std::string const &config)
 
static DataDescriptorQuery buildFromExtendedKeepConfig (std::string const &config)
 deprecated?
 
static std::unique_ptr< data_matcher::DataDescriptorMatcherbuildNode (std::string const &nodeString)
 
static std::vector< std::string > getTokens (std::string const &nodeString)
 

Detailed Description

Various utilities to manipulate InputSpecs.

Definition at line 42 of file DataDescriptorQueryBuilder.h.

Member Function Documentation

◆ buildFromExtendedKeepConfig()

DataDescriptorQuery o2::framework::DataDescriptorQueryBuilder::buildFromExtendedKeepConfig ( std::string const &  config)
static

deprecated?

Definition at line 404 of file DataDescriptorQueryBuilder.cxx.

◆ buildFromKeepConfig()

DataDescriptorQuery o2::framework::DataDescriptorQueryBuilder::buildFromKeepConfig ( std::string const &  config)
static

Internal method to build matcher list from a string of verified specs, the fixed and verified input format allows simple scanning, no state based parsing nor error handling implemented

Definition at line 374 of file DataDescriptorQueryBuilder.cxx.

◆ buildNode()

std::unique_ptr< DataDescriptorMatcher > o2::framework::DataDescriptorQueryBuilder::buildNode ( std::string const &  nodeString)
static

Definition at line 448 of file DataDescriptorQueryBuilder.cxx.

◆ getTokens()

std::vector< std::string > o2::framework::DataDescriptorQueryBuilder::getTokens ( std::string const &  nodeString)
static

Definition at line 465 of file DataDescriptorQueryBuilder.cxx.

◆ parse()

std::vector< InputSpec > o2::framework::DataDescriptorQueryBuilder::parse ( const char s = "")
static

Creates an inputspec from a configuration config string with the following grammar.

string := [a-zA-Z0-9_*]* binding := string origin := string description := string subspec := [0-9]* spec := binding:origin/description/subspec config := spec;spec;...

Example for config: x:TPC/CLUSTER/0;y:ITS/TRACKS/1

FIXME: grammar has been extended, add documentation

Definition at line 55 of file DataDescriptorQueryBuilder.cxx.


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