MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / assign

Method assign

src/common/classes/GenericMap.h:153–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151 }
152
153 void assign(GenericMap& v)
154 {
155 clear();
156
157 Accessor accessor(&v);
158
159 for (bool found = accessor.getFirst(); found; found = accessor.getNext())
160 {
161 const KeyValuePair* const current_pair = accessor.current();
162 put(current_pair->first, current_pair->second);
163 }
164 }
165
166 void takeOwnership(GenericMap& from)
167 {

Callers

nothing calls this directly

Calls 5

clearClass · 0.50
putFunction · 0.50
getFirstMethod · 0.45
getNextMethod · 0.45
currentMethod · 0.45

Tested by

no test coverage detected