Operating System Simulator Plugin
3.5.1
Unreal Engine plugin that simulates an Operating System Environment
|
#include "OperatingSystemProgramsCollection.h"
Public Member Functions | |
UOperatingSystemProgramsCollection () | |
virtual void | Validate (FGenericError &OutError) |
Validates the UOperatingSystemProgramsCollection. | |
virtual const TSet< TSoftClassPtr< UOperatingSystemBaseProgram > > & | GetProgramClasses () const |
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. | |
Protected Attributes | |
TSet< TSoftClassPtr< UOperatingSystemBaseProgram > > | Programs |
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.
UOperatingSystemProgramsCollection::UOperatingSystemProgramsCollection | ( | ) |
|
virtual |
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.
Reimplemented in UOperatingSystemStoreProgramsCollection.
|
virtual |
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. |
Reimplemented in UOperatingSystemStoreProgramsCollection.
|
protected |
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.