SleepyDiscord::Cache
Inherits from CacheParent< _Type >
Detailed Description​
template <class _Type >
struct SleepyDiscord::Cache;
Public Types Documentation​
using Type​
using SleepyDiscord::Cache< _Type >::Type = _Type;
using Parent​
using SleepyDiscord::Cache< _Type >::Parent = CacheParent<_Type>;
using Key​
using SleepyDiscord::Cache< _Type >::Key = typename Snowflake<Type>::RawType;
Public Functions Documentation​
function Cache​
inline Cache()
function Cache​
inline Cache(
Parent map
)
function Cache​
template <class InputIterator >
inline Cache(
InputIterator first,
InputIterator last
)
function begin​
inline iterator begin()
function end​
inline iterator end()
function begin​
inline const_iterator begin() const
function end​
inline const_iterator end() const
function findOneWithObject​
template <class Container ,
class Object >
inline const_iterator findOneWithObject(
Container Type::* list,
const Snowflake< Object > & objectID
)
function insert​
inline std::pair< iterator, bool > insert(
Type & value
)
function emplace​
template <class... Args>
inline std::pair< iterator, bool > emplace(
const json::Value & value
)
function find​
inline iterator find(
const Key & key
)
function find​
inline const_iterator find(
const Key & key
) const
function erase​
inline iterator erase(
const_iterator pos
)
function erase​
inline iterator erase(
const_iterator first,
const_iterator last
)
Updated on 13 April 2022 at 18:39:59 UTC