MCPcopy Create free account
hub / github.com/comaps/comaps / ~MetadataTagProcessor

Method ~MetadataTagProcessor

generator/osm2meta.cpp:547–557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

545}
546
547MetadataTagProcessor::~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
559void MetadataTagProcessor::operator()(std::string const & k, std::string const & v)
560{

Callers

nothing calls this directly

Calls 7

GetSocketsMethod · 0.80
IsEmptyMethod · 0.45
SetMethod · 0.45
GetMetadataMethod · 0.45
GetBufferMethod · 0.45
emptyMethod · 0.45
ToStringMethod · 0.45

Tested by

no test coverage detected