TrinityCore
UF::HasChangesMask< Bits > Class Template Reference

#include <UpdateField.h>

+ Inheritance diagram for UF::HasChangesMask< Bits >:

Public Types

using Base = HasChangesMask< Bits >
 
using Mask = UpdateMask< Bits >
 

Public Member Functions

template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > ModifyValue (UpdateField< T, BlockBit, Bit >(Derived::*field))
 
template<typename Derived , typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
MutableFieldReference< T, false > ModifyValue (UpdateFieldArray< T, Size, Bit, FirstElementBit >(Derived::*field), uint32 index)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > ModifyValue (DynamicUpdateField< T, BlockBit, Bit >(Derived::*field))
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > ModifyValue (DynamicUpdateField< T, BlockBit, Bit >(Derived::*field), uint32 index)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > ModifyValue (OptionalUpdateField< T, BlockBit, Bit >(Derived::*field))
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void MarkChanged (UpdateField< T, BlockBit, Bit >(Derived::*))
 
template<typename Derived , typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
void MarkChanged (UpdateFieldArray< T, Size, Bit, FirstElementBit >(Derived::*), uint32 index)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void MarkChanged (DynamicUpdateField< T, BlockBit, Bit >(Derived::*), uint32)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void MarkChanged (OptionalUpdateField< T, BlockBit, Bit >(Derived::*))
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChanged (UpdateField< T, BlockBit, Bit >(Derived::*))
 
template<typename Derived , typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
void ClearChanged (UpdateFieldArray< T, Size, Bit, FirstElementBit >(Derived::*), uint32 index)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChanged (DynamicUpdateField< T, BlockBit, Bit >(Derived::*field), uint32 index)
 
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void ClearChanged (OptionalUpdateField< T, BlockBit, Bit >(Derived::*))
 
Mask const & GetChangesMask () const
 

Static Protected Member Functions

template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (UpdateField< T, BlockBit, Bit > &field)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (UpdateField< T, BlockBit, Bit > &, std::false_type)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (UpdateField< T, BlockBit, Bit > &field, std::true_type)
 
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
static void ClearChangesMask (UpdateFieldArray< T, Size, Bit, FirstElementBit > &field)
 
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
static void ClearChangesMask (UpdateFieldArray< T, Size, Bit, FirstElementBit > &, std::false_type)
 
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
static void ClearChangesMask (UpdateFieldArray< T, Size, Bit, FirstElementBit > &field, std::true_type)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (DynamicUpdateField< T, BlockBit, Bit > &field)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (DynamicUpdateField< T, BlockBit, Bit > &, std::false_type)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (DynamicUpdateField< T, BlockBit, Bit > &field, std::true_type)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (OptionalUpdateField< T, BlockBit, Bit > &field)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (OptionalUpdateField< T, BlockBit, Bit > &, std::false_type)
 
template<typename T , int32 BlockBit, uint32 Bit>
static void ClearChangesMask (OptionalUpdateField< T, BlockBit, Bit > &field, std::true_type)
 

Protected Attributes

Mask _changesMask
 

Friends

template<typename T >
struct DynamicUpdateFieldSetter
 
template<typename T , bool PublicSet>
struct MutableFieldReference
 
template<typename T , int32 BlockBit, uint32 Bit>
class UpdateField
 
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
class UpdateFieldArray
 
template<typename T , int32 BlockBit, uint32 Bit>
class DynamicUpdateField
 

Detailed Description

template<std::size_t Bits>
class UF::HasChangesMask< Bits >

Definition at line 464 of file UpdateField.h.

Member Typedef Documentation

◆ Base

template<std::size_t Bits>
using UF::HasChangesMask< Bits >::Base = HasChangesMask<Bits>

Definition at line 482 of file UpdateField.h.

◆ Mask

template<std::size_t Bits>
using UF::HasChangesMask< Bits >::Mask = UpdateMask<Bits>

Definition at line 483 of file UpdateField.h.

Member Function Documentation

◆ ClearChanged() [1/4]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::HasChangesMask< Bits >::ClearChanged ( DynamicUpdateField< T, BlockBit, Bit >Derived::*  field,
uint32  index 
)
inline

Definition at line 600 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChanged() [2/4]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::HasChangesMask< Bits >::ClearChanged ( OptionalUpdateField< T, BlockBit, Bit >  Derived::*)
inline

Definition at line 607 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChanged() [3/4]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::HasChangesMask< Bits >::ClearChanged ( UpdateField< T, BlockBit, Bit >  Derived::*)
inline

Definition at line 578 of file UpdateField.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClearChanged() [4/4]

template<std::size_t Bits>
template<typename Derived , typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
void UF::HasChangesMask< Bits >::ClearChanged ( UpdateFieldArray< T, Size, Bit, FirstElementBit >  Derived::*,
uint32  index 
)
inline

Definition at line 586 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [1/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( DynamicUpdateField< T, BlockBit, Bit > &  ,
std::false_type   
)
inlinestaticprotected

Definition at line 656 of file UpdateField.h.

◆ ClearChangesMask() [2/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( DynamicUpdateField< T, BlockBit, Bit > &  field)
inlinestaticprotected

Definition at line 649 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [3/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( DynamicUpdateField< T, BlockBit, Bit > &  field,
std::true_type   
)
inlinestaticprotected

Definition at line 659 of file UpdateField.h.

◆ ClearChangesMask() [4/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( OptionalUpdateField< T, BlockBit, Bit > &  ,
std::false_type   
)
inlinestaticprotected

Definition at line 672 of file UpdateField.h.

◆ ClearChangesMask() [5/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( OptionalUpdateField< T, BlockBit, Bit > &  field)
inlinestaticprotected

Definition at line 666 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [6/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( OptionalUpdateField< T, BlockBit, Bit > &  field,
std::true_type   
)
inlinestaticprotected

Definition at line 675 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [7/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( UpdateField< T, BlockBit, Bit > &  ,
std::false_type   
)
inlinestaticprotected

Definition at line 624 of file UpdateField.h.

◆ ClearChangesMask() [8/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( UpdateField< T, BlockBit, Bit > &  field)
inlinestaticprotected

Definition at line 618 of file UpdateField.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ClearChangesMask() [9/12]

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( UpdateField< T, BlockBit, Bit > &  field,
std::true_type   
)
inlinestaticprotected

Definition at line 627 of file UpdateField.h.

◆ ClearChangesMask() [10/12]

template<std::size_t Bits>
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( UpdateFieldArray< T, Size, Bit, FirstElementBit > &  ,
std::false_type   
)
inlinestaticprotected

Definition at line 639 of file UpdateField.h.

◆ ClearChangesMask() [11/12]

template<std::size_t Bits>
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( UpdateFieldArray< T, Size, Bit, FirstElementBit > &  field)
inlinestaticprotected

Definition at line 633 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ClearChangesMask() [12/12]

template<std::size_t Bits>
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
static void UF::HasChangesMask< Bits >::ClearChangesMask ( UpdateFieldArray< T, Size, Bit, FirstElementBit > &  field,
std::true_type   
)
inlinestaticprotected

Definition at line 642 of file UpdateField.h.

+ Here is the call graph for this function:

◆ GetChangesMask()

template<std::size_t Bits>
Mask const & UF::HasChangesMask< Bits >::GetChangesMask ( ) const
inline

Definition at line 614 of file UpdateField.h.

+ Here is the caller graph for this function:

◆ MarkChanged() [1/4]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::HasChangesMask< Bits >::MarkChanged ( DynamicUpdateField< T, BlockBit, Bit >  Derived::*,
uint32   
)
inline

Definition at line 556 of file UpdateField.h.

+ Here is the call graph for this function:

◆ MarkChanged() [2/4]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::HasChangesMask< Bits >::MarkChanged ( OptionalUpdateField< T, BlockBit, Bit >  Derived::*)
inline

Definition at line 567 of file UpdateField.h.

+ Here is the call graph for this function:

◆ MarkChanged() [3/4]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
void UF::HasChangesMask< Bits >::MarkChanged ( UpdateField< T, BlockBit, Bit >  Derived::*)
inline

Definition at line 530 of file UpdateField.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ MarkChanged() [4/4]

template<std::size_t Bits>
template<typename Derived , typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
void UF::HasChangesMask< Bits >::MarkChanged ( UpdateFieldArray< T, Size, Bit, FirstElementBit >  Derived::*,
uint32  index 
)
inline

Definition at line 541 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ModifyValue() [1/5]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > UF::HasChangesMask< Bits >::ModifyValue ( DynamicUpdateField< T, BlockBit, Bit >Derived::*  field)
inline

Definition at line 500 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ModifyValue() [2/5]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > UF::HasChangesMask< Bits >::ModifyValue ( DynamicUpdateField< T, BlockBit, Bit >Derived::*  field,
uint32  index 
)
inline

Definition at line 507 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ModifyValue() [3/5]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > UF::HasChangesMask< Bits >::ModifyValue ( OptionalUpdateField< T, BlockBit, Bit >Derived::*  field)
inline

Definition at line 523 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ModifyValue() [4/5]

template<std::size_t Bits>
template<typename Derived , typename T , int32 BlockBit, uint32 Bit>
MutableFieldReference< T, false > UF::HasChangesMask< Bits >::ModifyValue ( UpdateField< T, BlockBit, Bit >Derived::*  field)
inline

Definition at line 486 of file UpdateField.h.

+ Here is the call graph for this function:

◆ ModifyValue() [5/5]

template<std::size_t Bits>
template<typename Derived , typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
MutableFieldReference< T, false > UF::HasChangesMask< Bits >::ModifyValue ( UpdateFieldArray< T, Size, Bit, FirstElementBit >Derived::*  field,
uint32  index 
)
inline

Definition at line 493 of file UpdateField.h.

+ Here is the call graph for this function:

Friends And Related Function Documentation

◆ DynamicUpdateField

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
friend class DynamicUpdateField
friend

Definition at line 479 of file UpdateField.h.

◆ DynamicUpdateFieldSetter

template<std::size_t Bits>
template<typename T >
friend struct DynamicUpdateFieldSetter
friend

Definition at line 467 of file UpdateField.h.

◆ MutableFieldReference

template<std::size_t Bits>
template<typename T , bool PublicSet>
friend struct MutableFieldReference
friend

Definition at line 470 of file UpdateField.h.

◆ UpdateField

template<std::size_t Bits>
template<typename T , int32 BlockBit, uint32 Bit>
friend class UpdateField
friend

Definition at line 473 of file UpdateField.h.

◆ UpdateFieldArray

template<std::size_t Bits>
template<typename T , std::size_t Size, uint32 Bit, int32 FirstElementBit>
friend class UpdateFieldArray
friend

Definition at line 476 of file UpdateField.h.

Member Data Documentation

◆ _changesMask

template<std::size_t Bits>
Mask UF::HasChangesMask< Bits >::_changesMask
protected

Definition at line 681 of file UpdateField.h.


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