Navigation
API > API/Runtime > API/Runtime/CoreUObject > API/Runtime/CoreUObject/Misc > API/Runtime/CoreUObject/Misc/FPackageName > API/Runtime/CoreUObject/Misc/FPackageName/SplitFullObjectPath
References
| Module | CoreUObject |
| Header | /Engine/Source/Runtime/CoreUObject/Public/Misc/PackageName.h |
| Include | #include "Misc/PackageName.h" |
| Source | /Engine/Source/Runtime/CoreUObject/Private/Misc/PackageName.cpp |
static void SplitFullObjectPath
(
const FString & InFullObjectPath,
FString & OutClassName,
FString & OutPackageName,
FString & OutObjectName,
FString & OutSubObjectName,
bool bDetectClassName
)
Remarks
Split a full object path (Class /Path/To/A/Package.Object:SubObject) into its constituent pieces
Parameters
| Name | Description |
|---|---|
| InFullObjectPath | Full object path we want to split |
| OutClassName | The extracted class name (Class) |
| OutPackageName | The extracted package name (/Path/To/A/Package) |
| OutObjectName | The extracted object name (Object) |
| OutSubObjectName | The extracted subobject name (SubObject) |
| bDetectClassName | If true, the optional Class will be detected and separated based on a space. If false, and there is a space, the space and text before it will be included in the other names. Spaces in those names is invalid, but some code ignores the invalidity in ObjectName if it only cares about packageName. |