Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/Private/ClassMaps.cpp
Robert Manuszewski 7f252d9994 Fixing UnrealHeaderTool not respecting class flags on unparsed classes used as property types in other classes.
- Fixed some properties requiring 'instanced' keyword even though their type was marked as 'defaulttoinstanced"
- Removed 'Placeable' keyword from ALandscape (it has long been deprecated)

[CL 2473550 by Robert Manuszewski in Main branch]
2015-03-10 06:14:19 -04:00

27 lines
1.1 KiB
C++

// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
#include "UnrealHeaderTool.h"
#include "ClassMaps.h"
TMap<FString, TSharedRef<FUnrealSourceFile> > GUnrealSourceFilesMap;
TMap<UField*, TSharedRef<FUnrealTypeDefinitionInfo> > GTypeDefinitionInfoMap;
TMap<UClass*, FString> GClassStrippedHeaderTextMap;
TMap<UClass*, FString> GClassHeaderNameWithNoPathMap;
TSet<UClass*> GPublicClassSet;
TSet<FUnrealSourceFile*> GPublicSourceFileSet;
TSet<FUnrealSourceFile*> GExportedSourceFiles;
TMap<UProperty*, FString> GArrayDimensions;
TMap<UPackage*, const FManifestModule*> GPackageToManifestModuleMap;
TMap<UField*, uint32> GGeneratedCodeCRCs;
TMap<UEnum*, EPropertyType> GEnumUnderlyingTypes;
TMap<FName, TSharedRef<FClassDeclarationMetaData> > GClassDeclarations;
TSharedRef<FUnrealTypeDefinitionInfo> AddTypeDefinition(FUnrealSourceFile& SourceFile, UField* Field, int32 Line)
{
TSharedRef<FUnrealTypeDefinitionInfo> DefinitionInfo = MakeShareable(new FUnrealTypeDefinitionInfo(SourceFile, Line));
GTypeDefinitionInfoMap.Add(Field, DefinitionInfo);
return DefinitionInfo;
}