5#if WITH_VERSE_VM || defined(__INTELLISENSE__)
34inline void VCell::ReleaseRef()
39template <
typename CastType>
40bool VCell::IsA()
const
42 static_assert(std::is_base_of_v<VCell, CastType>);
46template <
typename CastType>
47const CastType& VCell::StaticCast()
const
50 TEXT(
"Expected object of type %s, but got object of type %s."),
51 *CastType::StaticCppClassInfo.DebugName(),
53 return *
static_cast<const CastType*
>(
this);
56template <
typename CastType>
60 TEXT(
"Expected object of type %s, but got object of type %s."),
61 *CastType::StaticCppClassInfo.DebugName(),
63 return *
static_cast<CastType*
>(
this);
66template <
typename CastType>
72template <
typename CastType>
80 return Cell.GetEmergentType()->CppClassInfo->GetTypeHash(&
Cell);
83template <
typename TVisitor>
84void VCell::VisitReferencesImpl(
TVisitor& Visitor)
92 Map->Visit(
this, Visitor);
#define checkf(expr, format,...)
Definition AssertionMacros.h:315
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
@ Visitor
Definition XmppMultiUserChat.h:94
uint32 GetTypeHash(TPtrVariant< Ts... > Ptr)
Definition VVMPtrVariant.h:83