lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
range.hh File Reference

getRange(), which expands a list of numbers and number ranges into integers. More...

#include <string>
#include <vector>

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 

Functions

void Pds::getRange (const std::string &input, std::vector< int > &data)
 Append to data every integer in input, where each item is a number or an inclusive range written N-M (items are found by regular expression search, so any separator works).
 

Detailed Description

getRange(), which expands a list of numbers and number ranges into integers.