2 #include "boost/algorithm/string.hpp" 11 std::regex
const reBrackets{R
"((\]\[|\[|\]))"}; 19 std::vector<std::string>
keys;
23 keys.erase(
std::remove(keys.begin(), keys.end(),
""), keys.end());
41 auto const name = tokens.front();
42 tokens.erase(tokens.begin());
44 std::vector<std::size_t>
indices;
47 return std::stoul(index);
Keys get_names(std::string const &key)
std::vector< std::string > split_by_regex(std::string const &str, std::regex const &reDelimSet)
constexpr std::array< std::size_t, geo::vect::dimension< Vector >)> indices()
Returns a sequence of indices valid for a vector of the specified type.
auto transform_all(Container &, OutputIt, UnaryOp)
SequenceKey get_sequence_indices(std::string const &key)
void split(std::string const &s, char c, OutIter dest)
cet::coded_exception< error, detail::translate > exception