Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
LinkedListHead Class Reference

#include <LinkedList.h>

Inheritance diagram for LinkedListHead:
Collaboration diagram for LinkedListHead:

Classes

class  Iterator

Public Types

typedef Iterator< LinkedListElementiterator

Public Member Functions

void decSize ()
LinkedListElementgetFirst ()
LinkedListElement const * getFirst () const
LinkedListElementgetLast ()
LinkedListElement const * getLast () const
uint32 getSize () const
void incSize ()
void insertFirst (LinkedListElement *pElem)
void insertLast (LinkedListElement *pElem)
bool isEmpty () const
 LinkedListHead ()
virtual ~LinkedListHead ()

Private Member Functions

 LinkedListHead (LinkedListHead const &)
LinkedListHeadoperator= (LinkedListHead const &)

Private Attributes

LinkedListElement iFirst
LinkedListElement iLast
uint32 iSize

Detailed Description

Definition at line 70 of file LinkedList.h.

Member Typedef Documentation

◆ iterator

Definition at line 232 of file LinkedList.h.

Constructor & Destructor Documentation

◆ LinkedListHead() [1/2]

LinkedListHead::LinkedListHead ( )
inline

Definition at line 77 of file LinkedList.h.

References iFirst, iLast, and iSize.

Referenced by LinkedListHead(), and operator=().

◆ ~LinkedListHead()

virtual LinkedListHead::~LinkedListHead ( )
inlinevirtual

Definition at line 85 of file LinkedList.h.

◆ LinkedListHead() [2/2]

LinkedListHead::LinkedListHead ( LinkedListHead const & )
private

References LinkedListHead().

Member Function Documentation

◆ decSize()

void LinkedListHead::decSize ( )
inline

Definition at line 122 of file LinkedList.h.

References iSize.

Referenced by MapReference::sourceObjectDestroyLink(), and MapReference::targetObjectDestroyLink().

◆ getFirst() [1/2]

LinkedListElement * LinkedListHead::getFirst ( )
inline

Definition at line 88 of file LinkedList.h.

References iFirst, and isEmpty().

Referenced by RefManager< TO, FROM >::getFirst(), RefManager< TO, FROM >::getFirst(), and getSize().

◆ getFirst() [2/2]

LinkedListElement const * LinkedListHead::getFirst ( ) const
inline

Definition at line 89 of file LinkedList.h.

References iFirst, and isEmpty().

◆ getLast() [1/2]

LinkedListElement * LinkedListHead::getLast ( )
inline

Definition at line 91 of file LinkedList.h.

References iLast, and isEmpty().

Referenced by RefManager< TO, FROM >::getLast(), and RefManager< TO, FROM >::getLast().

◆ getLast() [2/2]

LinkedListElement const * LinkedListHead::getLast ( ) const
inline

Definition at line 92 of file LinkedList.h.

References iLast, and isEmpty().

◆ getSize()

uint32 LinkedListHead::getSize ( ) const
inline

Definition at line 104 of file LinkedList.h.

References getFirst(), iSize, and LinkedListElement::next().

Referenced by HostileRefManager::threatAssist().

◆ incSize()

void LinkedListHead::incSize ( )
inline

Definition at line 121 of file LinkedList.h.

References iSize.

Referenced by MapReference::targetObjectBuildLink().

◆ insertFirst()

void LinkedListHead::insertFirst ( LinkedListElement * pElem)
inline

Definition at line 94 of file LinkedList.h.

References iFirst.

Referenced by MapReference::targetObjectBuildLink().

◆ insertLast()

void LinkedListHead::insertLast ( LinkedListElement * pElem)
inline

Definition at line 99 of file LinkedList.h.

References iLast.

◆ isEmpty()

bool LinkedListHead::isEmpty ( ) const
inline

Definition at line 86 of file LinkedList.h.

References iFirst.

Referenced by Map::AddToMap(), AggroAllPlayers(), npc_announcer_toc5::npc_announcer_toc5AI::AggroAllPlayers(), npc_blastmaster_emi_shortfuse::npc_blastmaster_emi_shortfuseAI::AggroAllPlayers(), npc_blackfathom_deeps_event::npc_blackfathom_deeps_eventAI::AttackPlayer(), Transport::BuildUpdate(), InstanceMap::CanEnter(), boss_gothik::boss_gothikAI::CheckGroupSplitted(), InstanceScript::DoCastSpellOnPlayers(), dummy_dragonAI::DoRaidWhisper(), InstanceScript::DoRemoveAurasDueToSpellOnPlayers(), InstanceScript::DoSendNotifyToInstance(), InstanceScript::DoStartTimedAchievement(), InstanceScript::DoStopTimedAchievement(), InstanceScript::DoUpdateAchievementCriteria(), InstanceScript::DoUpdateWorldState(), npc_kalecgos::npc_kalecgosAI::DoWorkaroundForQuestCredit(), CreatureAI::DoZoneInCombat(), npc_gothik_minion::npc_gothik_minionAI::EnterEvadeMode(), getFirst(), getFirst(), getLast(), getLast(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::GetPlayerInMap(), instance_razorfen_kraul::instance_razorfen_kraul_InstanceMapScript::GetPlayerInMap(), instance_sunwell_plateau::instance_sunwell_plateau_InstanceMapScript::GetPlayerInMap(), LuaMap::IsEmpty(), boss_headless_horseman::boss_headless_horsemanAI::JustDied(), npc_acolyte_of_shadron::npc_acolyte_of_shadronAI::JustDied(), npc_acolyte_of_vesperon::npc_acolyte_of_vesperonAI::JustDied(), boss_faction_championsAI::KilledUnit(), boss_kalecgos::boss_kalecgosAI::MovementInform(), instance_forge_of_souls::instance_forge_of_souls_InstanceScript::OnCreatureCreate(), instance_halls_of_reflection::instance_halls_of_reflection_InstanceMapScript::OnCreatureCreate(), instance_icecrown_citadel::instance_icecrown_citadel_InstanceMapScript::OnCreatureCreate(), instance_nexus::instance_nexus_InstanceMapScript::OnCreatureCreate(), instance_pit_of_saron::instance_pit_of_saron_InstanceScript::OnCreatureCreate(), instance_trial_of_the_champion::instance_trial_of_the_champion_InstanceMapScript::OnCreatureCreate(), instance_ulduar::instance_ulduar_InstanceMapScript::OnCreatureCreate(), boss_headless_horseman::boss_headless_horsemanAI::SelectRandomPlayer(), boss_sartharion::boss_sartharionAI::SendFlameTsunami(), boss_earthrager_ptah::boss_earthrager_ptahAI::SendPacketToPlayers(), boss_malygos::boss_malygosAI::SendPacketToPlayers(), boss_the_lich_king::boss_the_lich_kingAI::SendPacketToPlayers(), instance_hyjal::instance_mount_hyjal_InstanceMapScript::SetData(), instance_stratholme::instance_stratholme_InstanceMapScript::SetData(), instance_the_black_morass::instance_the_black_morass_InstanceMapScript::SetData(), Creature::SetInCombatWithZone(), boss_volazj::boss_volazjAI::SummonedCreatureDespawn(), Transport::TeleportTransport(), instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Update(), boss_cthun::cthunAI::UpdateAI(), boss_hunter_toc5::boss_hunter_toc5AI::UpdateAI(), boss_the_lurker_below::boss_the_lurker_belowAI::UpdateAI(), boss_warrior_toc5::boss_warrior_toc5AI::UpdateAI(), generic_vehicleAI_toc5::generic_vehicleAI_toc5AI::UpdateAI(), npc_barnes::npc_barnesAI::UpdateAI(), npc_ethereal_sphere::npc_ethereal_sphereAI::UpdateAI(), npc_highlord_darion_mograine::npc_highlord_darion_mograineAI::UpdateAI(), instance_old_hillsbrad::instance_old_hillsbrad_InstanceMapScript::UpdateQuestCredit(), UpdateWorldState(), ObjectGridUnloader::Visit(), and npc_thrall_old_hillsbrad::npc_thrall_old_hillsbradAI::WaypointReached().

◆ operator=()

LinkedListHead & LinkedListHead::operator= ( LinkedListHead const & )
private

References LinkedListHead().

Member Data Documentation

◆ iFirst

LinkedListElement LinkedListHead::iFirst
private

Definition at line 73 of file LinkedList.h.

Referenced by getFirst(), getFirst(), insertFirst(), isEmpty(), and LinkedListHead().

◆ iLast

LinkedListElement LinkedListHead::iLast
private

Definition at line 74 of file LinkedList.h.

Referenced by getLast(), getLast(), insertLast(), and LinkedListHead().

◆ iSize

uint32 LinkedListHead::iSize
private

Definition at line 75 of file LinkedList.h.

Referenced by decSize(), getSize(), incSize(), and LinkedListHead().


The documentation for this class was generated from the following file: