![]() |
TrinityCore
|
#include <FlatSet.h>
Public Types | |
| using | iterator = typename KeyContainer::iterator |
| using | const_iterator = typename KeyContainer::const_iterator |
Public Member Functions | |
| bool | empty () const |
| auto | size () const |
| auto | begin () |
| auto | begin () const |
| auto | end () |
| auto | end () const |
| bool | contains (Key const &value) const |
| auto | find (Key const &value) const |
| auto | find (Key const &value) |
| template<class... Args> | |
| std::pair< iterator, bool > | emplace (Args &&... args) |
| std::pair< iterator, bool > | insert (Key const &key) |
| std::size_t | erase (Key const &key) |
| auto | erase (const_iterator itr) |
| void | clear () |
| void | shrink_to_fit () |
Private Attributes | |
| KeyContainer | _storage |
Friends | |
| std::strong_ordering | operator<=> (FlatSet const &left, FlatSet const &right)=default |
| bool | operator== (FlatSet const &left, FlatSet const &right)=default |
| using Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::const_iterator = typename KeyContainer::const_iterator |
| using Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::iterator = typename KeyContainer::iterator |
|
inline |
Definition at line 36 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
Referenced by PhaseShift::CanSee(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::contains(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::emplace(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find(), PhasingHandler::OnConditionChange(), and boss_volazj::SummonedCreatureDespawn().
|
inline |
Definition at line 37 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
|
inline |
Definition at line 95 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
Referenced by Player::_SavePlayerData(), and UpdateData::Clear().
|
inline |
Definition at line 42 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::begin(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end().
Referenced by CollectionMgr::HasTransmogOutfit().
|
inline |
Definition at line 70 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage, Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::begin(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end().
Referenced by Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::insert(), and ObjectMgr::LoadPlayerInfo().
|
inline |
Definition at line 33 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
Referenced by SpellInfo::_LoadImmunityInfo(), UpdateData::BuildPacket(), UpdateData::HasData(), PhasingHandler::InitDbPhaseShift(), PhasingHandler::OnConditionChange(), PhasingHandler::PrintToChat(), and boss_volazj::SummonedCreatureDespawn().
|
inline |
Definition at line 39 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
Referenced by Player::AddSpellMod(), PhaseShift::CanSee(), SpellInfo::CanSpellEffectProvideImmunityAgainstAuraEffect(), SpellInfo::CanSpellProvideImmunityAgainstAura(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::contains(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::emplace(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::erase(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find(), Player::GetSpellModValues(), and PhasingHandler::OnConditionChange().
|
inline |
Definition at line 40 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
|
inline |
Definition at line 93 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
|
inline |
Definition at line 84 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::erase(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::find().
Referenced by Player::AddSpellMod(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::erase(), PhasingHandler::OnConditionChange(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureRemove(), and instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnGameObjectRemove().
|
inline |
Definition at line 58 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::begin(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end().
|
inline |
Definition at line 47 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::begin(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end().
Referenced by SpellInfo::CanSpellEffectProvideImmunityAgainstAuraEffect(), SpellInfo::CanSpellProvideImmunityAgainstAura(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::erase().
|
inline |
Definition at line 82 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::emplace().
Referenced by SpellInfo::_LoadImmunityInfo(), UpdateData::AddDestroyObject(), UpdateData::AddOutOfRangeGUID(), Player::AddSpellMod(), CollectionMgr::AddTransmogOutfit(), PhasingHandler::ControlledUnitVisitor::ControlledUnitVisitor(), MMAP::MapBuilder::discoverTiles(), Creature::ForcePartyMembersIntoCombat(), CollectionMgr::LoadAccountTransmogOutfits(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnCreatureCreate(), instance_magtheridons_lair::instance_magtheridons_lair_InstanceMapScript::OnGameObjectCreate(), KillRewarder::Reward(), Player::SetDataElementCharacter(), Player::SetDataFlagCharacter(), and PhasingHandler::ControlledUnitVisitor::VisitControlledOf().
|
inline |
Definition at line 97 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
Referenced by SpellInfo::_LoadImmunityInfo().
|
inline |
Definition at line 34 of file FlatSet.h.
References Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::_storage.
Referenced by UpdateData::BuildPacket(), PhasingHandler::FillPartyMemberPhase(), and PhasingHandler::SendToPlayer().
|
friend |
|
friend |
|
private |
Definition at line 103 of file FlatSet.h.
Referenced by Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::begin(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::begin(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::clear(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::emplace(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::empty(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::end(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::erase(), Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::shrink_to_fit(), and Trinity::Containers::FlatSet< Key, Compare, KeyContainer >::size().