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

Method Serialize

Source/cmSpdx.cxx:176–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void cmSpdxExternalIdentifier::Serialize(cmSbomSerializer& serializer) const
177{
178 serializer.AddString("type", "ExternalIdentifier");
179 SerializeIfPresent(serializer, "externalIdentifierType",
180 ExternalIdentifierType);
181 SerializeIfPresent(serializer, "identifier", Identifier);
182 SerializeIfPresent(serializer, "comment", Comment);
183 SerializeIfPresent(serializer, "identifierLocation", IdentifierLocation);
184 SerializeIfPresent(serializer, "issuingAuthority", IssuingAuthority);
185}
186
187void cmSpdxExternalRef::Serialize(cmSbomSerializer& serializer) const
188{

Callers 3

AddVisitableMethod · 0.45
AddVectorIfPresentMethod · 0.45
WriteSbomMethod · 0.45

Calls 6

SerializeIfPresentFunction · 0.85
to_stringFunction · 0.85
AddStringMethod · 0.80
AddVectorIfPresentMethod · 0.80
AddVisitableMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected