| 929 | */ |
| 930 | template<class T> |
| 931 | inline bool find_flagarray_field(unsigned *idx, const std::string &name, const BitArray<T>*) { |
| 932 | T tmp; |
| 933 | if (!find_enum_item(&tmp, name) || tmp < 0) return false; |
| 934 | *idx = unsigned(tmp); |
| 935 | return true; |
| 936 | } |
| 937 | |
| 938 | /** |
| 939 | * Find a flag array item by key and set its value. Returns success code. |
nothing calls this directly
no test coverage detected