Files
UnrealEngineUWP/Engine/Source/Programs/UnrealHeaderTool/Private/StringUtils.h
Joe Conley c12a880a0c Unshelved from pending changelist '4791207':
Source=CL 4772220 in //UE4/Main/...
Acknowledger=joe.conley (Thu Jan 24 2019 00:26:59 GMT+0000 (Coordinated Universal Time))
ShelfCl=4791207
Target=Dev-VR
Merge conflict:
/src/ROBOMERGE_DEVVR_Dev_VR/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Private/MagicLeapController.cpp - merging //UE4/Main/Engine/Plugins/Lumin/MagicLeap/Source/MagicLeapController/Private/MagicLeapController.cpp#5

#rb Ryan.Vance

[CL 4792243 by Joe Conley in Dev-VR branch]
2019-01-23 19:56:41 -05:00

44 lines
1.5 KiB
C

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Misc/Timespan.h"
/**
* Attempts to strip the given class name of its affixed prefix. If no prefix exists, will return a blank string.
*
* @param InClassName Class Name with a prefix to be stripped
*/
FString GetClassNameWithPrefixRemoved(const FString InClassName);
/**
* Attempts to strip the given class name of its affixed prefix. If no prefix exists, will return unchanged string.
*
* @param InClassName Class Name with a prefix to be stripped
*/
FString GetClassNameWithoutPrefix(const FString& InClassNameOrFilename);
/**
* Attempts to get class prefix. If the given class name does not start with a valid Unreal Prefix, it will return an empty string.
*
* @param InClassName Name w/ potential prefix to check
*/
FString GetClassPrefix(const FString InClassName);
/**
* Attempts to get class prefix. If the given class name does not start with a valid Unreal Prefix, it will return an empty string.
*
* @param InClassName Name w/ potential prefix to check
* @param out bIsLabeledDeprecated Reference param set to True if the class name is marked as deprecated
*/
FString GetClassPrefix(const FString InClassName, bool& bIsLabeledDeprecated);
/**
* Generates hash for text, ignoring characters such as \r and the terminating \0
*
* @param InText Text to digest
* @return Hash generated for the specified text buffer
*/
uint32 GenerateTextHash(const TCHAR* InText);