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

#include <GlobalHashSet.hpp>

Public Member Functions

 Proxy (GlobalHashSet *owner)
 
void clear ()
 
Proxyclone_fresh ()
 
bool is_full ()
 
void insert (const K &newk)
 
void sync ()
 

Public Attributes

GlobalHashSetowner
 
std::unordered_set< K > keys_to_insert
 
std::unordered_map< K, ResultEntry * > lookups
 

Static Public Attributes

static const size_t LOCAL_HASH_SIZE = 1<<10
 

Detailed Description

template<typename K>
struct Grappa::GlobalHashSet< K >::Proxy

Definition at line 78 of file GlobalHashSet.hpp.

Constructor & Destructor Documentation

template<typename K >
Grappa::GlobalHashSet< K >::Proxy::Proxy ( GlobalHashSet owner)
inline

Definition at line 85 of file GlobalHashSet.hpp.

Member Function Documentation

template<typename K >
void Grappa::GlobalHashSet< K >::Proxy::clear ( )
inline

Definition at line 90 of file GlobalHashSet.hpp.

template<typename K >
Proxy* Grappa::GlobalHashSet< K >::Proxy::clone_fresh ( )
inline

Definition at line 92 of file GlobalHashSet.hpp.

template<typename K >
void Grappa::GlobalHashSet< K >::Proxy::insert ( const K &  newk)
inline

Definition at line 99 of file GlobalHashSet.hpp.

template<typename K >
bool Grappa::GlobalHashSet< K >::Proxy::is_full ( )
inline

Definition at line 94 of file GlobalHashSet.hpp.

template<typename K >
void Grappa::GlobalHashSet< K >::Proxy::sync ( )
inline

Definition at line 105 of file GlobalHashSet.hpp.

Member Data Documentation

template<typename K >
std::unordered_set<K> Grappa::GlobalHashSet< K >::Proxy::keys_to_insert

Definition at line 82 of file GlobalHashSet.hpp.

template<typename K >
const size_t Grappa::GlobalHashSet< K >::Proxy::LOCAL_HASH_SIZE = 1<<10
static

Definition at line 79 of file GlobalHashSet.hpp.

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

Definition at line 83 of file GlobalHashSet.hpp.

template<typename K >
GlobalHashSet* Grappa::GlobalHashSet< K >::Proxy::owner

Definition at line 81 of file GlobalHashSet.hpp.


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