Operating System Simulator Plugin  3.5.1
Unreal Engine plugin that simulates an Operating System Environment
Loading...
Searching...
No Matches
UOperatingSystemDirectoriesCollection Class Reference

#include "OperatingSystemDirectoriesCollection.h"

Inheritance diagram for UOperatingSystemDirectoriesCollection:
[legend]
Collaboration diagram for UOperatingSystemDirectoriesCollection:
[legend]

Public Member Functions

 UOperatingSystemDirectoriesCollection ()
 
void Validate (FGenericError &OutError)
 
bool HasDirectoryWithTag (const FGameplayTag &TestTag, const bool bRecursive) const
 
const TSet< TSoftClassPtr< UOperatingSystemDirectory > > & GetDirectories () const
 Returns a constant reference to the set of operating system directories in the collection.
 

Protected Attributes

TSet< TSoftClassPtr< UOperatingSystemDirectory > > Directories
 

Detailed Description

This class represents a collection of operating system directories in the game. It inherits from UDataAsset and allows for specifying and retrieving operating system directories for various operations. The class provides functions for validation and retrieval of directories based on tags.

Constructor & Destructor Documentation

◆ UOperatingSystemDirectoriesCollection()

UOperatingSystemDirectoriesCollection::UOperatingSystemDirectoriesCollection ( )

Member Function Documentation

◆ GetDirectories()

const TSet< TSoftClassPtr< UOperatingSystemDirectory > > & UOperatingSystemDirectoriesCollection::GetDirectories ( ) const

Returns a constant reference to the set of operating system directories in the collection.

This function retrieves the set of operating system directories stored in the collection. The returned set is constant and cannot be modified.

Returns
A constant reference to the set of operating system directories in the collection.

◆ HasDirectoryWithTag()

bool UOperatingSystemDirectoriesCollection::HasDirectoryWithTag ( const FGameplayTag & TestTag,
const bool bRecursive ) const

Checks if the operating system directories collection has a directory with the specified tag.

Parameters
TestTagThe tag to search for.
bRecursiveIf true, also checks child directory collections recursively.
Returns
True if a directory with the specified tag is found, false otherwise.

◆ Validate()

void UOperatingSystemDirectoriesCollection::Validate ( FGenericError & OutError)

Validates the operating system directories collection.

Parameters
OutErrorThe error struct to store validation errors.
See also
FGenericError

Member Data Documentation

◆ Directories

TSet<TSoftClassPtr<UOperatingSystemDirectory> > UOperatingSystemDirectoriesCollection::Directories
protected

This property is used for specifying operating system directories in the game. The directories can be retrieved and used in various operations related to the operating system. The directories are specified as a set of TSoftClassPtr<UOperatingSystemDirectory> objects. These objects represent the directories and allow access to their properties and functions.


The documentation for this class was generated from the following files: