webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
google::protobuf.internal::DynamicMapField Class Reference

#include <map_field.h>

Inheritance diagram for google::protobuf.internal::DynamicMapField:
google::protobuf.internal::TypeDefinedMapFieldBase< MapKey, MapValueRef > google::protobuf.internal::MapFieldBase

Public Member Functions

 DynamicMapField (const Message *default_entry)
 
 DynamicMapField (const Message *default_entry, Arena *arena)
 
 ~DynamicMapField ()
 
bool ContainsMapKey (const MapKey &map_key) const
 
bool InsertOrLookupMapValue (const MapKey &map_key, MapValueRef *val)
 
bool DeleteMapValue (const MapKey &map_key)
 
const Map< MapKey, MapValueRef > & GetMap () const
 
Map< MapKey, MapValueRef > * MutableMap ()
 
int size () const
 
- Public Member Functions inherited from google::protobuf.internal::TypeDefinedMapFieldBase< MapKey, MapValueRef >
 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
 

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< MapKey, MapValueRef >
Map< MapKey, MapValueRef >::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

◆ DynamicMapField() [1/2]

google::protobuf.internal::DynamicMapField::DynamicMapField ( const Message default_entry)
explicit

◆ DynamicMapField() [2/2]

google::protobuf.internal::DynamicMapField::DynamicMapField ( const Message default_entry,
Arena arena 
)

◆ ~DynamicMapField()

google::protobuf.internal::DynamicMapField::~DynamicMapField ( )

Member Function Documentation

◆ ContainsMapKey()

bool google::protobuf.internal::DynamicMapField::ContainsMapKey ( const MapKey map_key) const
virtual

◆ DeleteMapValue()

bool google::protobuf.internal::DynamicMapField::DeleteMapValue ( const MapKey map_key)
virtual

◆ GetMap()

const Map< MapKey, MapValueRef > & google::protobuf.internal::DynamicMapField::GetMap ( ) const
virtual

◆ InsertOrLookupMapValue()

bool google::protobuf.internal::DynamicMapField::InsertOrLookupMapValue ( const MapKey map_key,
MapValueRef val 
)
virtual

◆ MutableMap()

Map< MapKey, MapValueRef > * google::protobuf.internal::DynamicMapField::MutableMap ( )
virtual

◆ size()

int google::protobuf.internal::DynamicMapField::size ( ) const
virtual

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