MCPcopy Create free account
hub / github.com/DFHack/dfhack / Clear

Method Clear

depends/protobuf/google/protobuf/extension_set.cc:586–591  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

584// ===================================================================
585
586void ExtensionSet::Clear() {
587 for (map<int, Extension>::iterator iter = extensions_.begin();
588 iter != extensions_.end(); ++iter) {
589 iter->second.Clear();
590 }
591}
592
593void ExtensionSet::MergeFrom(const ExtensionSet& other) {
594 for (map<int, Extension>::const_iterator iter = other.extensions_.begin();

Callers 1

ClearExtensionMethod · 0.45

Calls 4

cpp_typeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected