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

Public Member Functions

 ConfigT (clock_type &clock)
 ConfigT (clock_type &clock, Compare const &comp)
 ConfigT (clock_type &clock, Allocator const &alloc)
 ConfigT (clock_type &clock, Compare const &comp, 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)
Compare & compare ()
Compare const & compare () const
KeyValueComparekeyCompare ()
KeyValueCompare const & keyCompare () const
ElementAllocatoralloc ()
ElementAllocator const & alloc () const
ElementAllocatormember () noexcept

Public Attributes

std::reference_wrapper< clock_typeclock

Private Types

using first_argument = Key
using second_argument = Element
using result_type = bool

Private Member Functions

bool operator() (Key const &k, Element const &e) const
bool operator() (Element const &e, Key const &k) const
bool operator() (Element const &x, Element const &y) const

Detailed Description

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
class beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT

Definition at line 213 of file aged_ordered_container.h.

Member Typedef Documentation

◆ first_argument

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::KeyValueCompare::first_argument = Key
inherited

Definition at line 154 of file aged_ordered_container.h.

◆ second_argument

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::KeyValueCompare::second_argument = Element
inherited

Definition at line 155 of file aged_ordered_container.h.

◆ result_type

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
using beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::KeyValueCompare::result_type = bool
inherited

Definition at line 156 of file aged_ordered_container.h.

Constructor & Destructor Documentation

◆ ConfigT() [1/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( clock_type & clock)
explicit

Definition at line 217 of file aged_ordered_container.h.

◆ ConfigT() [2/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Compare const & comp )

Definition at line 221 of file aged_ordered_container.h.

◆ ConfigT() [3/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Allocator const & alloc )

Definition at line 225 of file aged_ordered_container.h.

◆ ConfigT() [4/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( clock_type & clock,
Compare const & comp,
Allocator const & alloc )

Definition at line 230 of file aged_ordered_container.h.

◆ ConfigT() [5/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( ConfigT const & other)

Definition at line 237 of file aged_ordered_container.h.

◆ ConfigT() [6/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( ConfigT const & other,
Allocator const & alloc )

Definition at line 245 of file aged_ordered_container.h.

◆ ConfigT() [7/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( ConfigT && other)

Definition at line 252 of file aged_ordered_container.h.

◆ ConfigT() [8/8]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::ConfigT ( ConfigT && other,
Allocator const & alloc )

Definition at line 260 of file aged_ordered_container.h.

Member Function Documentation

◆ operator=() [1/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ConfigT & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::operator= ( ConfigT const & other)

Definition at line 270 of file aged_ordered_container.h.

◆ operator=() [2/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ConfigT & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::operator= ( ConfigT && other)

Definition at line 282 of file aged_ordered_container.h.

◆ compare() [1/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
Compare & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::compare ( )

Definition at line 291 of file aged_ordered_container.h.

◆ compare() [2/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
Compare const & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::compare ( ) const
nodiscard

Definition at line 297 of file aged_ordered_container.h.

◆ keyCompare() [1/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
KeyValueCompare & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::keyCompare ( )

Definition at line 303 of file aged_ordered_container.h.

◆ keyCompare() [2/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
KeyValueCompare const & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::keyCompare ( ) const
nodiscard

Definition at line 309 of file aged_ordered_container.h.

◆ alloc() [1/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ElementAllocator & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::alloc ( )

Definition at line 315 of file aged_ordered_container.h.

◆ alloc() [2/2]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
ElementAllocator const & beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::alloc ( ) const
nodiscard

Definition at line 321 of file aged_ordered_container.h.

◆ operator()() [1/3]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
bool beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::KeyValueCompare::operator() ( Key const & k,
Element const & e ) const
inherited

Definition at line 165 of file aged_ordered_container.h.

◆ operator()() [2/3]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
bool beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::KeyValueCompare::operator() ( Element const & e,
Key const & k ) const
inherited

Definition at line 171 of file aged_ordered_container.h.

◆ operator()() [3/3]

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
bool beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::KeyValueCompare::operator() ( Element const & x,
Element const & y ) const
inherited

Definition at line 177 of file aged_ordered_container.h.

◆ member()

Member Data Documentation

◆ clock

template<bool IsMulti, bool IsMap, class Key, class T, class Clock = std::chrono::steady_clock, class Compare = std::less<Key>, class Allocator = std::allocator<std::conditional_t<IsMap, std::pair<Key const, T>, Key>>>
std::reference_wrapper<clock_type> beast::detail::AgedOrderedContainer< IsMulti, IsMap, Key, T, Clock, Compare, Allocator >::ConfigT::clock

Definition at line 326 of file aged_ordered_container.h.