MCPcopy Create free account
hub / github.com/Kitware/CMake / OnItem

Method OnItem

Source/cmGraphVizWriter.cxx:130–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130void cmGraphVizWriter::OnItem(cmLinkItem const& item)
131{
132 if (this->ItemExcluded(item)) {
133 return;
134 }
135
136 this->NodeNames[item.AsStr()] =
137 cmStrCat(this->GraphNodePrefix, this->NextNodeId);
138 ++this->NextNodeId;
139
140 this->WriteNode(this->GlobalFileStream, item);
141}
142
143std::unique_ptr<cmGeneratedFileStream> cmGraphVizWriter::CreateTargetFile(
144 cmLinkItem const& item, std::string const& fileNameSuffix)

Callers 1

VisitItemMethod · 0.80

Calls 3

ItemExcludedMethod · 0.95
WriteNodeMethod · 0.95
cmStrCatFunction · 0.70

Tested by

no test coverage detected