![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <OnDemandHostGroup.h>
Classes | |
| struct | FImpl |
Public Member Functions | |
| UE_API | FOnDemandHostGroup () |
| UE_API | ~FOnDemandHostGroup () |
| UE_API TConstArrayView< FAnsiString > | Hosts () const |
| UE_API FAnsiStringView | Host (int32 Index) const |
| UE_API FAnsiStringView | CycleHost (int32 &InOutIndex) const |
| UE_API void | SetPrimaryHost (int32 Index) |
| UE_API FAnsiStringView | PrimaryHost () const |
| UE_API int32 | PrimaryHostIndex () const |
| UE_API bool | IsEmpty () const |
Static Public Member Functions | |
| static UE_API TIoStatusOr< FOnDemandHostGroup > | Create (FAnsiStringView Url) |
| static UE_API TIoStatusOr< FOnDemandHostGroup > | Create (FStringView Url) |
| static UE_API TIoStatusOr< FOnDemandHostGroup > | Create (TConstArrayView< FAnsiString > Urls) |
| static UE_API TIoStatusOr< FOnDemandHostGroup > | Create (TConstArrayView< FString > Urls) |
Static Public Attributes | |
| static UE_API FName | DefaultName = FName("Default") |
Friends | |
| bool | operator== (const FOnDemandHostGroup &Lhs, const FOnDemandHostGroup &Rhs) |
| uint32 | GetTypeHash (const FOnDemandHostGroup &Endpoint) |
Holds a set of host URLs.
| UE::IoStore::FOnDemandHostGroup::FOnDemandHostGroup | ( | ) |
Creates a new empty host group.
| UE::IoStore::FOnDemandHostGroup::~FOnDemandHostGroup | ( | ) |
Destructor.
|
static |
Create a new host group with the specified URL.
|
static |
Create a new host group with the specified URL.
|
static |
Create a new host group with the specified URLs.
|
static |
Create a new host group with the specified URLs.
| FAnsiStringView UE::IoStore::FOnDemandHostGroup::CycleHost | ( | int32 & | InOutIndex | ) | const |
Get the next available host starting from the specified index.
| FAnsiStringView UE::IoStore::FOnDemandHostGroup::Host | ( | int32 | Index | ) | const |
Get the URL at the specified index.
| TConstArrayView< FAnsiString > UE::IoStore::FOnDemandHostGroup::Hosts | ( | ) | const |
Returns the list of available host URLs.
| bool UE::IoStore::FOnDemandHostGroup::IsEmpty | ( | ) | const |
Returns whether the group is empty or not.
| FAnsiStringView UE::IoStore::FOnDemandHostGroup::PrimaryHost | ( | ) | const |
Get the primary host URL.
| int32 UE::IoStore::FOnDemandHostGroup::PrimaryHostIndex | ( | ) | const |
Get the primary host index.
|
friend |
Returns the type hash of the endpoint.
|
friend |
Returns whether two endpoint instance are the same or not.
Default host group name.