MCPcopy Create free account
hub / github.com/Kitware/CMake / array

Method array

Utilities/cmcppdap/src/rapid_json_serializer.cpp:123–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121}
122
123bool RapidDeserializer::array(
124 const std::function<bool(dap::Deserializer*)>& cb) const {
125 if (!json()->IsArray()) {
126 return false;
127 }
128 for (uint32_t i = 0; i < json()->Size(); i++) {
129 RapidDeserializer d(&(*json())[i]);
130 if (!cb(&d)) {
131 return false;
132 }
133 }
134 return true;
135}
136
137bool RapidDeserializer::field(
138 const std::string& name,

Callers

nothing calls this directly

Calls 2

SetArrayMethod · 0.80
ValueFunction · 0.50

Tested by

no test coverage detected