AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
BossBoundaryData Struct Reference

#include "InstanceScript.h"

Public Types

typedef std::vector< BossBoundaryEntryStorageType
 
typedef StorageType::const_iterator const_iterator
 

Public Member Functions

 BossBoundaryData (std::initializer_list< BossBoundaryEntry > data)
 
 ~BossBoundaryData ()
 
const_iterator begin () const
 
const_iterator end () const
 

Private Attributes

StorageType _data
 

Detailed Description

Member Typedef Documentation

◆ const_iterator

typedef StorageType::const_iterator BossBoundaryData::const_iterator

◆ StorageType

Constructor & Destructor Documentation

◆ BossBoundaryData()

BossBoundaryData::BossBoundaryData ( std::initializer_list< BossBoundaryEntry data)
inline
90: _data(data) { }
StorageType _data
Definition: InstanceScript.h:96

◆ ~BossBoundaryData()

BossBoundaryData::~BossBoundaryData ( )
36{
37 for (const_iterator it = begin(); it != end(); ++it)
38 delete it->boundary;
39}
const_iterator begin() const
Definition: InstanceScript.h:92
const_iterator end() const
Definition: InstanceScript.h:93
StorageType::const_iterator const_iterator
Definition: InstanceScript.h:88

References begin(), and end().

Member Function Documentation

◆ begin()

const_iterator BossBoundaryData::begin ( ) const
inline
92{ return _data.begin(); }

References _data.

Referenced by ~BossBoundaryData().

◆ end()

const_iterator BossBoundaryData::end ( ) const
inline
93{ return _data.end(); }

References _data.

Referenced by ~BossBoundaryData().

Member Data Documentation

◆ _data

StorageType BossBoundaryData::_data
private

Referenced by begin(), and end().