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

Constructor & Destructor Documentation

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

Definition at line 74 of file GlobalHashSet.hpp.

Member Function Documentation

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

Definition at line 79 of file GlobalHashSet.hpp.

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

Definition at line 81 of file GlobalHashSet.hpp.

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

Definition at line 88 of file GlobalHashSet.hpp.

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

Definition at line 83 of file GlobalHashSet.hpp.

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

Definition at line 94 of file GlobalHashSet.hpp.

Member Data Documentation

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

Definition at line 71 of file GlobalHashSet.hpp.

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

Definition at line 68 of file GlobalHashSet.hpp.

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

Definition at line 72 of file GlobalHashSet.hpp.

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

Definition at line 70 of file GlobalHashSet.hpp.


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