![]() |
TrinityCore
|
#include <LinkedList.h>
Inheritance diagram for LinkedListHead:Classes | |
| class | Iterator |
Public Types | |
| typedef Iterator< LinkedListElement > | iterator |
Public Member Functions | |
| LinkedListHead () | |
| bool | isEmpty () const |
| LinkedListElement * | getFirst () |
| LinkedListElement const * | getFirst () const |
| LinkedListElement * | getLast () |
| LinkedListElement const * | getLast () const |
| void | insertFirst (LinkedListElement *pElem) |
| void | insertLast (LinkedListElement *pElem) |
| uint32 | getSize () const |
| void | incSize () |
| void | decSize () |
Protected Member Functions | |
| ~LinkedListHead () | |
Private Member Functions | |
| LinkedListHead (LinkedListHead const &)=delete | |
| LinkedListHead & | operator= (LinkedListHead const &)=delete |
Private Attributes | |
| LinkedListElement | iFirst |
| LinkedListElement | iLast |
| uint32 | iSize |
Definition at line 92 of file LinkedList.h.
Definition at line 216 of file LinkedList.h.
|
inline |
Definition at line 100 of file LinkedList.h.
References iFirst, iLast, LinkedListElement::iNext, and LinkedListElement::iPrev.
|
privatedelete |
|
inlineprotected |
Definition at line 223 of file LinkedList.h.
|
inline |
Definition at line 144 of file LinkedList.h.
References iSize.
Referenced by MapReference::sourceObjectDestroyLink(), and MapReference::targetObjectDestroyLink().
|
inline |
Definition at line 110 of file LinkedList.h.
References iFirst, LinkedListElement::iNext, and isEmpty().
Referenced by RefManager< TO, FROM >::getFirst(), RefManager< TO, FROM >::getFirst(), and getSize().
|
inline |
Definition at line 111 of file LinkedList.h.
References iFirst, LinkedListElement::iNext, and isEmpty().
|
inline |
Definition at line 113 of file LinkedList.h.
References iLast, LinkedListElement::iPrev, and isEmpty().
|
inline |
Definition at line 114 of file LinkedList.h.
References iLast, LinkedListElement::iPrev, and isEmpty().
|
inline |
Definition at line 126 of file LinkedList.h.
References getFirst(), iSize, and LinkedListElement::next().
Referenced by Group::RemoveMember(), and InstanceMap::RemovePlayerFromMap().
|
inline |
Definition at line 143 of file LinkedList.h.
References iSize.
Referenced by MapReference::targetObjectBuildLink().
|
inline |
Definition at line 116 of file LinkedList.h.
References iFirst, and LinkedListElement::insertAfter().
Referenced by Group::LinkMember(), and MapReference::targetObjectBuildLink().
|
inline |
Definition at line 121 of file LinkedList.h.
References iLast, and LinkedListElement::insertBefore().
|
inline |
Definition at line 108 of file LinkedList.h.
References iFirst, LinkedListElement::iNext, and LinkedListElement::isInList().
Referenced by Map::AddToMap(), AggroAllPlayers(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), boss_four_horsemen_baseAI::BeginEncounter(), Transport::BuildUpdate(), Player::CheckInstanceValidity(), InstanceScript::DoSendNotifyToInstance(), InstanceScript::DoStartTimedAchievement(), InstanceScript::DoStopTimedAchievement(), InstanceScript::DoUpdateAchievementCriteria(), InstanceScript::DoUpdateWorldState(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::GetCreatureEntry(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::GetCreatureEntry(), instance_nexus::instance_nexus_InstanceMapScript::GetCreatureEntry(), instance_ulduar::instance_ulduar_InstanceMapScript::GetCreatureEntry(), getFirst(), getFirst(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::GetGameObjectEntry(), getLast(), getLast(), instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::GetPlayerInMap(), boss_coren_direbrew::JustDied(), boss_apothecary_hummel::JustDied(), npc_acolyte_of_shadron::JustDied(), npc_acolyte_of_vesperon::JustDied(), boss_ahune::JustDied(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnCreatureCreate(), instance_shattered_halls::instance_shattered_halls_InstanceMapScript::OnCreatureCreate(), Map::RemoveFromMap(), InstanceMap::Reset(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SpawnEscapeEvent(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::SpawnGunship(), instance_zulaman::instance_zulaman_InstanceMapScript::SummonHostage(), Creature::Update(), Map::Update(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::UpdateAI(), boss_warrior_toc5::boss_warrior_toc5AI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::UpdateQuestCredit(), UpdateWorldState(), and ObjectGridUnloader::Visit().
|
privatedelete |
|
private |
Definition at line 95 of file LinkedList.h.
Referenced by getFirst(), getFirst(), insertFirst(), isEmpty(), and LinkedListHead().
|
private |
Definition at line 96 of file LinkedList.h.
Referenced by getLast(), getLast(), insertLast(), and LinkedListHead().
|
private |
Definition at line 97 of file LinkedList.h.