TrinityCore
CommonPredicates.h File Reference
#include "Define.h"
#include <utility>
+ Include dependency graph for CommonPredicates.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Trinity::Predicates::IsVictimOf
 Only returns true for the given attacker's current victim, if any. More...
 
class  Trinity::Predicates::PowerPctOrderPred
 Binary predicate for sorting Units based on percent value of a power. More...
 
class  Trinity::Predicates::HealthPctOrderPred
 Binary predicate for sorting Units based on percent value of health. More...
 
class  Trinity::Predicates::Inverter< PRED >
 

Namespaces

namespace  Trinity
 
namespace  Trinity::Predicates
 

Functions

template<typename PRED >
Inverter< PRED > Trinity::Predicates::Invert (PRED &&p)
 Inverts the given predicate to return the opposite result. More...