| 103 | } |
| 104 | |
| 105 | FeatureGroup::index_type |
| 106 | FeatureGroup::index_of(swoc::TextView const &name) |
| 107 | { |
| 108 | auto spot = |
| 109 | std::find_if(_expr_info.begin(), _expr_info.end(), [&name](ExprInfo const &info) { return 0 == strcasecmp(info._name, name); }); |
| 110 | return spot == _expr_info.end() ? INVALID_IDX : spot - _expr_info.begin(); |
| 111 | } |
| 112 | |
| 113 | Errata |
| 114 | FeatureGroup::load_expr(Config &cfg, Tracking &tracking, Tracking::Info *info, YAML::Node const &node) |
no test coverage detected