Skip to main content

SleepyDiscord::ServerCache

Inherits from SleepyDiscord::Cache< Server >, CacheParent< _Type >

inherited members​

Public Classes inherited from SleepyDiscord::Cache< Server >

Name
classconst_iterator
classiterator

Public Types inherited from SleepyDiscord::Cache< Server >

Name
using _TypeType
using CacheParent< _Type >Parent
using typename Snowflake< Type >::RawTypeKey

Public Functions inherited from SleepyDiscord::Cache< Server >

Name
Cache()
Cache(Parent map)
template <class InputIterator >
Cache(InputIterator first, InputIterator last)
iteratorbegin()
iteratorend()
const_iteratorbegin() const
const_iteratorend() const
template <class Container ,class Object >
const_iterator
findOneWithObject(Container Type::* list, const Snowflake< Object > & objectID)
std::pair< iterator, bool >insert(Type & value)
template <class... Args>
std::pair< iterator, bool >
emplace(const json::Value & value)
iteratorfind(const Key & key)
const_iteratorfind(const Key & key) const
iteratorerase(const_iterator pos)
iteratorerase(const_iterator first, const_iterator last)

Public Functions Documentation​

function ServerCache​

inline ServerCache()

function ServerCache​

inline ServerCache(
Cache< Server > list
)

function findSeverWith​

inline const_iterator findSeverWith(
const Snowflake< Channel > & channelID
)

function findServerWith​

inline const_iterator findServerWith(
const Snowflake< Role > roleID
)

function findServer​

inline iterator findServer(
const Snowflake< Server > serverID
)

Updated on 13 April 2022 at 18:39:59 UTC