TrinityCore
|
Functions | |
template<class T > | |
void | RandomResizeList (std::list< T > &list, uint32 size) |
template<class T , class Predicate > | |
void | RandomResizeList (std::list< T > &list, Predicate &predicate, uint32 size) |
template<class C > | |
C::value_type const & | SelectRandomContainerElement (C const &container) |
template<class C > | |
C::const_iterator | SelectRandomWeightedContainerElement (C const &container, std::vector< double > weights) |
template<class C , class Fn > | |
C::const_iterator | SelectRandomWeightedContainerElement (C const &container, Fn weightExtractor) |
template<class Iterator1 , class Iterator2 > | |
bool | Intersects (Iterator1 first1, Iterator1 last1, Iterator2 first2, Iterator2 last2) |
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) |
bool Trinity::Containers::Intersects | ( | Iterator1 | first1, |
Iterator1 | last1, | ||
Iterator2 | first2, | ||
Iterator2 | last2 | ||
) |
void Trinity::Containers::MultimapErasePair | ( | M< K, V, Rest...> & | multimap, |
K const & | key, | ||
V const & | value | ||
) |
void Trinity::Containers::RandomResizeList | ( | std::list< T > & | list, |
uint32 | size | ||
) |
void Trinity::Containers::RandomResizeList | ( | std::list< T > & | list, |
Predicate & | predicate, | ||
uint32 | size | ||
) |
First use predicate filter
C::value_type const& Trinity::Containers::SelectRandomContainerElement | ( | C const & | container | ) |
C::const_iterator Trinity::Containers::SelectRandomWeightedContainerElement | ( | C const & | container, |
std::vector< double > | weights | ||
) |
C::const_iterator Trinity::Containers::SelectRandomWeightedContainerElement | ( | C const & | container, |
Fn | weightExtractor | ||
) |