webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value > Class Template Reference

#include <map.h>

Inheritance diagram for google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >:
google::protobuf.internal::TypeDefinedMapFieldBase< Key, T > google::protobuf.internal::MapFieldLite< Key, T, kKeyFieldType, kValueFieldType, default_enum_value > google::protobuf.internal::MapFieldBase

Public Member Functions

 MapField ()
 
 MapField (Arena *arena)
 
 MapField (const Message *default_entry)
 
 MapField (Arena *arena, const Message *default_entry)
 
 ~MapField ()
 
bool ContainsMapKey (const MapKey &map_key) const
 
bool InsertOrLookupMapValue (const MapKey &map_key, MapValueRef *val)
 
bool DeleteMapValue (const MapKey &map_key)
 
const Map< Key, T > & GetMap () const
 
Map< Key, T > * MutableMap ()
 
int size () const
 
void Clear ()
 
void MergeFrom (const MapFieldLiteType &other)
 
void Swap (MapFieldLiteType *other)
 
void SetEntryDescriptor (const Descriptor **descriptor)
 
void SetAssignDescriptorCallback (void(*callback)())
 
- Public Member Functions inherited from google::protobuf.internal::TypeDefinedMapFieldBase< Key, T >
 TypeDefinedMapFieldBase ()
 
 TypeDefinedMapFieldBase (Arena *arena)
 
 ~TypeDefinedMapFieldBase ()
 
void MapBegin (MapIterator *map_iter) const
 
void MapEnd (MapIterator *map_iter) const
 
bool EqualIterator (const MapIterator &a, const MapIterator &b) const
 
- Public Member Functions inherited from google::protobuf.internal::MapFieldBase
 MapFieldBase ()
 
 MapFieldBase (Arena *arena)
 
virtual ~MapFieldBase ()
 
const RepeatedPtrFieldBaseGetRepeatedField () const
 
RepeatedPtrFieldBaseMutableRepeatedField ()
 
int SpaceUsedExcludingSelf () const
 
- Public Member Functions inherited from google::protobuf.internal::MapFieldLite< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >
 MapFieldLite ()
 
 MapFieldLite (Arena *arena)
 
virtual ~MapFieldLite ()
 
virtual void MergeFrom (const MapFieldLite &other)
 
virtual void Swap (MapFieldLite *other)
 
void SetDefaultEnumValue ()
 
EntryTypeNewEntry () const
 
EntryTypeNewEnumEntryWrapper (const Key &key, const T t) const
 
EntryTypeNewEntryWrapper (const Key &key, const T &t) const
 

Friends

class ::google::protobuf::Arena
 

Additional Inherited Members

- Protected Types inherited from google::protobuf.internal::MapFieldBase
enum  State { STATE_MODIFIED_MAP = 0, STATE_MODIFIED_REPEATED = 1, CLEAN = 2 }
 
- Protected Member Functions inherited from google::protobuf.internal::TypeDefinedMapFieldBase< Key, T >
Map< Key, T >::const_iterator & InternalGetIterator (const MapIterator *map_iter) const
 
- Protected Member Functions inherited from google::protobuf.internal::MapFieldBase
void SyncRepeatedFieldWithMap () const
 
void SyncMapWithRepeatedField () const
 
void SetMapDirty ()
 
void SetRepeatedDirty ()
 
voidMutableRepeatedPtrField () const
 
void InitMetadataOnce () const
 
- Protected Attributes inherited from google::protobuf.internal::MapFieldBase
Arenaarena_
 
RepeatedPtrField< Message > * repeated_field_
 
const Descriptor ** entry_descriptor_
 
void(* assign_descriptor_callback_ )()
 
Mutex mutex_
 
volatile Atomic32 state_
 

Constructor & Destructor Documentation

◆ MapField() [1/4]

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MapField ( )

◆ MapField() [2/4]

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MapField ( Arena arena)
explicit

◆ MapField() [3/4]

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MapField ( const Message default_entry)

◆ MapField() [4/4]

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MapField ( Arena arena,
const Message default_entry 
)

◆ ~MapField()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::~MapField ( )

Member Function Documentation

◆ Clear()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
void google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::Clear ( )
virtual

◆ ContainsMapKey()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
bool google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::ContainsMapKey ( const MapKey map_key) const
virtual

◆ DeleteMapValue()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
bool google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::DeleteMapValue ( const MapKey map_key)
virtual

◆ GetMap()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
const Map< Key, T > & google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::GetMap ( ) const
virtual

◆ InsertOrLookupMapValue()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
bool google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::InsertOrLookupMapValue ( const MapKey map_key,
MapValueRef val 
)
virtual

◆ MergeFrom()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
void google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MergeFrom ( const MapFieldLiteType other)

◆ MutableMap()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
Map< Key, T > * google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::MutableMap ( )
virtual

◆ SetAssignDescriptorCallback()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
void google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::SetAssignDescriptorCallback ( void(*)()  callback)

◆ SetEntryDescriptor()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
void google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::SetEntryDescriptor ( const Descriptor **  descriptor)

◆ size()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
int google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::size ( ) const
virtual

◆ Swap()

template<typename Key , typename T , WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value>
void google::protobuf.internal::MapField< Key, T, kKeyFieldType, kValueFieldType, default_enum_value >::Swap ( MapFieldLiteType other)

Friends And Related Function Documentation

◆ ::google::protobuf::Arena

template<typename Key, typename T, WireFormatLite::FieldType kKeyFieldType, WireFormatLite::FieldType kValueFieldType, int default_enum_value = 0>
friend class ::google::protobuf::Arena
friend

The documentation for this class was generated from the following files: