UOperatingSystemSimulatedBrowserProgramData
#include <OperatingSystemSimulator/Public/Programs/SimulatedBrowser/OperatingSystemSimulatedBrowserProgramData.h>class UOperatingSystemSimulatedBrowserProgramDataDefined in OperatingSystemSimulatedBrowserProgramData.h:20
Inherits:
UOperatingSystemProgramData
Inheritance diagram
Section titled “Inheritance diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemSimulatedBrowserProgramData["UOperatingSystemSimulatedBrowserProgramData"]
class UOperatingSystemProgramData["UOperatingSystemProgramData"]
UOperatingSystemProgramData <|-- UOperatingSystemSimulatedBrowserProgramData
Collaboration diagram
Section titled “Collaboration diagram”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemSimulatedBrowserProgramData["UOperatingSystemSimulatedBrowserProgramData"]
class FOperatingSystemSimulatedBrowserPageData["FOperatingSystemSimulatedBrowserPageData"]
UOperatingSystemSimulatedBrowserProgramData *-- FOperatingSystemSimulatedBrowserPageData
class UOperatingSystemSimulatedBrowserContentWidget["UOperatingSystemSimulatedBrowserContentWidget"]
UOperatingSystemSimulatedBrowserProgramData *-- UOperatingSystemSimulatedBrowserContentWidget
Class detail
Section titled “Class detail”---
config:
class:
hideEmptyMembersBox: true
---
classDiagram
class UOperatingSystemSimulatedBrowserProgramData {
+PagesData : TSet< FOperatingSystemSimulatedBrowserPa
+ContentWidgetClass : TSoftClassPtr< UOperatingSystemSimulated
+NoInternetWidgetClass : TSoftClassPtr< UUserWidget >
+UOperatingSystemSimulatedBrowserProgramData()
+FindPageData(const FString &DomainName, FOperatingSystem EOperatingSystemPageDataResult()
+FindAllPageDataWithKeyword(const FString &Keyword, TArray< FOperatingS
}
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
TSet< FOperatingSystemSimulatedBrowserPageData > | PagesData | Set of page data |
TSoftClassPtr< UOperatingSystemSimulatedBrowserContentWidget > | ContentWidgetClass | The widget class representing the simulated browser content. |
TSoftClassPtr< UUserWidget > | NoInternetWidgetClass | The widget class to display when there is no internet connection. |
PagesData
Section titled “PagesData”TSet< FOperatingSystemSimulatedBrowserPageData > PagesDataDefined in OperatingSystemSimulatedBrowserProgramData.h:28 Set of page data
Referenced by
Section titled “Referenced by”ContentWidgetClass
Section titled “ContentWidgetClass”TSoftClassPtr< UOperatingSystemSimulatedBrowserContentWidget > ContentWidgetClassDefined in OperatingSystemSimulatedBrowserProgramData.h:32 The widget class representing the simulated browser content.
NoInternetWidgetClass
Section titled “NoInternetWidgetClass”TSoftClassPtr< UUserWidget > NoInternetWidgetClassDefined in OperatingSystemSimulatedBrowserProgramData.h:36 The widget class to display when there is no internet connection.
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
UOperatingSystemSimulatedBrowserProgramData | ||
EOperatingSystemPageDataResult | FindPageData const | Finds the page data for a given domain name. No need to include “https://”, “http://”, or “www.” in the domain name. The function will sanitize the input and search for the domain name in the PagesData set. If the domain name is not found, it will also check for keywords associated with the pages. |
void | FindAllPageDataWithKeyword const |
UOperatingSystemSimulatedBrowserProgramData
Section titled “UOperatingSystemSimulatedBrowserProgramData”UOperatingSystemSimulatedBrowserProgramData()Defined in OperatingSystemSimulatedBrowserProgramData.h:38
Section titled “Defined in OperatingSystemSimulatedBrowserProgramData.h:38”FindPageData
Section titled “FindPageData”const
EOperatingSystemPageDataResult FindPageData(const FString & DomainName, FOperatingSystemSimulatedBrowserPageData & OutPageData) constDefined in OperatingSystemSimulatedBrowserProgramData.h:50 Finds the page data for a given domain name. No need to include “https://”, “http://”, or “www.” in the domain name. The function will sanitize the input and search for the domain name in the PagesData set. If the domain name is not found, it will also check for keywords associated with the pages.
Parameters
Section titled “Parameters”-
DomainNameThe domain name to search for. -
OutPageDataThe output parameter that will hold the found page data if the search is successful.
Returns
Section titled “Returns”EOperatingSystemPageDataResult indicating the result of the search: Success, KeywordFound, or NotFound.
References
Section titled “References”KeywordFoundNotFoundPagesDataSuccess
FindAllPageDataWithKeyword
Section titled “FindAllPageDataWithKeyword”const
void FindAllPageDataWithKeyword(const FString & Keyword, TArray< FOperatingSystemSimulatedBrowserPageData > & OutPageDataList) constDefined in OperatingSystemSimulatedBrowserProgramData.h:52