Module |
|
Header |
/Engine/Source/Runtime/CoreUObject/Public/UObject/UnrealType.h |
Include |
#include "UObject/UnrealType.h" |
Source |
/Engine/Source/Runtime/CoreUObject/Private/UObject/Property.cpp |
static const TCHAR * ImportSingleProperty
(
const TCHAR * Str,
void * DestData,
class UStruct * ObjectStruct,
UObject * SubobjectOuter,
int32 PortFlags,
FOutputDevice * Warn,
TArray< struct FDefinedProperty > & DefinedProperties
)
Parses and imports a text definition of a single property's value (if array, may be an individual element) also includes parsing of special operations for array properties (Add/Remove/RemoveIndex/Empty)
pointer to remaining text in the stream (even on failure, but on failure it may not be advanced past the entire key/value pair)
Parameter |
Description |
---|---|
Str |
the string to parse |
DestData |
base location the parsed property should place its data (DestData + ParsedProperty->Offset) |
ObjectStruct |
the struct containing the valid fields |
SubobjectOuter |
owner of DestData and any subobjects within it |
PortFlags |
property import flags |
Warn |
output device for any error messages |
DefinedProperties |
(out) list of properties/indices that have been parsed by previous calls, so duplicate definitions cause an error |