12#define UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE
14#ifndef UE_STRPROPERTY_CLASS
15 #error "StrProperty.cpp.inl should only be included after defining UE_STRPROPERTY_CLASS"
17#ifndef UE_STRPROPERTY_STRINGTYPE
18 #error "StrProperty.cpp.inl should only be included after defining UE_STRPROPERTY_STRINGTYPE"
20#ifndef UE_STRPROPERTY_CASTCLASSFLAG
21 #error "StrProperty.cpp.inl should only be included after defining UE_STRPROPERTY_CASTCLASSFLAG"
23#ifndef UE_STRPROPERTY_PROPERTYPARAMSSTRUCT
24 #error "StrProperty.cpp.inl should only be included after defining UE_STRPROPERTY_PROPERTYPARAMSSTRUCT"
39#if WITH_EDITORONLY_DATA
48 if (GetClass()->GetFName() ==
Tag.Type)
106 else if ( StringValue.Len() > 0 )
108 ValueStr += UE_STRPROPERTY_STRINGTYPE::Printf(
CHARTEXT(UE_STRPROPERTY_STRINGTYPE::FmtCharType,
"\"%s\""), *StringValue.ReplaceCharWithEscapedChar() );
130 ErrorText->
Logf(
TEXT(
"Missing opening '\"' in string property value: %s"),
Buffer);
142 ErrorText->
Logf(
TEXT(
"Missing terminating '\"' in string property value: %s"), Start);
#define NULL
Definition oodle2base.h:134
#define UE_STRPROPERTY_STRINGTYPE
Definition AnsiStrProperty.cpp:9
#define IMPLEMENT_FIELD(TClass)
Definition Field.h:330
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
EObjectFlags
Definition ObjectMacros.h:552
@ PPF_Delimited
Definition PropertyPortFlags.h:18
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
EPropertyPointerType
Definition UnrealType.h:156
EConvertFromTypeResult
Definition UnrealType.h:130
Definition NameTypes.h:617
Definition OutputDevice.h:133
void Logf(const FmtType &Fmt)
Definition OutputDevice.h:234
static COREUOBJECT_API const TCHAR * ReadToken(const TCHAR *Buffer, FString &Out, bool DottedNames=false)
Definition Property.cpp:654
Definition StructuredArchiveSlots.h:52
static CORE_API const FString * GetSourceString(const FText &Text)
Definition Text.cpp:72
UE_FORCEINLINE_HINT void GetValue_InContainer(void const *InContainer, TCppType *OutValue) const
Definition UnrealType.h:1665
UE_FORCEINLINE_HINT void SetPropertyValue_InContainer(void *A, TCppType const &Value, int32 ArrayIndex=0) const
Definition UnrealType.h:1655
UE_FORCEINLINE_HINT void SetValue_InContainer(void *OutContainer, const TCppType &InValue) const
Definition UnrealType.h:1660
Definition StrProperty.h.inl:28
virtual COREUOBJECT_API const TCHAR * ImportText_Internal(const TCHAR *Buffer, void *ContainerOrPropertyPtr, EPropertyPointerType PropertyPointerType, UObject *OwnerObject, int32 PortFlags, FOutputDevice *ErrorText) const override
Definition StrProperty.cpp.inl:115
virtual COREUOBJECT_API void ExportText_Internal(FString &ValueStr, const void *PropertyValueOrContainer, EPropertyPointerType PropertyPointerType, const void *DefaultValue, UObject *Parent, int32 PortFlags, UObject *ExportRootScope) const override
Definition StrProperty.cpp.inl:90
COREUOBJECT_API uint32 GetValueTypeHashInternal(const void *Src) const override
Definition StrProperty.cpp.inl:158
virtual COREUOBJECT_API EConvertFromTypeResult ConvertFromType(const FPropertyTag &Tag, FStructuredArchive::FSlot Slot, uint8 *Data, const UStruct *DefaultsStruct, const uint8 *Defaults) override
Definition StrProperty.cpp.inl:46
COREUOBJECT_API UE_STRPROPERTY_CLASS(FFieldVariant InOwner, const FName &InName, EObjectFlags InObjectFlags)
Definition StrProperty.cpp.inl:29
Definition UObjectConstructInternal.h:15
Definition PropertyTag.h:38
static int32 Strlen(const CharType *String)
Definition CString.h:1047