![]() |
TrinityCore
|
Namespaces | |
| namespace | Impl |
Classes | |
| class | FlatSet |
Functions | |
| template<class M > | |
| auto | MapGetValuePtr (M &map, typename M::key_type const &key) |
| template<class K , class V , template< class, class, class... > class M, class... Rest> | |
| void | MultimapErasePair (M< K, V, Rest... > &multimap, K const &key, V const &value) |
| template<class C > | |
| void | RandomResize (C &container, std::size_t requestedSize) |
| template<class C , class Predicate > | |
| void | RandomResize (C &container, Predicate &&predicate, std::size_t requestedSize) |
| template<class C > | |
| auto | SelectRandomContainerElement (C const &container) -> typename std::add_const< decltype(*std::begin(container))>::type & |
| template<class C > | |
| auto | SelectRandomWeightedContainerElement (C const &container, std::vector< double > weights) -> decltype(std::begin(container)) |
| template<class C , class Fn > | |
| auto | SelectRandomWeightedContainerElement (C const &container, Fn weightExtractor) -> decltype(std::begin(container)) |
| template<class C > | |
| void | RandomShuffle (C &container) |
| Reorder the elements of the container randomly. | |
| template<class Iterator1 , class Iterator2 > | |
| bool | Intersects (Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2) |
| template<typename Container , typename Predicate > | |
| void | EraseIf (Container &c, Predicate p) |
| template<typename Container , typename NeedleContainer , typename ContainsOperator = bool(std::string const&, std::string const&), typename T = void> | |
| auto | FuzzyFindIn (Container const &container, NeedleContainer const &needles, ContainsOperator const &contains=StringContainsStringI, int(*bonus)(decltype((*std::begin(std::declval< Container >()))))=nullptr) |
| template<typename iterator , class end_iterator = iterator> | |
| constexpr IteratorPair< iterator, end_iterator > | MakeIteratorPair (iterator first, end_iterator second) |
| template<typename iterator , class end_iterator = iterator> | |
| constexpr IteratorPair< iterator, end_iterator > | MakeIteratorPair (std::pair< iterator, end_iterator > iterators) |
| template<class M > | |
| auto | MapEqualRange (M &map, typename M::key_type const &key) |
|
private |
Definition at line 231 of file Containers.h.
Here is the call graph for this function:
Here is the caller graph for this function:| auto Trinity::Containers::FuzzyFindIn | ( | Container const & | container, |
| NeedleContainer const & | needles, | ||
| ContainsOperator const & | contains = StringContainsStringI, |
||
| int(*)(decltype((*std::begin(std::declval< Container >())))) | bonus = nullptr |
||
| ) |
Definition at line 30 of file FuzzyFind.h.
|
private |
Definition at line 184 of file Containers.h.
|
constexprprivate |
|
constexprprivate |
Definition at line 55 of file IteratorPair.h.
|
private |
Definition at line 61 of file IteratorPair.h.
Here is the call graph for this function:
Here is the caller graph for this function:| auto Trinity::Containers::MapGetValuePtr | ( | M & | map, |
| typename M::key_type const & | key | ||
| ) |
Returns a pointer to mapped value (or the value itself if map stores pointers)
Definition at line 29 of file MapUtils.h.
Here is the caller graph for this function:| void Trinity::Containers::MultimapErasePair | ( | M< K, V, Rest... > & | multimap, |
| K const & | key, | ||
| V const & | value | ||
| ) |
|
private |
First use predicate filter
Definition at line 90 of file Containers.h.
Here is the call graph for this function:
|
private |
Definition at line 66 of file Containers.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Reorder the elements of the container randomly.
| container | Container to reorder |
Definition at line 166 of file Containers.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlineprivate |
Definition at line 108 of file Containers.h.
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
|
inlineprivate |
Definition at line 125 of file Containers.h.
Here is the call graph for this function:
Here is the caller graph for this function: