Grappa  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 86 of file GlobalHashMap.hpp.

Constructor & Destructor Documentation

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

Definition at line 93 of file GlobalHashMap.hpp.

Member Function Documentation

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

Definition at line 100 of file GlobalHashMap.hpp.

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

Definition at line 102 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 109 of file GlobalHashMap.hpp.

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

Definition at line 104 of file GlobalHashMap.hpp.

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

Definition at line 115 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 87 of file GlobalHashMap.hpp.

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

Definition at line 91 of file GlobalHashMap.hpp.

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

Definition at line 90 of file GlobalHashMap.hpp.

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

Definition at line 89 of file GlobalHashMap.hpp.


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