Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/Private/ParserClass.h
Mike Fricker 52ff9982be Fixed UHT failing to compile on Windows when PCHs are disabled
- This was caused because of how MSVC resolves include paths (Class.h was ambiguous)

[CL 2258158 by Mike Fricker in Main branch]
2014-08-15 16:12:22 -04:00

58 lines
1.2 KiB
C++

// Copyright 1998-2014 Epic Games, Inc. All Rights Reserved.
#pragma once
struct EEnforceInterfacePrefix
{
enum Type
{
None,
I,
U
};
};
class FClasses;
class FClass : public UClass
{
public:
FClass();
/**
* Tests if this class inherits another.
*
* @param SuspectBase The class to test if it's a base of this.
* @return true if the SuspectBase is a base of this, false otherwise.
*/
bool Inherits(const FClass* SuspectBase) const;
/**
* Returns the name of the given class with a valid prefix.
*
* @param InClass Class used to create a valid class name with prefix
*/
FString GetNameWithPrefix(EEnforceInterfacePrefix::Type EnforceInterfacePrefix = EEnforceInterfacePrefix::None) const;
/**
* Returns the super class of this class, or NULL if there is no superclass.
*
* @return The super class of this class.
*/
FClass* GetSuperClass() const;
/**
* Returns the 'within' class of this class.
*
* @return The 'within' class of this class.
*/
FClass* GetClassWithin() const;
TArray<FName> GetDependentNames() const;
TArray<FClass*> GetInterfaceTypes() const;
void GetHideCategories(TArray<FString>& OutHideCategories) const;
void GetShowCategories(TArray<FString>& OutShowCategories) const;
};