Skip to content

UOperatingSystemProgramsCollection

#include <OperatingSystemSimulator/Public/Misc/OperatingSystemProgramsCollection.h>
class UOperatingSystemProgramsCollection

Defined in OperatingSystemProgramsCollection.h:24

Inherits: UDataAsset Subclassed by: UOperatingSystemStoreProgramsCollection

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemProgramsCollection["UOperatingSystemProgramsCollection"]
  class UDataAsset["UDataAsset"]
  UDataAsset <|-- UOperatingSystemProgramsCollection
  class UOperatingSystemStoreProgramsCollection["UOperatingSystemStoreProgramsCollection"]
  UOperatingSystemProgramsCollection <|-- UOperatingSystemStoreProgramsCollection
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemProgramsCollection["UOperatingSystemProgramsCollection"]
  class UOperatingSystemBaseProgram["UOperatingSystemBaseProgram"]
  UOperatingSystemProgramsCollection *-- UOperatingSystemBaseProgram
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemProgramsCollection {
    +UOperatingSystemProgramsCollection()
    +Validate(FGenericError &OutError)
    +GetProgramClasses() const const TSet< TSoftClassPtr< UOperatingSys
    +Programs : TSet< TSoftClassPtr< UOperatingSystemBas
  }

The UOperatingSystemProgramsCollection class represents a collection of operating system programs.

This class is a subclass of UDataAsset and provides functionality to store, add, remove, and access operating system programs in your application. It contains a set of soft pointers to classes derived from UOperatingSystemBaseProgram, allowing you to easily manage and interact with the programs.

See also: UDataAsset

See also: UOperatingSystemBaseProgram

ReturnNameDescription
UOperatingSystemProgramsCollection
voidValidate virtualValidates the UOperatingSystemProgramsCollection.
const TSet< TSoftClassPtr< UOperatingSystemBaseProgram > > &GetProgramClasses virtual constRetrieves the set of operating system program classes stored in the Programs property of the UOperatingSystemProgramsCollection. The return value is of type const TSet<TSoftClassPtr<UOperatingSystemBaseProgram>>&, which allows read-only access to the program classes.

UOperatingSystemProgramsCollection()

Defined in OperatingSystemProgramsCollection.h:46

Section titled “Defined in OperatingSystemProgramsCollection.h:46”

virtual

virtual void Validate(FGenericError & OutError)

Defined in OperatingSystemProgramsCollection.h:61 Validates the UOperatingSystemProgramsCollection.

This method checks if the Programs property is empty. If it is empty, an error with code “ERR_PRG_COLLECTION” and message “Programs are missing.” is assigned to OutError.

It then checks if any entry in the Programs property is null. If one or more entries are null, an error with code “ERR_PRG_COLLECTION” and message “One or more entries in Programs is null.” is assigned to OutError.

If no validation errors are encountered, the OutError object will be in an invalid state.

  • OutError The error object to store any validation errors encountered during the validation process.

virtual const

virtual const TSet< TSoftClassPtr< UOperatingSystemBaseProgram > > & GetProgramClasses() const

Defined in OperatingSystemProgramsCollection.h:69 Retrieves the set of operating system program classes stored in the Programs property of the UOperatingSystemProgramsCollection. The return value is of type const TSet<TSoftClassPtr<UOperatingSystemBaseProgram>>&, which allows read-only access to the program classes.

A reference to the set of operating system program classes.

ReturnNameDescription
TSet< TSoftClassPtr< UOperatingSystemBaseProgram > >ProgramsThe Programs property stores a set of operating system programs.

TSet< TSoftClassPtr< UOperatingSystemBaseProgram > > Programs

Defined in OperatingSystemProgramsCollection.h:42 The Programs property stores a set of operating system programs.

This property is of type TSet<TSoftClassPtr<UOperatingSystemBaseProgram>>, which is a collection of soft pointers to classes derived from UOperatingSystemBaseProgram. These soft pointers can be used to access the programs stored in the set.

Use this property to add, remove, or access operating system programs within your application.

See also: UOperatingSystemBaseProgram