MCPcopy Create free account
hub / github.com/Kitware/VTK / prepElementForInfo

Function prepElementForInfo

IO/XML/vtkXMLWriter.cxx:1740–1745  ·  view source on GitHub ↗

Write generic key information to element.

Source from the content-addressed store, hash-verified

1738
1739// Write generic key information to element.
1740void prepElementForInfo(vtkInformationKey* key, vtkXMLDataElement* element)
1741{
1742 element->SetName("InformationKey");
1743 element->SetAttribute("name", key->GetName());
1744 element->SetAttribute("location", key->GetLocation());
1745}
1746
1747template <class KeyType>
1748void writeScalarInfo(

Callers 2

writeScalarInfoFunction · 0.85
writeVectorInfoFunction · 0.85

Calls 4

GetLocationMethod · 0.80
SetNameMethod · 0.45
SetAttributeMethod · 0.45
GetNameMethod · 0.45

Tested by

no test coverage detected