Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::CStringIntMap Class Reference

#include <hash_map.h>

Inheritance diagram for dart::CStringIntMap:
dart::BaseCStringIntMap< ValueObject, Zone > dart::BaseDirectChainedHashMap< CStringIntMapKeyValueTrait, ValueObject, Zone > dart::ValueObject

Public Member Functions

 CStringIntMap ()
 
 CStringIntMap (Zone *zone)
 
- Public Member Functions inherited from dart::BaseCStringIntMap< ValueObject, Zone >
 BaseCStringIntMap (Zone *allocator)
 
- Public Member Functions inherited from dart::BaseDirectChainedHashMap< CStringIntMapKeyValueTrait, ValueObject, Zone >
 BaseDirectChainedHashMap (Zone *allocator, intptr_t initial_size=kInitialSize)
 
 BaseDirectChainedHashMap (const BaseDirectChainedHashMap &other)
 
intptr_t Length () const
 
 ~BaseDirectChainedHashMap ()
 
void Insert (typename KeyValueTrait::Pair kv)
 
bool Remove (typename KeyValueTrait::Key key)
 
void Update (typename KeyValueTrait::Pair kv)
 
KeyValueTrait::Value LookupValue (typename KeyValueTrait::Key key) const
 
KeyValueTrait::Pair * Lookup (typename KeyValueTrait::Key key) const
 
bool HasKey (typename KeyValueTrait::Key key) const
 
intptr_t Size () const
 
bool IsEmpty () const
 
void Clear ()
 
Iterator GetIterator () const
 
- Public Member Functions inherited from dart::ValueObject
 ValueObject ()
 
 ~ValueObject ()
 

Additional Inherited Members

- Protected Member Functions inherited from dart::BaseDirectChainedHashMap< CStringIntMapKeyValueTrait, ValueObject, Zone >
void Resize (intptr_t new_size)
 
- Protected Attributes inherited from dart::BaseDirectChainedHashMap< CStringIntMapKeyValueTrait, ValueObject, Zone >
Zone *const allocator_
 
uint32_t * hash_table_
 
KeyValueTrait::Pair * pairs_
 
uint32_t hash_table_size_
 
uint32_t pairs_size_
 
uint32_t next_pair_index_
 
uint32_t deleted_count_
 
- Static Protected Attributes inherited from dart::BaseDirectChainedHashMap< CStringIntMapKeyValueTrait, ValueObject, Zone >
static constexpr intptr_t kInitialSize
 
static constexpr uint32_t kEmpty
 
static constexpr uint32_t kDeleted
 
static constexpr uint32_t kMaxPairs
 

Detailed Description

Definition at line 500 of file hash_map.h.

Constructor & Destructor Documentation

◆ CStringIntMap() [1/2]

dart::CStringIntMap::CStringIntMap ( )
inline

Definition at line 502 of file hash_map.h.

503 : BaseCStringIntMap<ValueObject, Zone>(ThreadState::Current()->zone()) {}
static ThreadState * Current()
Definition: thread_state.h:27

◆ CStringIntMap() [2/2]

dart::CStringIntMap::CStringIntMap ( Zone zone)
inlineexplicit

Definition at line 504 of file hash_map.h.

505 : BaseCStringIntMap<ValueObject, Zone>(zone) {}

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