TrinityCore
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
UpdateMask Class Reference

#include <UpdateMask.h>

Public Member Functions

 UpdateMask ()
 
void SetBit (uint32 index)
 
void UnsetBit (uint32 index)
 
bool GetBit (uint32 index) const
 
void SetCount (uint32 valuesCount)
 
void Clear ()
 

Private Attributes

std::unique_ptr< uint8[]> _bits
 
uint32 _fieldCount
 

Detailed Description

Definition at line 25 of file UpdateMask.h.

Constructor & Destructor Documentation

◆ UpdateMask()

UpdateMask::UpdateMask ( )
inline

Definition at line 28 of file UpdateMask.h.

Member Function Documentation

◆ Clear()

void UpdateMask::Clear ( )
inline

Definition at line 52 of file UpdateMask.h.

+ Here is the caller graph for this function:

◆ GetBit()

bool UpdateMask::GetBit ( uint32  index) const
inline

Definition at line 40 of file UpdateMask.h.

+ Here is the caller graph for this function:

◆ SetBit()

void UpdateMask::SetBit ( uint32  index)
inline

Definition at line 30 of file UpdateMask.h.

+ Here is the caller graph for this function:

◆ SetCount()

void UpdateMask::SetCount ( uint32  valuesCount)
inline

Definition at line 45 of file UpdateMask.h.

+ Here is the caller graph for this function:

◆ UnsetBit()

void UpdateMask::UnsetBit ( uint32  index)
inline

Definition at line 35 of file UpdateMask.h.

Member Data Documentation

◆ _bits

std::unique_ptr<uint8[]> UpdateMask::_bits
private

Definition at line 59 of file UpdateMask.h.

◆ _fieldCount

uint32 UpdateMask::_fieldCount
private

Definition at line 60 of file UpdateMask.h.


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