| 72 | std::set<std::string> names; |
| 73 | struct Visitor { |
| 74 | const AttributeIds& ids; |
| 75 | std::set<std::string>& out; |
| 76 | void visit(RenderRequestEntries::EntryBase& entry) { |
| 77 | if (entry.getType() == RenderRequestEntryType::SetElementAttribute) { |
| 78 | auto& setAttr = static_cast<RenderRequestEntries::SetElementAttribute&>(entry); |
| 79 | out.insert(ids.getNameForId(setAttr.getAttributeId()).slowToString()); |
| 80 | } |
| 81 | } |
| 82 | } visitor{attributeIds, names}; |
no test coverage detected