TrinityCore
Loading...
Searching...
No Matches
UF::VariantUpdateFieldBase< Types > Class Template Reference

#include <UpdateField.h>

+ Inheritance diagram for UF::VariantUpdateFieldBase< Types >:

Public Member Functions

template<typename T >
bool Is () const
 
template<typename T >
T const * Get () const noexcept
 
template<typename Visitor >
decltype(auto) Visit (Visitor &&visitor) const noexcept
 

Private Member Functions

template<typename T >
void ConstructValue ()
 
template<typename T >
T * Get () noexcept
 

Private Attributes

std::variant< std::monostate, Types... > _value
 

Friends

template<typename F , bool PublicSet>
struct MutableFieldReferenceWithChangesMask
 
template<typename F , bool PublicSet>
struct MutableFieldReferenceNoChangesMask
 
template<typename F , bool PublicSet>
struct MutableNestedFieldReference
 
template<std::size_t Bits>
class HasChangesMask
 

Detailed Description

template<typename... Types>
class UF::VariantUpdateFieldBase< Types >

Definition at line 1288 of file UpdateField.h.

Member Function Documentation

◆ ConstructValue()

template<typename... Types>
template<typename T >
void UF::VariantUpdateFieldBase< Types >::ConstructValue ( )
inlineprivate

Definition at line 1322 of file UpdateField.h.

◆ Get() [1/2]

template<typename... Types>
template<typename T >
T const * UF::VariantUpdateFieldBase< Types >::Get ( ) const
inlinenoexcept

Definition at line 1307 of file UpdateField.h.

+ Here is the caller graph for this function:

◆ Get() [2/2]

template<typename... Types>
template<typename T >
T * UF::VariantUpdateFieldBase< Types >::Get ( )
inlineprivatenoexcept

Definition at line 1328 of file UpdateField.h.

◆ Is()

template<typename... Types>
template<typename T >
bool UF::VariantUpdateFieldBase< Types >::Is ( ) const
inline

Definition at line 1304 of file UpdateField.h.

◆ Visit()

template<typename... Types>
template<typename Visitor >
decltype(auto) UF::VariantUpdateFieldBase< Types >::Visit ( Visitor &&  visitor) const
inlinenoexcept

Definition at line 1315 of file UpdateField.h.

Friends And Related Symbol Documentation

◆ HasChangesMask

template<typename... Types>
template<std::size_t Bits>
friend class HasChangesMask
friend

Definition at line 1300 of file UpdateField.h.

◆ MutableFieldReferenceNoChangesMask

template<typename... Types>
template<typename F , bool PublicSet>
friend struct MutableFieldReferenceNoChangesMask
friend

Definition at line 1294 of file UpdateField.h.

◆ MutableFieldReferenceWithChangesMask

template<typename... Types>
template<typename F , bool PublicSet>
friend struct MutableFieldReferenceWithChangesMask
friend

Definition at line 1291 of file UpdateField.h.

◆ MutableNestedFieldReference

template<typename... Types>
template<typename F , bool PublicSet>
friend struct MutableNestedFieldReference
friend

Definition at line 1297 of file UpdateField.h.

Member Data Documentation

◆ _value

template<typename... Types>
std::variant<std::monostate, Types...> UF::VariantUpdateFieldBase< Types >::_value
private

Definition at line 1335 of file UpdateField.h.


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