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

Method AddUniqueElement

rapidjson/schema.h:958–964  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

956
957 template <typename V1, typename V2>
958 void AddUniqueElement(V1& a, const V2& v) {
959 for (typename V1::ConstValueIterator itr = a.Begin(); itr != a.End(); ++itr)
960 if (*itr == v)
961 return;
962 V1 c(v, *allocator_);
963 a.PushBack(c, *allocator_);
964 }
965
966 static const ValueType* GetMember(const ValueType& value, const ValueType& name) {
967 typename ValueType::ConstMemberIterator itr = value.FindMember(name);

Callers

nothing calls this directly

Calls 3

BeginMethod · 0.80
EndMethod · 0.45
PushBackMethod · 0.45

Tested by

no test coverage detected