Files
UnrealEngineUWP/Engine/Source/Programs/Shared/EpicGames.BuildGraph/BgAggregate.cs
Ben Marsh 5e8a45eab2 Reformat EpicGames.BuildGraph according to style guidelines.
#preflight 623cdba70a073579730cf22b

[CL 19502617 by Ben Marsh in ue5-main branch]
2022-03-24 17:05:58 -04:00

41 lines
932 B
C#

// Copyright Epic Games, Inc. All Rights Reserved.
using System.Collections.Generic;
namespace EpicGames.BuildGraph
{
/// <summary>
/// Defines a agggregate within a graph, which give the combined status of one or more job steps, and allow building several steps at once.
/// </summary>
public class BgAggregate
{
/// <summary>
/// Name of this badge
/// </summary>
public string Name { get; }
/// <summary>
/// Set of nodes that must be run for this label to be shown.
/// </summary>
public HashSet<BgNode> RequiredNodes { get; } = new HashSet<BgNode>();
/// <summary>
/// Constructor
/// </summary>
/// <param name="inName">Name of this aggregate</param>
public BgAggregate(string inName)
{
Name = inName;
}
/// <summary>
/// Get the name of this label
/// </summary>
/// <returns>The name of this label</returns>
public override string ToString()
{
return Name;
}
}
}