SleepyDiscord::ServerCache
Inherits from SleepyDiscord::Cache< Server >, CacheParent< _Type >
inherited members​
Public Classes inherited from SleepyDiscord::Cache< Server >
Name | |
---|---|
class | const_iterator |
class | iterator |
Public Types inherited from SleepyDiscord::Cache< Server >
Name | |
---|---|
using _Type | Type |
using CacheParent< _Type > | Parent |
using typename Snowflake< Type >::RawType | Key |
Public Functions inherited from SleepyDiscord::Cache< Server >
Name | |
---|---|
Cache() | |
Cache(Parent map) | |
template <class InputIterator > | Cache(InputIterator first, InputIterator last) |
iterator | begin() |
iterator | end() |
const_iterator | begin() const |
const_iterator | end() 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) |
iterator | find(const Key & key) |
const_iterator | find(const Key & key) const |
iterator | erase(const_iterator pos) |
iterator | erase(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