BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred > Class Template Reference

#include <node_impl.hxx>

Inheritance diagram for graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >:

Public Member Functions

fc::mutexget_mutex () const
 
std::pair< typename std::unordered_set< Key, Hash, Pred >::iterator, bool > emplace (Key key)
 
std::pair< typename std::unordered_set< Key, Hash, Pred >::iterator, bool > insert (const Key &val)
 
size_t size () const
 
bool empty () const noexcept
 
void clear () noexcept
 
std::unordered_set< Key, Hash, Pred >::iterator erase (typename std::unordered_set< Key, Hash, Pred >::const_iterator itr)
 
size_t erase (const Key &key)
 
std::unordered_set< Key, Hash, Pred >::iterator begin () noexcept
 
std::unordered_set< Key, Hash, Pred >::const_iterator begin () const noexcept
 
std::unordered_set< Key, Hash, Pred >::local_iterator begin (size_t n)
 
std::unordered_set< Key, Hash, Pred >::const_local_iterator begin (size_t n) const
 
std::unordered_set< Key, Hash, Pred >::iterator end () noexcept
 
std::unordered_set< Key, Hash, Pred >::const_iterator end () const noexcept
 
std::unordered_set< Key, Hash, Pred >::local_iterator end (size_t n)
 
std::unordered_set< Key, Hash, Pred >::const_local_iterator end (size_t n) const
 
std::unordered_set< Key, Hash, Pred >::const_iterator find (Key key)
 

Detailed Description

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
class graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >

Definition at line 19 of file node_impl.hxx.

Member Function Documentation

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::begin ( )
inlinenoexcept

Definition at line 68 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::const_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::begin ( ) const
inlinenoexcept

Definition at line 73 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::local_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::begin ( size_t  n)
inline

Definition at line 78 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::const_local_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::begin ( size_t  n) const
inline

Definition at line 83 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
void graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::clear ( )
inlinenoexcept

Definition at line 51 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::pair< typename std::unordered_set<Key, Hash, Pred>::iterator, bool> graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::emplace ( Key  key)
inline

Definition at line 29 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
bool graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::empty ( ) const
inlinenoexcept

Definition at line 45 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::end ( )
inlinenoexcept

Definition at line 88 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::const_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::end ( ) const
inlinenoexcept

Definition at line 93 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::local_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::end ( size_t  n)
inline

Definition at line 98 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::const_local_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::end ( size_t  n) const
inline

Definition at line 103 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::erase ( typename std::unordered_set< Key, Hash, Pred >::const_iterator  itr)
inline

Definition at line 56 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
size_t graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::erase ( const Key &  key)
inline

Definition at line 62 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::unordered_set<Key, Hash, Pred>::const_iterator graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::find ( Key  key)
inline

Definition at line 109 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
fc::mutex& graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::get_mutex ( ) const
inline

Definition at line 26 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
std::pair< typename std::unordered_set<Key, Hash, Pred>::iterator, bool> graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::insert ( const Key &  val)
inline

Definition at line 34 of file node_impl.hxx.

template<class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key>>
size_t graphene::net::detail::concurrent_unordered_set< Key, Hash, Pred >::size ( ) const
inline

Definition at line 40 of file node_impl.hxx.


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