MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / RemoveAllMembers

Function RemoveAllMembers

rapidjson/document.h:1368–1373  ·  view source on GitHub ↗

Remove all members in the object. ! This function do not deallocate memory in the object, i.e. the capacity is unchanged. \note Linear time complexity. */

Source from the content-addressed store, hash-verified

1366 \note Linear time complexity.
1367 */
1368 void RemoveAllMembers() {
1369 RAPIDJSON_ASSERT(IsObject());
1370 for (MemberIterator m = MemberBegin(); m != MemberEnd(); ++m)
1371 m->~Member();
1372 data_.o.size = 0;
1373 }
1374
1375 //! Remove a member in object by its name.
1376 /*! \param name Name of member to be removed.

Callers

nothing calls this directly

Calls 3

IsObjectFunction · 0.85
MemberBeginFunction · 0.85
MemberEndFunction · 0.85

Tested by

no test coverage detected