TrinityCore
FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE > Class Template Reference

#include <Object.h>

Public Member Functions

 FlaggedValuesArray32 ()
 
T_FLAGS GetFlags () const
 
bool HasFlag (FLAG_TYPE flag) const
 
void AddFlag (FLAG_TYPE flag)
 
void DelFlag (FLAG_TYPE flag)
 
T_VALUES GetValue (FLAG_TYPE flag) const
 
void SetValue (FLAG_TYPE flag, T_VALUES value)
 
void AddValue (FLAG_TYPE flag, T_VALUES value)
 

Private Attributes

T_VALUES m_values [ARRAY_SIZE]
 
T_FLAGS m_flags
 

Detailed Description

template<class T_VALUES, class T_FLAGS, class FLAG_TYPE, size_t ARRAY_SIZE>
class FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >

Definition at line 428 of file Object.h.

Constructor & Destructor Documentation

◆ FlaggedValuesArray32()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::FlaggedValuesArray32 ( )
inline

Definition at line 433 of file Object.h.

Member Function Documentation

◆ AddFlag()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
void FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddFlag ( FLAG_TYPE  flag)
inline

Definition at line 442 of file Object.h.

+ Here is the caller graph for this function:

◆ AddValue()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
void FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::AddValue ( FLAG_TYPE  flag,
T_VALUES  value 
)
inline

Definition at line 447 of file Object.h.

+ Here is the caller graph for this function:

◆ DelFlag()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
void FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::DelFlag ( FLAG_TYPE  flag)
inline

Definition at line 443 of file Object.h.

+ Here is the caller graph for this function:

◆ GetFlags()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
T_FLAGS FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetFlags ( ) const
inline

Definition at line 440 of file Object.h.

+ Here is the caller graph for this function:

◆ GetValue()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
T_VALUES FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::GetValue ( FLAG_TYPE  flag) const
inline

Definition at line 445 of file Object.h.

+ Here is the caller graph for this function:

◆ HasFlag()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
bool FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::HasFlag ( FLAG_TYPE  flag) const
inline

Definition at line 441 of file Object.h.

◆ SetValue()

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
void FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::SetValue ( FLAG_TYPE  flag,
T_VALUES  value 
)
inline

Definition at line 446 of file Object.h.

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_flags

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
T_FLAGS FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::m_flags
private

Definition at line 451 of file Object.h.

◆ m_values

template<class T_VALUES , class T_FLAGS , class FLAG_TYPE , size_t ARRAY_SIZE>
T_VALUES FlaggedValuesArray32< T_VALUES, T_FLAGS, FLAG_TYPE, ARRAY_SIZE >::m_values[ARRAY_SIZE]
private

Definition at line 450 of file Object.h.


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