You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
3901c239a4
Fixed UHT to detect that a parent class hasn't been parsed before it's child and display a better error message. [CL 2573515 by Jaroslaw Palczynski in Main branch]
65 lines
1.1 KiB
C++
65 lines
1.1 KiB
C++
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "UnrealString.h"
|
|
|
|
/**
|
|
* Simplified parsing information about UClasses.
|
|
*/
|
|
class FSimplifiedParsingClassInfo
|
|
{
|
|
public:
|
|
// Constructor.
|
|
FSimplifiedParsingClassInfo(FString InClassName, FString InBaseClassName, int32 InClassDefLine, bool bInClassIsAnInterface)
|
|
: ClassName (MoveTemp(InClassName))
|
|
, BaseClassName (MoveTemp(InBaseClassName))
|
|
, ClassDefLine (InClassDefLine)
|
|
, bClassIsAnInterface(bInClassIsAnInterface)
|
|
{}
|
|
|
|
/**
|
|
* Gets class name.
|
|
*/
|
|
const FString& GetClassName() const
|
|
{
|
|
return ClassName;
|
|
}
|
|
|
|
/**
|
|
* Gets base class name.
|
|
*/
|
|
const FString& GetBaseClassName() const
|
|
{
|
|
return BaseClassName;
|
|
}
|
|
|
|
/**
|
|
* Gets class definition line number.
|
|
*/
|
|
int32 GetClassDefLine() const
|
|
{
|
|
return ClassDefLine;
|
|
}
|
|
|
|
/**
|
|
* Tells if this class is an interface.
|
|
*/
|
|
bool IsInterface() const
|
|
{
|
|
return bClassIsAnInterface;
|
|
}
|
|
|
|
private:
|
|
// Name.
|
|
FString ClassName;
|
|
|
|
// Super-class name.
|
|
FString BaseClassName;
|
|
|
|
// Class definition line.
|
|
int32 ClassDefLine;
|
|
|
|
// Is this an interface class?
|
|
bool bClassIsAnInterface;
|
|
}; |