MCPcopy Create free account
hub / github.com/apple/coremltools / getKeys

Method getKeys

modelpackage/src/utils/JsonMap.cpp:70–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70void JsonMapImpl::getKeys(std::vector<std::string>& keys) {
71 for(json::iterator it = m_jsonObject.begin(); it != m_jsonObject.end(); ++it) {
72 keys.push_back(it.key());
73 }
74}
75
76/* ==== Getter methods ==== */
77

Callers 5

validateMethod · 0.80
removeItemInfoEntryMethod · 0.80
findItemMethod · 0.80
findItemsByAuthorMethod · 0.80
debug.jsFile · 0.80

Calls 4

push_backMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
keyMethod · 0.45

Tested by

no test coverage detected