MCPcopy Create free account
hub / github.com/bblanchon/ArduinoJson / getOrCreateData

Function getOrCreateData

src/ArduinoJson/Object/MemberProxy.hpp:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62 }
63
64 VariantData* getOrCreateData() const {
65 auto data = VariantAttorney::getOrCreateData(upstream_);
66 if (!data)
67 return nullptr;
68 return data->getOrAddMember(key_,
69 VariantAttorney::getResourceManager(upstream_));
70 }
71
72 private:
73 TUpstream upstream_;

Callers

nothing calls this directly

Calls 2

getResourceManagerFunction · 0.70
getOrAddMemberMethod · 0.45

Tested by

no test coverage detected