TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
HookList< T > Class Template Reference

#include <Util.h>

Public Member Functions

HookList< T > & operator+= (T t)
 
HookList< T > & operator-= (T t)
 
size_t size ()
 
ListIterator begin ()
 
ListIterator end ()
 

Private Types

typedef std::list< T >::iterator ListIterator
 

Private Attributes

std::list< T > m_list
 

Member Typedef Documentation

template<typename T>
typedef std::list<T>::iterator HookList< T >::ListIterator
private

Member Function Documentation

template<typename T>
ListIterator HookList< T >::begin ( )
inline
353  {
354  return m_list.begin();
355  }
std::list< T > m_list
Definition: Util.h:336
template<typename T>
ListIterator HookList< T >::end ( )
inline
357  {
358  return m_list.end();
359  }
std::list< T > m_list
Definition: Util.h:336
template<typename T>
HookList<T>& HookList< T >::operator+= ( t)
inline
339  {
340  m_list.push_back(t);
341  return *this;
342  }
std::list< T > m_list
Definition: Util.h:336
template<typename T>
HookList<T>& HookList< T >::operator-= ( t)
inline
344  {
345  m_list.remove(t);
346  return *this;
347  }
std::list< T > m_list
Definition: Util.h:336
template<typename T>
size_t HookList< T >::size ( )
inline
349  {
350  return m_list.size();
351  }
std::list< T > m_list
Definition: Util.h:336

Member Data Documentation

template<typename T>
std::list<T> HookList< T >::m_list
private

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