Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/Private/UHTMakefile/FileScopeArchiveProxy.h
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

29 lines
891 B
C++

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "ScopeArchiveProxy.h"
class FArchive;
class FUHTMakefile;
class FFileScope;
/* See UHTMakefile.h for overview how makefiles work. */
struct FFileScopeArchiveProxy : public FScopeArchiveProxy
{
FFileScopeArchiveProxy(const FUHTMakefile& UHTMakefile, const FFileScope* FileScope);
FFileScopeArchiveProxy() { }
static void AddReferencedNames(const FFileScope* FileScope, FUHTMakefile& UHTMakefile);
TArray<int32> IncludedScopesIndexes;
int32 SourceFileIndex;
FNameArchiveProxy Name;
friend FArchive& operator<<(FArchive& Ar, FFileScopeArchiveProxy& FileScopeArchiveProxy);
FFileScope* CreateFileScope(const FUHTMakefile& UHTMakefile) const;
void PostConstruct(FFileScope* FileScope) const;
void Resolve(FFileScope* FileScope, const FUHTMakefile& UHTMakefile) const;
};