rippled
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Types | Private Member Functions | List of all members
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t Class Reference
Inheritance diagram for beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t:
Inheritance graph
[legend]
Collaboration diagram for beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t:
Collaboration graph
[legend]

Public Member Functions

 config_t (clock_type &clock_)
 
 config_t (clock_type &clock_, Hash const &hash)
 
 config_t (clock_type &clock_, KeyEqual const &keyEqual)
 
 config_t (clock_type &clock_, Allocator const &alloc_)
 
 config_t (clock_type &clock_, Hash const &hash, KeyEqual const &keyEqual)
 
 config_t (clock_type &clock_, Hash const &hash, Allocator const &alloc_)
 
 config_t (clock_type &clock_, KeyEqual const &keyEqual, Allocator const &alloc_)
 
 config_t (clock_type &clock_, Hash const &hash, KeyEqual const &keyEqual, Allocator const &alloc_)
 
 config_t (config_t const &other)
 
 config_t (config_t const &other, Allocator const &alloc)
 
 config_t (config_t &&other)
 
 config_t (config_t &&other, Allocator const &alloc)
 
config_toperator= (config_t const &other)
 
config_toperator= (config_t &&other)
 
ValueHashvalue_hash ()
 
ValueHash const & value_hash () const
 
Hash & hash_function ()
 
Hash const & hash_function () const
 
KeyValueEqualkey_value_equal ()
 
KeyValueEqual const & key_value_equal () const
 
KeyEqual & key_eq ()
 
KeyEqual const & key_eq () const
 
ElementAllocatoralloc ()
 
ElementAllocator const & alloc () const
 

Public Attributes

std::reference_wrapper< clock_typeclock
 

Private Types

using argument_type = element
 
using result_type = size_t
 
using first_argument_type = Key
 
using second_argument_type = element
 
using result_type = bool
 

Private Member Functions

std::size_t operator() (element const &e) const
 
bool operator() (Key const &k, element const &e) const
 
bool operator() (element const &e, Key const &k) const
 
bool operator() (element const &lhs, element const &rhs) const
 
ElementAllocatormember () noexcept
 
ElementAllocator const & member () const noexcept
 

Detailed Description

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
class beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t

Definition at line 246 of file aged_unordered_container.h.

Member Typedef Documentation

◆ argument_type

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
using beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ValueHash::argument_type = element
inherited

Definition at line 137 of file aged_unordered_container.h.

◆ result_type [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
using beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ValueHash::result_type = size_t
inherited

Definition at line 138 of file aged_unordered_container.h.

◆ first_argument_type

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
using beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::first_argument_type = Key
inherited

Definition at line 172 of file aged_unordered_container.h.

◆ second_argument_type

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
using beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::second_argument_type = element
inherited

Definition at line 173 of file aged_unordered_container.h.

◆ result_type [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
using beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::result_type = bool
inherited

Definition at line 174 of file aged_unordered_container.h.

Constructor & Destructor Documentation

◆ config_t() [1/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_)
explicit

Definition at line 252 of file aged_unordered_container.h.

◆ config_t() [2/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
Hash const &  hash 
)

Definition at line 256 of file aged_unordered_container.h.

◆ config_t() [3/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
KeyEqual const &  keyEqual 
)

Definition at line 261 of file aged_unordered_container.h.

◆ config_t() [4/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
Allocator const &  alloc_ 
)

Definition at line 266 of file aged_unordered_container.h.

◆ config_t() [5/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
Hash const &  hash,
KeyEqual const &  keyEqual 
)

Definition at line 272 of file aged_unordered_container.h.

◆ config_t() [6/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
Hash const &  hash,
Allocator const &  alloc_ 
)

Definition at line 277 of file aged_unordered_container.h.

◆ config_t() [7/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
KeyEqual const &  keyEqual,
Allocator const &  alloc_ 
)

Definition at line 284 of file aged_unordered_container.h.

◆ config_t() [8/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( clock_type clock_,
Hash const &  hash,
KeyEqual const &  keyEqual,
Allocator const &  alloc_ 
)

Definition at line 294 of file aged_unordered_container.h.

◆ config_t() [9/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( config_t const &  other)

Definition at line 306 of file aged_unordered_container.h.

◆ config_t() [10/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( config_t const &  other,
Allocator const &  alloc 
)

Definition at line 316 of file aged_unordered_container.h.

◆ config_t() [11/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( config_t &&  other)

Definition at line 324 of file aged_unordered_container.h.

◆ config_t() [12/12]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::config_t ( config_t &&  other,
Allocator const &  alloc 
)

Definition at line 333 of file aged_unordered_container.h.

Member Function Documentation

◆ operator=() [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
config_t & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::operator= ( config_t const &  other)

Definition at line 342 of file aged_unordered_container.h.

◆ operator=() [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
config_t & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::operator= ( config_t &&  other)

Definition at line 352 of file aged_unordered_container.h.

◆ value_hash() [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
ValueHash & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::value_hash ( )

Definition at line 362 of file aged_unordered_container.h.

◆ value_hash() [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
ValueHash const & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::value_hash ( ) const

Definition at line 368 of file aged_unordered_container.h.

◆ hash_function() [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
Hash & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::hash_function ( )

Definition at line 374 of file aged_unordered_container.h.

◆ hash_function() [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
Hash const & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::hash_function ( ) const

Definition at line 380 of file aged_unordered_container.h.

◆ key_value_equal() [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
KeyValueEqual & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::key_value_equal ( )

Definition at line 386 of file aged_unordered_container.h.

◆ key_value_equal() [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
KeyValueEqual const & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::key_value_equal ( ) const

Definition at line 392 of file aged_unordered_container.h.

◆ key_eq() [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
KeyEqual & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::key_eq ( )

Definition at line 398 of file aged_unordered_container.h.

◆ key_eq() [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
KeyEqual const & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::key_eq ( ) const

Definition at line 404 of file aged_unordered_container.h.

◆ alloc() [1/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
ElementAllocator & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::alloc ( )

Definition at line 410 of file aged_unordered_container.h.

◆ alloc() [2/2]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
ElementAllocator const & beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::alloc ( ) const

Definition at line 417 of file aged_unordered_container.h.

◆ operator()() [1/4]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
std::size_t beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ValueHash::operator() ( element const &  e) const
inherited

Definition at line 149 of file aged_unordered_container.h.

◆ operator()() [2/4]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
bool beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::operator() ( Key const &  k,
element const &  e 
) const
inherited

Definition at line 185 of file aged_unordered_container.h.

◆ operator()() [3/4]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
bool beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::operator() ( element const &  e,
Key const &  k 
) const
inherited

Definition at line 191 of file aged_unordered_container.h.

◆ operator()() [4/4]

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
bool beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::operator() ( element const &  lhs,
element const &  rhs 
) const
inherited

Definition at line 197 of file aged_unordered_container.h.

◆ member() [1/2]

Definition at line 48 of file empty_base_optimization.h.

◆ member() [2/2]

Definition at line 54 of file empty_base_optimization.h.

Member Data Documentation

◆ clock

template<bool IsMulti, bool IsMap, class Key , class T , class Clock = std::chrono::steady_clock, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator< typename std::conditional<IsMap, std::pair<Key const, T>, Key>::type>>
std::reference_wrapper<clock_type> beast::detail::aged_unordered_container< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::config_t::clock

Definition at line 423 of file aged_unordered_container.h.