TrinityCore
HookList< T > Class Template Referencefinal

#include <Util.h>

Public Types

typedef ContainerType::const_iterator const_iterator
 
typedef ContainerType::iterator iterator
 

Public Member Functions

HookList< T > & operator+= (T &&t)
 
size_t size () const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Private Types

typedef std::vector< T > ContainerType
 

Private Attributes

ContainerType _container
 

Detailed Description

template<typename T>
class HookList< T >

Definition at line 452 of file Util.h.

Member Typedef Documentation

◆ const_iterator

template<typename T >
typedef ContainerType::const_iterator HookList< T >::const_iterator

Definition at line 460 of file Util.h.

◆ ContainerType

template<typename T >
typedef std::vector<T> HookList< T >::ContainerType
private

Definition at line 455 of file Util.h.

◆ iterator

template<typename T >
typedef ContainerType::iterator HookList< T >::iterator

Definition at line 461 of file Util.h.

Member Function Documentation

◆ begin() [1/2]

template<typename T >
iterator HookList< T >::begin ( )
inline

Definition at line 474 of file Util.h.

◆ begin() [2/2]

template<typename T >
const_iterator HookList< T >::begin ( ) const
inline

Definition at line 484 of file Util.h.

◆ end() [1/2]

template<typename T >
iterator HookList< T >::end ( )
inline

Definition at line 479 of file Util.h.

◆ end() [2/2]

template<typename T >
const_iterator HookList< T >::end ( ) const
inline

Definition at line 489 of file Util.h.

◆ operator+=()

template<typename T >
HookList< T > & HookList< T >::operator+= ( T &&  t)
inline

Definition at line 463 of file Util.h.

◆ size()

template<typename T >
size_t HookList< T >::size ( ) const
inline

Definition at line 469 of file Util.h.

Member Data Documentation

◆ _container

template<typename T >
ContainerType HookList< T >::_container
private

Definition at line 457 of file Util.h.


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