Skip to content

UOperatingSystemDirectoriesCollection

#include <OperatingSystemSimulator/Public/Misc/OperatingSystemDirectoriesCollection.h>
class UOperatingSystemDirectoriesCollection

Defined in OperatingSystemDirectoriesCollection.h:21

Inherits: UDataAsset

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemDirectoriesCollection["UOperatingSystemDirectoriesCollection"]
  class UDataAsset["UDataAsset"]
  UDataAsset <|-- UOperatingSystemDirectoriesCollection
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemDirectoriesCollection["UOperatingSystemDirectoriesCollection"]
  class UOperatingSystemDirectory["UOperatingSystemDirectory"]
  UOperatingSystemDirectoriesCollection *-- UOperatingSystemDirectory
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemDirectoriesCollection {
    +UOperatingSystemDirectoriesCollection()
    +Validate(FGenericError &OutError)
    +HasDirectoryWithTag(const FGameplayTag &TestTag, const bool bRe bool
    +GetDirectories() const const TSet< TSoftClassPtr< UOperatingSys
    +Directories : TSet< TSoftClassPtr< UOperatingSystemDir
  }

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.

ReturnNameDescription
UOperatingSystemDirectoriesCollection
voidValidateValidates the operating system directories collection.
boolHasDirectoryWithTag constChecks if the operating system directories collection has a directory with the specified tag.
const TSet< TSoftClassPtr< UOperatingSystemDirectory > > &GetDirectories constReturns a constant reference to the set of operating system directories in the collection.

UOperatingSystemDirectoriesCollection()

Defined in OperatingSystemDirectoriesCollection.h:38

Section titled “Defined in OperatingSystemDirectoriesCollection.h:38”
void Validate(FGenericError & OutError)

Defined in OperatingSystemDirectoriesCollection.h:46 Validates the operating system directories collection.

  • OutError The error struct to store validation errors.

See also: FGenericError


const

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

Defined in OperatingSystemDirectoriesCollection.h:55 Checks if the operating system directories collection has a directory with the specified tag.

  • TestTag The tag to search for.

  • bRecursive If true, also checks child directory collections recursively.

True if a directory with the specified tag is found, false otherwise.


const

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

Defined in OperatingSystemDirectoriesCollection.h:64 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.

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

ReturnNameDescription
TSet< TSoftClassPtr< UOperatingSystemDirectory > >DirectoriesThis 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.

TSet< TSoftClassPtr< UOperatingSystemDirectory > > Directories

Defined in OperatingSystemDirectoriesCollection.h:34 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.