| 165 | } |
| 166 | |
| 167 | void EagleTypeConverter::tryConvertAttributes( |
| 168 | const QList<parseagle::Attribute>& in, AttributeList& out, |
| 169 | MessageLogger& log) const { |
| 170 | foreach (const auto& eagleAttr, in) { |
| 171 | if (auto lpObj = tryConvertAttribute(eagleAttr, log)) { |
| 172 | if (!out.contains(*lpObj->getKey())) { |
| 173 | out.append(lpObj); |
| 174 | } |
| 175 | } |
| 176 | } |
| 177 | } |
| 178 | |
| 179 | void EagleTypeConverter::tryExtractMpnAndManufacturer( |
| 180 | AttributeList& attributes, SimpleString& mpn, |