xrpld
Loading...
Searching...
No Matches
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT Class Reference
Inheritance diagram for beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT:
Collaboration diagram for beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT:

Public Member Functions

 ConfigT (clock_type &clock)
 ConfigT (clock_type &clock, Hash const &hash)
 ConfigT (clock_type &clock, KeyEqual const &keyEqual)
 ConfigT (clock_type &clock, Allocator const &alloc)
 ConfigT (clock_type &clock, Hash const &hash, KeyEqual const &keyEqual)
 ConfigT (clock_type &clock, Hash const &hash, Allocator const &alloc)
 ConfigT (clock_type &clock, KeyEqual const &keyEqual, Allocator const &alloc)
 ConfigT (clock_type &clock, Hash const &hash, KeyEqual const &keyEqual, Allocator const &alloc)
 ConfigT (ConfigT const &other)
 ConfigT (ConfigT const &other, Allocator const &alloc)
 ConfigT (ConfigT &&other)
 ConfigT (ConfigT &&other, Allocator const &alloc)
ConfigToperator= (ConfigT const &other)
ConfigToperator= (ConfigT &&other)
ValueHashvalueHash ()
ValueHash const & valueHash () const
Hash & hashFunction ()
Hash const & hashFunction () const
KeyValueEqualkeyValueEqual ()
KeyValueEqual const & keyValueEqual () const
KeyEqual & keyEq ()
KeyEqual const & keyEq () 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

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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
class beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT

Definition at line 233 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ValueHash::argument_type = Element
inherited

Definition at line 130 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ValueHash::result_type = size_t
inherited

Definition at line 131 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::first_argument_type = Key
inherited

Definition at line 163 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::second_argument_type = Element
inherited

Definition at line 164 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::result_type = bool
inherited

Definition at line 165 of file aged_unordered_container.h.

Constructor & Destructor Documentation

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock)
explicit

Definition at line 238 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Hash const & hash )

Definition at line 242 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
KeyEqual const & keyEqual )

Definition at line 246 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Allocator const & alloc )

Definition at line 250 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Hash const & hash,
KeyEqual const & keyEqual )

Definition at line 255 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Hash const & hash,
Allocator const & alloc )

Definition at line 260 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
KeyEqual const & keyEqual,
Allocator const & alloc )

Definition at line 267 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Hash const & hash,
KeyEqual const & keyEqual,
Allocator const & alloc )

Definition at line 274 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( ConfigT const & other)

Definition at line 286 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( ConfigT const & other,
Allocator const & alloc )

Definition at line 295 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( ConfigT && other)

Definition at line 303 of file aged_unordered_container.h.

◆ ConfigT() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::ConfigT ( ConfigT && other,
Allocator const & alloc )

Definition at line 311 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ConfigT & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::operator= ( ConfigT const & other)

Definition at line 322 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ConfigT & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::operator= ( ConfigT && other)

Definition at line 332 of file aged_unordered_container.h.

◆ valueHash() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ValueHash & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::valueHash ( )

Definition at line 342 of file aged_unordered_container.h.

◆ valueHash() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ValueHash const & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::valueHash ( ) const
nodiscard

Definition at line 348 of file aged_unordered_container.h.

◆ hashFunction() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
Hash & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::hashFunction ( )

Definition at line 354 of file aged_unordered_container.h.

◆ hashFunction() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
Hash const & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::hashFunction ( ) const
nodiscard

Definition at line 360 of file aged_unordered_container.h.

◆ keyValueEqual() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
KeyValueEqual & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::keyValueEqual ( )

Definition at line 366 of file aged_unordered_container.h.

◆ keyValueEqual() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
KeyValueEqual const & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::keyValueEqual ( ) const
nodiscard

Definition at line 372 of file aged_unordered_container.h.

◆ keyEq() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
KeyEqual & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::keyEq ( )

Definition at line 378 of file aged_unordered_container.h.

◆ keyEq() [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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
KeyEqual const & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::keyEq ( ) const
nodiscard

Definition at line 384 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ElementAllocator & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::alloc ( )

Definition at line 390 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ElementAllocator const & beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::alloc ( ) const
nodiscard

Definition at line 396 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
std::size_t beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ValueHash::operator() ( Element const & e) const
inherited

Definition at line 140 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
bool beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::operator() ( Key const & k,
Element const & e ) const
inherited

Definition at line 174 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
bool beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::operator() ( Element const & e,
Key const & k ) const
inherited

Definition at line 180 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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
bool beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::KeyValueEqual::operator() ( Element const & lhs,
Element const & rhs ) const
inherited

Definition at line 186 of file aged_unordered_container.h.

◆ member()

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<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
std::reference_wrapper<clock_type> beast::detail::AgedUnorderedContainer< IsMulti, IsMap, Key, T, Clock, Hash, KeyEqual, Allocator >::ConfigT::clock

Definition at line 401 of file aged_unordered_container.h.