| 545 | } |
| 546 | |
| 547 | MetadataTagProcessor::~MetadataTagProcessor() |
| 548 | { |
| 549 | if (!m_description.IsEmpty()) |
| 550 | m_params.GetMetadata().Set(feature::Metadata::FMD_DESCRIPTION, m_description.GetBuffer()); |
| 551 | |
| 552 | if (!m_chargeSockets.GetSockets().empty()) |
| 553 | { |
| 554 | auto socketsList = m_chargeSockets.ToString(); |
| 555 | m_params.GetMetadata().Set(feature::Metadata::FMD_CHARGE_SOCKETS, socketsList); |
| 556 | } |
| 557 | } |
| 558 | |
| 559 | void MetadataTagProcessor::operator()(std::string const & k, std::string const & v) |
| 560 | { |
nothing calls this directly
no test coverage detected