TrinityCore
Permissible< T > Class Template Referenceabstract

#include <FactoryHolder.h>

Public Member Functions

virtual ~Permissible ()
 
virtual int32 Permit (T const *) const =0
 

Detailed Description

template<class T>
class Permissible< T >

Permissible is a classic way of letting the object decide whether how good they handle things. This is not retricted to factory selectors.

Definition at line 48 of file FactoryHolder.h.

Constructor & Destructor Documentation

◆ ~Permissible()

template<class T >
virtual Permissible< T >::~Permissible ( )
inlinevirtual

Definition at line 51 of file FactoryHolder.h.

Member Function Documentation

◆ Permit()

template<class T >
virtual int32 Permissible< T >::Permit ( T const *  ) const
pure virtual

Implemented in CreatureAIFactory< REAL_AI, is_db_allowed >, and GameObjectAIFactory< REAL_GO_AI, is_db_allowed >.

+ Here is the caller graph for this function:

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