![]() |
TrinityCore
|
#include <UpdateField.h>
Inheritance diagram for UF::OptionalUpdateFieldBase< T >: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 | |
| bool | has_value () const |
| operator bool () const | |
| T const * | operator-> () const |
| T const & | operator* () const |
Private Member Functions | |
| void | ConstructValue () |
| void | DestroyValue () |
Private Attributes | |
| StorageType | _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 |
| template<typename F > | |
| struct | OptionalUpdateFieldSetter |
| class | UpdateFieldHolder |
Definition at line 1223 of file UpdateField.h.
| using UF::OptionalUpdateFieldBase< T >::IsLarge = std::integral_constant<bool, sizeof(void*) * 3 < sizeof(T)> |
Definition at line 1244 of file UpdateField.h.
| using UF::OptionalUpdateFieldBase< T >::StorageType = std::conditional_t<IsLarge::value, std::unique_ptr<T>, Optional<T> > |
Definition at line 1245 of file UpdateField.h.
| using UF::OptionalUpdateFieldBase< T >::value_type = T |
Definition at line 1243 of file UpdateField.h.
|
inlineprivate |
Definition at line 1266 of file UpdateField.h.
|
inlineprivate |
Definition at line 1274 of file UpdateField.h.
|
inline |
|
inline |
|
inline |
Definition at line 1260 of file UpdateField.h.
|
inline |
Definition at line 1256 of file UpdateField.h.
Definition at line 1235 of file UpdateField.h.
|
friend |
Definition at line 1229 of file UpdateField.h.
|
friend |
Definition at line 1226 of file UpdateField.h.
|
friend |
Definition at line 1232 of file UpdateField.h.
Definition at line 1238 of file UpdateField.h.
|
friend |
Definition at line 1240 of file UpdateField.h.
|
private |
Definition at line 1279 of file UpdateField.h.