v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::PointerTemplateHashMapImpl< AllocationPolicy > Class Template Reference

#include <hashmap.h>

Inheritance diagram for v8::base::PointerTemplateHashMapImpl< AllocationPolicy >:
Collaboration diagram for v8::base::PointerTemplateHashMapImpl< AllocationPolicy >:

Public Member Functions

 PointerTemplateHashMapImpl (uint32_t capacity=Base::kDefaultHashMapCapacity, AllocationPolicy allocator=AllocationPolicy())
 
 PointerTemplateHashMapImpl (const PointerTemplateHashMapImpl &other, AllocationPolicy allocator=AllocationPolicy())
 
 PointerTemplateHashMapImpl (PointerTemplateHashMapImpl &&other) V8_NOEXCEPT
 
PointerTemplateHashMapImploperator= (PointerTemplateHashMapImpl &&other) V8_NOEXCEPT
 
- Public Member Functions inherited from v8::base::TemplateHashMapImpl< void *, void *, KeyEqualityMatcher< void * >, AllocationPolicy >
 TemplateHashMapImpl (uint32_t capacity=kDefaultHashMapCapacity, KeyEqualityMatcher< void * > match=KeyEqualityMatcher< void * >(), AllocationPolicy allocator=AllocationPolicy())
 
 TemplateHashMapImpl (const TemplateHashMapImpl &)=delete
 
 TemplateHashMapImpl (const TemplateHashMapImpl *original, AllocationPolicy allocator=AllocationPolicy())
 
 TemplateHashMapImpl (TemplateHashMapImpl &&other) V8_NOEXCEPT=default
 
TemplateHashMapImploperator= (const TemplateHashMapImpl &)=delete
 
TemplateHashMapImploperator= (TemplateHashMapImpl &&other) V8_NOEXCEPT=default
 
 ~TemplateHashMapImpl ()
 
EntryLookup (const void *&key, uint32_t hash) const
 
EntryLookupOrInsert (const void *&key, uint32_t hash)
 
EntryLookupOrInsert (const void *&key, uint32_t hash, const Func &value_func)
 
EntryLookupOrInsert (const LookupKey &lookup_key, uint32_t hash, const KeyFunc &key_func, const ValueFunc &value_func)
 
EntryInsertNew (const void *&key, uint32_t hash)
 
void * Remove (const void *&key, uint32_t hash)
 
void Clear ()
 
void Invalidate ()
 
uint32_t occupancy () const
 
uint32_t capacity () const
 
EntryStart () const
 
EntryNext (Entry *entry) const
 
AllocationPolicy allocator () const
 

Private Types

using Base
 

Additional Inherited Members

- Public Types inherited from v8::base::TemplateHashMapImpl< void *, void *, KeyEqualityMatcher< void * >, AllocationPolicy >
using Entry
 
- Static Public Attributes inherited from v8::base::TemplateHashMapImpl< void *, void *, KeyEqualityMatcher< void * >, AllocationPolicy >
static const uint32_t kDefaultHashMapCapacity
 
- Protected Member Functions inherited from v8::base::TemplateHashMapImpl< void *, void *, KeyEqualityMatcher< void * >, AllocationPolicy >
void Initialize (uint32_t capacity)
 

Detailed Description

template<typename AllocationPolicy>
class v8::base::PointerTemplateHashMapImpl< AllocationPolicy >

Definition at line 494 of file hashmap.h.

Member Typedef Documentation

◆ Base

template<typename AllocationPolicy >
using v8::base::PointerTemplateHashMapImpl< AllocationPolicy >::Base
private
Initial value:
AllocationPolicy>
TemplateHashMapImpl(uint32_t capacity=kDefaultHashMapCapacity, KeyEqualityMatcher< void * > match=KeyEqualityMatcher< void * >(), AllocationPolicy allocator=AllocationPolicy())
Definition hashmap.h:186

Definition at line 497 of file hashmap.h.

Constructor & Destructor Documentation

◆ PointerTemplateHashMapImpl() [1/3]

template<typename AllocationPolicy >
v8::base::PointerTemplateHashMapImpl< AllocationPolicy >::PointerTemplateHashMapImpl ( uint32_t capacity = Base::kDefaultHashMapCapacity,
AllocationPolicy allocator = AllocationPolicy() )
inlineexplicit

Definition at line 501 of file hashmap.h.

◆ PointerTemplateHashMapImpl() [2/3]

template<typename AllocationPolicy >
v8::base::PointerTemplateHashMapImpl< AllocationPolicy >::PointerTemplateHashMapImpl ( const PointerTemplateHashMapImpl< AllocationPolicy > & other,
AllocationPolicy allocator = AllocationPolicy() )
inline

Definition at line 506 of file hashmap.h.

◆ PointerTemplateHashMapImpl() [3/3]

template<typename AllocationPolicy >
v8::base::PointerTemplateHashMapImpl< AllocationPolicy >::PointerTemplateHashMapImpl ( PointerTemplateHashMapImpl< AllocationPolicy > && other)
inline

Definition at line 510 of file hashmap.h.

Member Function Documentation

◆ operator=()

template<typename AllocationPolicy >
PointerTemplateHashMapImpl & v8::base::PointerTemplateHashMapImpl< AllocationPolicy >::operator= ( PointerTemplateHashMapImpl< AllocationPolicy > && other)
inline

Definition at line 513 of file hashmap.h.


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