标签:
document.h
1 Member* FindMember(const Ch* name) { 2 RAPIDJSON_ASSERT(name); 3 RAPIDJSON_ASSERT(IsObject()); 4 5 Object& o = data_.o; 6 for (Member* member = o.members; member != data_.o.members + data_.o.size; ++member) 7 if (name[member->name.data_.s.length] == ‘\0‘ && memcmp(member->name.data_.s.str, name, member->name.data_.s.length * sizeof(Ch)) == 0) 8 return member; 9 10 return 0; 11 }
标签:
原文地址:http://www.cnblogs.com/kolonse/p/4453189.html