Grappa  r3821, hash 22cd626d567a91ead5b23302066d1e9469f45c66
Grappa::GlobalHashMap< K, V >::Proxy Struct Reference

#include <GlobalHashMap.hpp>

Public Member Functions

 Proxy (GlobalHashMap *owner)
 
void clear ()
 
Proxyclone_fresh ()
 
bool is_full ()
 
void insert (const K &newk, const V &newv)
 
void sync ()
 

Public Attributes

GlobalHashMapowner
 
std::unordered_map< K, V > map
 
std::unordered_map< K, ResultEntry * > lookups
 

Static Public Attributes

static const size_t LOCAL_HASH_SIZE = 1<<10
 

Detailed Description

template<typename K, typename V>
struct Grappa::GlobalHashMap< K, V >::Proxy

Definition at line 97 of file GlobalHashMap.hpp.

Constructor & Destructor Documentation

template<typename K , typename V >
Grappa::GlobalHashMap< K, V >::Proxy::Proxy ( GlobalHashMap owner)
inline

Definition at line 104 of file GlobalHashMap.hpp.

Member Function Documentation

template<typename K , typename V >
void Grappa::GlobalHashMap< K, V >::Proxy::clear ( )
inline

Definition at line 111 of file GlobalHashMap.hpp.

template<typename K , typename V >
Proxy* Grappa::GlobalHashMap< K, V >::Proxy::clone_fresh ( )
inline

Definition at line 113 of file GlobalHashMap.hpp.

template<typename K , typename V >
void Grappa::GlobalHashMap< K, V >::Proxy::insert ( const K &  newk,
const V &  newv 
)
inline

Definition at line 120 of file GlobalHashMap.hpp.

template<typename K , typename V >
bool Grappa::GlobalHashMap< K, V >::Proxy::is_full ( )
inline

Definition at line 115 of file GlobalHashMap.hpp.

template<typename K , typename V >
void Grappa::GlobalHashMap< K, V >::Proxy::sync ( )
inline

Definition at line 126 of file GlobalHashMap.hpp.

Member Data Documentation

template<typename K , typename V >
const size_t Grappa::GlobalHashMap< K, V >::Proxy::LOCAL_HASH_SIZE = 1<<10
static

Definition at line 98 of file GlobalHashMap.hpp.

template<typename K , typename V >
std::unordered_map<K,ResultEntry*> Grappa::GlobalHashMap< K, V >::Proxy::lookups

Definition at line 102 of file GlobalHashMap.hpp.

template<typename K , typename V >
std::unordered_map<K,V> Grappa::GlobalHashMap< K, V >::Proxy::map

Definition at line 101 of file GlobalHashMap.hpp.

template<typename K , typename V >
GlobalHashMap* Grappa::GlobalHashMap< K, V >::Proxy::owner

Definition at line 100 of file GlobalHashMap.hpp.


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