![]() |
TrinityCore
|
#include <UpdateField.h>
Public Types | |
using | value_type = T |
using | IsLarge = std::integral_constant< bool, sizeof(void *) *3< sizeof(T)> |
using | StorageType = std::conditional_t< IsLarge::value, std::unique_ptr< T >, Optional< T > > |
Public Member Functions | |
~OptionalUpdateFieldBase () | |
bool | has_value () const |
operator bool const () const | |
T const * | operator-> () const |
T const & | operator* () const |
Private Member Functions | |
void | ConstructValue () |
void | ConstructValue (std::false_type) |
void | ConstructValue (std::true_type) |
void | DestroyValue () |
Private Attributes | |
StorageType | _value = { } |
Friends | |
template<typename F , bool PublicSet> | |
struct | MutableFieldReference |
template<typename F , bool PublicSet> | |
struct | MutableNestedFieldReference |
template<std::size_t Bits> | |
class | HasChangesMask |
template<typename F > | |
struct | OptionalUpdateFieldSetter |
class | UpdateFieldHolder |
Definition at line 896 of file UpdateField.h.
using UF::OptionalUpdateFieldBase< T >::IsLarge = std::integral_constant<bool, sizeof(void*) * 3 < sizeof(T)> |
Definition at line 914 of file UpdateField.h.
using UF::OptionalUpdateFieldBase< T >::StorageType = std::conditional_t<IsLarge::value, std::unique_ptr<T>, Optional<T> > |
Definition at line 915 of file UpdateField.h.
using UF::OptionalUpdateFieldBase< T >::value_type = T |
Definition at line 913 of file UpdateField.h.
|
inline |
|
inlineprivate |
Definition at line 941 of file UpdateField.h.
|
inlineprivate |
Definition at line 946 of file UpdateField.h.
|
inlineprivate |
Definition at line 951 of file UpdateField.h.
|
inlineprivate |
|
inline |
|
inline |
|
inline |
Definition at line 935 of file UpdateField.h.
|
inline |
Definition at line 931 of file UpdateField.h.
Definition at line 905 of file UpdateField.h.
|
friend |
Definition at line 899 of file UpdateField.h.
|
friend |
Definition at line 902 of file UpdateField.h.
Definition at line 908 of file UpdateField.h.
|
friend |
Definition at line 910 of file UpdateField.h.
|
private |
Definition at line 961 of file UpdateField.h.