5#include "Containers/Map.h"
6#include "Containers/Set.h"
47 return ParentPathToChildPaths.Num();
52 SIZE_T AllocatedSize = ParentPathToChildPaths.GetAllocatedSize() + ChildPathToParentPath.GetAllocatedSize();
56 AllocatedSize += Pair.Value.GetAllocatedSize();
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition NameTypes.h:617
static ASSETREGISTRY_API FName NormalizePackagePath(FName In)
Definition PathTree.cpp:193
ASSETREGISTRY_API bool EnumerateSubPaths(FName BasePath, TFunctionRef< bool(FName)> Callback, bool bRecurse=true) const
Definition PathTree.cpp:204
ASSETREGISTRY_API bool RemovePath(FName Path, TFunctionRef< void(FName)> OnPathRemoved)
Definition PathTree.cpp:86
ASSETREGISTRY_API void EnsureAdditionalCapacity(int32 NumNewPaths)
Definition PathTree.cpp:17
SIZE_T GetAllocatedSize(void) const
Definition PathTree.h:50
ASSETREGISTRY_API void EnumerateAllPaths(TFunctionRef< bool(FName)> Callback) const
Definition PathTree.cpp:172
ASSETREGISTRY_API bool GetAllPaths(TSet< FName > &OutPaths) const
Definition PathTree.cpp:161
ASSETREGISTRY_API FPathTree()
Definition PathTree.cpp:9
int32 NumPaths() const
Definition PathTree.h:45
ASSETREGISTRY_API bool CachePath(FName Path, TFunctionRef< void(FName)> OnPathAdded)
Definition PathTree.cpp:23
ASSETREGISTRY_API bool PathExists(FName Path) const
Definition PathTree.cpp:136
ASSETREGISTRY_API void Shrink()
Definition PathTree.cpp:249
ASSETREGISTRY_API bool GetSubPaths(FName BasePath, TSet< FName > &OutPaths, bool bRecurse=true) const
Definition PathTree.cpp:183
Definition AssetRegistryState.h:50
Definition UnrealString.h.inl:34