UOperatingSystemDirectoriesCollection
#include <OperatingSystemSimulator/Public/Misc/OperatingSystemDirectoriesCollection.h>class UOperatingSystemDirectoriesCollectionDefined in OperatingSystemDirectoriesCollection.h:21
Inherits:
UDataAsset
Inheritance diagram
Section titled “Inheritance diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemDirectoriesCollection["UOperatingSystemDirectoriesCollection"]
class UDataAsset["UDataAsset"]
UDataAsset <|-- UOperatingSystemDirectoriesCollection
Collaboration diagram
Section titled “Collaboration diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemDirectoriesCollection["UOperatingSystemDirectoriesCollection"]
class UOperatingSystemDirectory["UOperatingSystemDirectory"]
UOperatingSystemDirectoriesCollection *-- UOperatingSystemDirectory
Class detail
Section titled “Class detail”---
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.
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
UOperatingSystemDirectoriesCollection | ||
void | Validate | Validates the operating system directories collection. |
bool | HasDirectoryWithTag const | Checks if the operating system directories collection has a directory with the specified tag. |
const TSet< TSoftClassPtr< UOperatingSystemDirectory > > & | GetDirectories const | Returns a constant reference to the set of operating system directories in the collection. |
UOperatingSystemDirectoriesCollection
Section titled “UOperatingSystemDirectoriesCollection”UOperatingSystemDirectoriesCollection()Defined in OperatingSystemDirectoriesCollection.h:38
Section titled “Defined in OperatingSystemDirectoriesCollection.h:38”Validate
Section titled “Validate”void Validate(FGenericError & OutError)Defined in OperatingSystemDirectoriesCollection.h:46 Validates the operating system directories collection.
Parameters
Section titled “Parameters”OutErrorThe error struct to store validation errors.
See also: FGenericError
References
Section titled “References”DirectoriesMAKE_ERROR
HasDirectoryWithTag
Section titled “HasDirectoryWithTag”const
bool HasDirectoryWithTag(const FGameplayTag & TestTag, const bool bRecursive) constDefined in OperatingSystemDirectoriesCollection.h:55 Checks if the operating system directories collection has a directory with the specified tag.
Parameters
Section titled “Parameters”-
TestTagThe tag to search for. -
bRecursiveIf true, also checks child directory collections recursively.
Returns
Section titled “Returns”True if a directory with the specified tag is found, false otherwise.
References
Section titled “References”GetDirectories
Section titled “GetDirectories”const
const TSet< TSoftClassPtr< UOperatingSystemDirectory > > & GetDirectories() constDefined 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.
Returns
Section titled “Returns”A constant reference to the set of operating system directories in the collection.
References
Section titled “References”Protected Attributes
Section titled “Protected Attributes”| Return | Name | Description |
|---|---|---|
TSet< TSoftClassPtr< UOperatingSystemDirectory > > | Directories | 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. |
Directories
Section titled “Directories”TSet< TSoftClassPtr< UOperatingSystemDirectory > > DirectoriesDefined 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.