FUncontrolledChangelistState

Unreal Engine C++ API Reference > Developer > UncontrolledChangelists

Inheritance Hierarchy

References

   
Module UncontrolledChangelists
Header /Engine/Source/Developer/UncontrolledChangelists/Public/UncontrolledChangelistState.h
Include #include "UncontrolledChangelistState.h"

Syntax

class FUncontrolledChangelistState : public [TSharedFromThis< FUncontrolledChangelistState, ESPMode::ThreadSafe >](API\Runtime\Core\Templates\TSharedFromThis)  

Variables

Type Name Description
FUncontrolledCh... Changelist  
TSet< FString > DeletedOfflineFiles  
FText Description  
TSet< FSourceCo... Files  
TSet< FString > OfflineFiles  
FDateTime TimeStamp The timestamp of the last update

Constructors

Type Name Description
  FUncontrolledChangelistState () An FUncontrolledChangelistState should always reference a given Changelist (with a valid GUID).
  FUncontrolledChangelistState ( const FUncontrolledChangelist& InU... )  
  FUncontrolledChangelistState ( const FUncontrolledChangelistState ... ) Uncontrolled Changelist states are unique and non-copyable, should always be used by reference to preserve cache coherence.
  FUncontrolledChangelistState ( const FUncontrolledChangelist& InU..., const FText& InDescription )  

Functions

Type Name Description
bool AddFiles ( const TArray< FString >& InFilenam..., const ECheckFlags InCheckFlags ) Adds files to this Uncontrolled Changelist State.
bool ContainsFilename ( const FString& PackageFilename ) Check whether a file exists in the file states or offline files
bool ContainsFiles () Returns true if the Uncontrolled Changelists contains either Files or OfflineFiles.
bool Deserialize ( const TSharedRef< FJsonObject > InJ... ) Deserialize the state of the Uncontrolled Changelist from a Json Object.
const TSet< ... GetDeletedOfflineFiles ()  
const FText ... GetDescriptionText () Get a text representation of the state
const FText ... GetDisplayText () Get a text representation of the state
FText GetDisplayTooltip () Get a tooltip to describe this state
int32 GetFileCount () Get the number of files in the CL. (Includes file states and offline files)
TArray< FStr... GetFilenames () Get the filenames in the CL. (Includes file states and offline files)
const TSet< ... GetFilesStates ()  
FName GetIconName () Get the name of the icon graphic we should use to display the state in a UI.
const TSet< ... GetOfflineFiles ()  
FName GetSmallIconName () Get the name of the small icon graphic we should use to display the state in a UI.
const FDateT... GetTimeStamp () Get the timestamp of the last update that was made to this state.
void RemoveDuplicates ( TSet< FString >& InOutAddedAssets ) Removes files present both in the Uncontrolled Changelist and the provided set.
bool RemoveFiles ( const TArray< FSourceControlStateRe... ) Removes files from this Uncontrolled Changelist State if present.
void Serialize ( TSharedRef< class FJsonObject > Out... ) Serialize the state of the Uncontrolled Changelist to a Json Object.
void SetDescription ( const FText& InDescription ) Sets a new description for this Uncontrolled Changelist
bool UpdateStatus () Updates the status of all files contained in this changelist.

Operators

Type Name Description
FUncontrolle... operator= ( const FUncontrolledChangelistState ... )  

Enums

Type Name Description
Public enum ECheckFlags  

Constants


Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library