1 #ifndef _GEMFIRE_HASHSETOFSHAREDBASE_HPP_ 2 #define _GEMFIRE_HASHSETOFSHAREDBASE_HPP_ 13 #include "gfcpp_globals.hpp" 17 #include <unordered_set> 28 typedef std::unordered_set< SharedBasePtr, HashSB, EqualToSB > HSofSBP;
29 typedef HSofSBP::const_iterator HSofSBPIterator;
32 class HSofSBPIterator;
42 HSofSBP* m_stdHashSet;
56 HSofSBPIterator* m_iter;
58 Iterator(
const HSofSBPIterator& iter,
75 void operator ++ (
int );
77 bool operator == (
const Iterator& other )
const;
79 bool operator != (
const Iterator& other )
const;
94 int32_t size( )
const;
97 int32_t max_size( )
const;
103 int32_t bucket_count( )
const;
106 void resize( int32_t n );
bool(* EqualTo)(const SharedBasePtr &, const SharedBasePtr &)
typedef for the hashing key equality function.
Definition: HashFunction.hpp:28
This namespace contains all the GemFire C++ API classes, enumerations and globals.
Definition: Assert.hpp:19
int32_t(* Hasher)(const SharedBasePtr &)
typedef for the hash function used by the hashing schemes.
Definition: HashFunction.hpp:25
Interface of an iterator for HashSetOfSharedBase.
Definition: HashSetOfSharedBase.hpp:51
#define CPPCACHE_EXPORT
Defines a GemFire CPPCACHE export.
Definition: gf_base.hpp:51
Represents a HashSet of SharedBase
Definition: HashSetOfSharedBase.hpp:38
Defines a reference counted shared pointer.
Definition: SharedPtr.hpp:35