Lines Matching refs:name

122     GenericValue<Encoding, Allocator> name;     //!< name of member (must be a string)
128 : name(std::move(rhs.name)), in GenericMember()
144 name = rhs.name;
152 a.name.Swap(b.name); in swap()
1035 … typename RhsType::ConstMemberIterator rhsMemberItr = rhs.FindMember(lhsMemberItr->name);
1209 …rnal::IsSame<typename internal::RemoveConst<T>::Type, Ch> >),(GenericValue&)) operator[](T* name) {
1210 GenericValue n(StringRef(name));
1214 …e, Ch> >),(const GenericValue&)) operator[](T* name) const { return const_cast<GenericValue&>(*thi…
1226 GenericValue& operator[](const GenericValue<Encoding, SourceAllocator>& name) {
1227 MemberIterator member = FindMember(name);
1258 …const GenericValue<Encoding, SourceAllocator>& name) const { return const_cast<GenericValue&>(*thi…
1262 …ericValue& operator[](const std::basic_string<Ch>& name) { return (*this)[GenericValue(StringRef(n…
1263 …cValue& operator[](const std::basic_string<Ch>& name) const { return (*this)[GenericValue(StringRe…
1299 bool HasMember(const Ch* name) const { return FindMember(name) != MemberEnd(); }
1310 …bool HasMember(const std::basic_string<Ch>& name) const { return FindMember(name) != MemberEnd(); }
1323 … HasMember(const GenericValue<Encoding, SourceAllocator>& name) const { return FindMember(name) !=…
1337 MemberIterator FindMember(const Ch* name) {
1338 GenericValue n(StringRef(name));
1342 …ConstMemberIterator FindMember(const Ch* name) const { return const_cast<GenericValue&>(*this).Fin…
1358 MemberIterator FindMember(const GenericValue<Encoding, SourceAllocator>& name) {
1360 RAPIDJSON_ASSERT(name.IsString());
1361 return DoFindMember(name);
1363 … GenericValue<Encoding, SourceAllocator>& name) const { return const_cast<GenericValue&>(*this).Fi…
1373 …rIterator FindMember(const std::basic_string<Ch>& name) { return FindMember(GenericValue(StringRef…
1374 …erator FindMember(const std::basic_string<Ch>& name) const { return FindMember(GenericValue(String…
1387 GenericValue& AddMember(GenericValue& name, GenericValue& value, Allocator& allocator) {
1389 RAPIDJSON_ASSERT(name.IsString());
1390 DoAddMember(name, value, allocator);
1403 GenericValue& AddMember(GenericValue& name, StringRefType value, Allocator& allocator) {
1405 return AddMember(name, v, allocator);
1418 … GenericValue& AddMember(GenericValue& name, std::basic_string<Ch>& value, Allocator& allocator) {
1420 return AddMember(name, v, allocator);
1443 AddMember(GenericValue& name, T value, Allocator& allocator) {
1445 return AddMember(name, v, allocator);
1449 GenericValue& AddMember(GenericValue&& name, GenericValue&& value, Allocator& allocator) {
1450 return AddMember(name, value, allocator);
1452 GenericValue& AddMember(GenericValue&& name, GenericValue& value, Allocator& allocator) {
1453 return AddMember(name, value, allocator);
1455 GenericValue& AddMember(GenericValue& name, GenericValue&& value, Allocator& allocator) {
1456 return AddMember(name, value, allocator);
1458 GenericValue& AddMember(StringRefType name, GenericValue&& value, Allocator& allocator) {
1459 GenericValue n(name);
1475 GenericValue& AddMember(StringRefType name, GenericValue& value, Allocator& allocator) {
1476 GenericValue n(name);
1489 GenericValue& AddMember(StringRefType name, StringRefType value, Allocator& allocator) {
1491 return AddMember(name, v, allocator);
1513 AddMember(StringRefType name, T value, Allocator& allocator) {
1514 GenericValue n(name);
1535 bool RemoveMember(const Ch* name) {
1536 GenericValue n(StringRef(name));
1541 …bool RemoveMember(const std::basic_string<Ch>& name) { return RemoveMember(GenericValue(StringRef(
1545 bool RemoveMember(const GenericValue<Encoding, SourceAllocator>& name) {
1546 MemberIterator m = FindMember(name);
1608 bool EraseMember(const Ch* name) {
1609 GenericValue n(StringRef(name));
1614 …bool EraseMember(const std::basic_string<Ch>& name) { return EraseMember(GenericValue(StringRef(na…
1618 bool EraseMember(const GenericValue<Encoding, SourceAllocator>& name) {
1619 MemberIterator m = FindMember(name);
1958 … RAPIDJSON_ASSERT(m->name.IsString()); // User may change the type of name by MemberIterator.
1959 …if (RAPIDJSON_UNLIKELY(!handler.Key(m->name.GetString(), m->name.GetStringLength(), (m->name.data_…
2229 MemberIterator DoFindMember(const GenericValue<Encoding, SourceAllocator>& name) {
2232 MapIterator mit = map->find(reinterpret_cast<const Data&>(name.data_));
2282 MemberIterator DoFindMember(const GenericValue<Encoding, SourceAllocator>& name) {
2285 if (name.StringEqual(member->name))
2304 void DoAddMember(GenericValue& name, GenericValue& value, Allocator& allocator) {
2310 m->name.RawAssign(name);
2315 new (&mit[o.size]) MapIterator(map->insert(MapPair(m->name.data_, o.size)));
2391 new (&lm[i].name) GenericValue(rm[i].name, allocator, copyConstStrings);
2394 new (&mit[i]) MapIterator(map->insert(MapPair(lm[i].name.data_, i)));
2425 new (&mit[i]) MapIterator(map->insert(MapPair(m[i].name.data_, i)));
2976 template <typename T> ValueType& operator[](T* name) const { return value_[name]; }
2977 … operator[](const GenericValue<EncodingType, SourceAllocator>& name) const { return value_[name]; }
2979 ValueType& operator[](const std::basic_string<Ch>& name) const { return value_[name]; }
2984 bool HasMember(const Ch* name) const { return value_.HasMember(name); }
2986 bool HasMember(const std::basic_string<Ch>& name) const { return value_.HasMember(name); }
2988 …ber(const GenericValue<EncodingType, SourceAllocator>& name) const { return value_.HasMember(name)…
2989 MemberIterator FindMember(const Ch* name) const { return value_.FindMember(name); }
2990 …ber(const GenericValue<EncodingType, SourceAllocator>& name) const { return value_.FindMember(name
2992 …MemberIterator FindMember(const std::basic_string<Ch>& name) const { return value_.FindMember(name
2994 …GenericObject AddMember(ValueType& name, ValueType& value, AllocatorType& allocator) const { value…
2995 …GenericObject AddMember(ValueType& name, StringRefType value, AllocatorType& allocator) const { va…
2997 …ricObject AddMember(ValueType& name, std::basic_string<Ch>& value, AllocatorType& allocator) const…
2999 …> >), (ValueType&)) AddMember(ValueType& name, T value, AllocatorType& allocator) const { value_.A…
3001 …GenericObject AddMember(ValueType&& name, ValueType&& value, AllocatorType& allocator) const { val…
3002 …GenericObject AddMember(ValueType&& name, ValueType& value, AllocatorType& allocator) const { valu…
3003 …GenericObject AddMember(ValueType& name, ValueType&& value, AllocatorType& allocator) const { valu…
3004 …nericObject AddMember(StringRefType name, ValueType&& value, AllocatorType& allocator) const { val…
3006 …enericObject AddMember(StringRefType name, ValueType& value, AllocatorType& allocator) const { val…
3007 …ericObject AddMember(StringRefType name, StringRefType value, AllocatorType& allocator) const { va…
3008 …(GenericObject)) AddMember(StringRefType name, T value, AllocatorType& allocator) const { value_.A…
3010 bool RemoveMember(const Ch* name) const { return value_.RemoveMember(name); }
3012 bool RemoveMember(const std::basic_string<Ch>& name) const { return value_.RemoveMember(name); }
3014 …er(const GenericValue<EncodingType, SourceAllocator>& name) const { return value_.RemoveMember(nam…
3018 bool EraseMember(const Ch* name) const { return value_.EraseMember(name); }
3020 …bool EraseMember(const std::basic_string<Ch>& name) const { return EraseMember(ValueType(StringRef…
3022 …er(const GenericValue<EncodingType, SourceAllocator>& name) const { return value_.EraseMember(name