rippled
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 263 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 154 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 155 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 189 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 190 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 191 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 269 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 273 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 278 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 283 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 289 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 294 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 301 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 311 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 323 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 333 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 341 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 350 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 359 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 369 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 379 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 385 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 391 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 397 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 403 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 409 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 415 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 421 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 427 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 434 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 166 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 202 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 208 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 214 of file aged_unordered_container.h.

◆ member() [1/2]

Definition at line 50 of file empty_base_optimization.h.

◆ member() [2/2]

Definition at line 56 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 440 of file aged_unordered_container.h.