Skip to content

UOperatingSystemSimulatedBrowserProgramData

#include <OperatingSystemSimulator/Public/Programs/SimulatedBrowser/OperatingSystemSimulatedBrowserProgramData.h>
class UOperatingSystemSimulatedBrowserProgramData

Defined in OperatingSystemSimulatedBrowserProgramData.h:20

Inherits: UOperatingSystemProgramData

---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemSimulatedBrowserProgramData["UOperatingSystemSimulatedBrowserProgramData"]
  class UOperatingSystemProgramData["UOperatingSystemProgramData"]
  UOperatingSystemProgramData <|-- UOperatingSystemSimulatedBrowserProgramData
---
config:
  class:
    hideEmptyMembersBox: true
---
classDiagram
  class UOperatingSystemSimulatedBrowserProgramData["UOperatingSystemSimulatedBrowserProgramData"]
  class FOperatingSystemSimulatedBrowserPageData["FOperatingSystemSimulatedBrowserPageData"]
  UOperatingSystemSimulatedBrowserProgramData *-- FOperatingSystemSimulatedBrowserPageData
  class UOperatingSystemSimulatedBrowserContentWidget["UOperatingSystemSimulatedBrowserContentWidget"]
  UOperatingSystemSimulatedBrowserProgramData *-- UOperatingSystemSimulatedBrowserContentWidget
---
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
  }
ReturnNameDescription
TSet< FOperatingSystemSimulatedBrowserPageData >PagesDataSet of page data
TSoftClassPtr< UOperatingSystemSimulatedBrowserContentWidget >ContentWidgetClassThe widget class representing the simulated browser content.
TSoftClassPtr< UUserWidget >NoInternetWidgetClassThe widget class to display when there is no internet connection.

TSet< FOperatingSystemSimulatedBrowserPageData > PagesData

Defined in OperatingSystemSimulatedBrowserProgramData.h:28 Set of page data


TSoftClassPtr< UOperatingSystemSimulatedBrowserContentWidget > ContentWidgetClass

Defined in OperatingSystemSimulatedBrowserProgramData.h:32 The widget class representing the simulated browser content.


TSoftClassPtr< UUserWidget > NoInternetWidgetClass

Defined in OperatingSystemSimulatedBrowserProgramData.h:36 The widget class to display when there is no internet connection.

ReturnNameDescription
UOperatingSystemSimulatedBrowserProgramData
EOperatingSystemPageDataResultFindPageData constFinds 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.
voidFindAllPageDataWithKeyword const

UOperatingSystemSimulatedBrowserProgramData

Section titled “UOperatingSystemSimulatedBrowserProgramData”
UOperatingSystemSimulatedBrowserProgramData()

Defined in OperatingSystemSimulatedBrowserProgramData.h:38

Section titled “Defined in OperatingSystemSimulatedBrowserProgramData.h:38”

const

EOperatingSystemPageDataResult FindPageData(const FString & DomainName, FOperatingSystemSimulatedBrowserPageData & OutPageData) const

Defined 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.

  • DomainName The domain name to search for.

  • OutPageData The output parameter that will hold the found page data if the search is successful.

EOperatingSystemPageDataResult indicating the result of the search: Success, KeywordFound, or NotFound.


const

void FindAllPageDataWithKeyword(const FString & Keyword, TArray< FOperatingSystemSimulatedBrowserPageData > & OutPageDataList) const

Defined in OperatingSystemSimulatedBrowserProgramData.h:52