Navigation
API > API/Plugins > API/Plugins/ConcertSyncCore
Parses a FSoftObjectPath string and iterates through all outer objects of the Start path.
Example: Start = /Game/Maps.Map:PersistentLevel.Cube.StaticMeshComponent0.Foo would invoke Callback in this order:
/Game/Maps.Map:PersistentLevel.Cube.StaticMeshComponent0
/Game/Maps.Map:PersistentLevel.Cube
/Game/Maps.Map:PersistentLevel
/Game/Maps.Map
Example usage: const FSoftObjectPath ComponentPath{ TEXT("/Game/Maps.Map:PersistentLevel.Cube.StaticMeshComponent0") }; for (ConcertSyncCore::FObjectPathOuterIterator It(ComponentPath); It; ++It) { const FSoftObjectPath& Path = *It; // 1st iteration = /Game/Maps.Map:PersistentLevel.Cube const FStringString = It->ToString(); // 1st iteration = /Game/Maps.Map:PersistentLevel.Cube }
| Name | FObjectPathOuterIterator |
| Type | class |
| Header File | /Engine/Plugins/Developer/Concert/ConcertSync/ConcertSyncCore/Source/ConcertSyncCore/Public/Misc/ObjectPathOuterIterator.h |
| Include Path | #include "Misc/ObjectPathOuterIterator.h" |
Syntax
class FObjectPathOuterIterator
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FObjectPathOuterIterator
(
const FSoftObjectPath& Start |
Misc/ObjectPathOuterIterator.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Current | TOptional< FSoftObjectPath > | Misc/ObjectPathOuterIterator.h |
Functions
Public
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
operator bool() |
Misc/ObjectPathOuterIterator.h | ||
bool operator!() |
Misc/ObjectPathOuterIterator.h | ||
bool operator!=
(
const FObjectPathOuterIterator& Right |
Misc/ObjectPathOuterIterator.h | ||
const FSoftObjectPath & operator*() |
Misc/ObjectPathOuterIterator.h | ||
void operator++() |
Misc/ObjectPathOuterIterator.h | ||
bool operator==
(
const FObjectPathOuterIterator& Right |
Misc/ObjectPathOuterIterator.h | ||
const FSoftObjectPath * operator->() |
Misc/ObjectPathOuterIterator.h |