📁
Notes
  • About
  • Unreal Engine
    • UI
      • Menu & Menu Bar
    • Math
    • Serialize
    • Pipeline
    • 🚀Automation
    • UE Cpp
    • Uncategorized
  • Type Script
    • Setup
  • Tool
    • V2Ray on Ubuntu
Powered by GitBook
On this page
  • On Scope Exit
  • FString
  • TGuardValue
  1. Unreal Engine

UE Cpp

On Scope Exit

ON_SCOPE_EXIT
{
    // Cleanup
};

FString

/**
 * Breaks up a delimited string into elements of a string array.
 *
 * @param	InArray		The array to fill with the string pieces
 * @param	pchDelim	The string to delimit on
 * @param	InCullEmpty	If 1, empty strings are not added to the array
 *
 * @return	The number of elements in InArray
 */
int32 ParseIntoArray( TArray<FString>& OutArray, const TCHAR* pchDelim, bool InCullEmpty = true ) const;

TGuardValue

/** 
 * exception-safe guard around saving/restoring a value.
 * Commonly used to make sure a value is restored 
 * even if the code early outs in the future.
 * Usage:
 *  	TGuardValue<bool> GuardSomeBool(bSomeBool, false); // Sets bSomeBool to false, and restores it in dtor.
 */
PreviousAutomationNextUncategorized

Last updated 11 months ago