| 151 | } |
| 152 | |
| 153 | GroupsName IRegisterController::groupForRegisterName(const QString& name) const |
| 154 | { |
| 155 | const auto namesOfRegisterGroups = this->namesOfRegisterGroups(); |
| 156 | for (const GroupsName& group : namesOfRegisterGroups) { |
| 157 | const QStringList registersInGroup = registerNamesForGroup(group); |
| 158 | if (group.flagName() == name) { |
| 159 | return group; |
| 160 | } |
| 161 | for (const QString& n : registersInGroup) { |
| 162 | if (n == name) { |
| 163 | return group; |
| 164 | } |
| 165 | } |
| 166 | } |
| 167 | return GroupsName(); |
| 168 | } |
| 169 | |
| 170 | void IRegisterController::updateValuesForRegisters(RegistersGroup* registers) const |
| 171 | { |
nothing calls this directly
no test coverage detected