MCPcopy Create free account
hub / github.com/comaps/comaps / ModifyElementAndSetVersion

Method ModifyElementAndSetVersion

libs/editor/server_api.cpp:92–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void ServerApi06::ModifyElementAndSetVersion(editor::XMLFeature & element) const
93{
94 uint64_t const version = ModifyElement(element);
95 element.SetAttribute("version", strings::to_string(version));
96}
97
98void ServerApi06::DeleteElement(editor::XMLFeature const & element) const
99{

Callers 1

UNIT_TESTFunction · 0.80

Calls 2

to_stringFunction · 0.85
SetAttributeMethod · 0.45

Tested by 1

UNIT_TESTFunction · 0.64