Files
UnrealEngine/Engine/Plugins/Editor/AssetSearch/Source/Public/Utility/IndexerUtilities.h
2025-05-18 13:04:45 +08:00

19 lines
589 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "HAL/Platform.h"
class FProperty;
class FString;
class UObject;
class UStruct;
template <typename FuncType> class TFunctionRef;
class ASSETSEARCH_API FIndexerUtilities
{
public:
static void IterateIndexableProperties(const UObject* InObject, TFunctionRef<void(const FProperty* /*Property*/, const FString& /*Value*/)> Callback);
static void IterateIndexableProperties(const UStruct* InStruct, const void* InStructValue, TFunctionRef<void(const FProperty* /*Property*/, const FString& /*Value*/)> Callback);
};