5#include "Containers/StringFwd.h"
10template <
typename CharType>
class TStringBuilderBase;
11template <
typename FuncType>
class TFunctionRef;
17
18
19
20
21
22
23
24
25
26
30
31
32
33
34
35
36
37
38
39
43
44
45
46
47
48
49
50
51
52
56 UE_DEPRECATED(4.25,
"FPathViews::GetBaseFilename(InPath, bRemovePath) has been superseded by "
57 "FPathViews::GetBaseFilename(InPath) and FPathViews::GetBaseFilenameWithPath(InPath).")
58 static FStringView GetBaseFilename(
const FStringView& InPath,
bool bRemovePath);
61
62
63
64
65
66
67
68
69
70
71 static FStringView
GetPath(
const FStringView& InPath);
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90 static FStringView
GetExtension(
const FStringView& InPath,
bool bIncludeDot=
false);
93
94
95
96
97
98
99
100
101
102
106
107
108
109
110
111
112
113
114
115
116
117
121
122
123
124
125
126
127
128 static void IterateComponents(FStringView InPath, TFunctionRef<
void(FStringView)> ComponentVisitor);
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147 static void Split(
const FStringView& InPath, FStringView& OutPath, FStringView& OutName, FStringView& OutExt);
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166 template <
typename CharType,
typename... ArgTypes>
167 static void Append(TStringBuilderBase<CharType>& Builder, ArgTypes&&... Args)
181
182
183
184
185
186
187
188
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215 static bool Equals(FStringView A, FStringView B);
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239 static bool Less(FStringView A, FStringView B);
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
293
294
295
302 static void ToAbsolutePath(FStringView BasePath, FStringView InPath, FStringBuilderBase& OutPath);
323
324
325
326
327
328
329
330
331
332 static void SplitFirstComponent(FStringView InPath, FStringView& OutFirstComponent, FStringView& OutRemainder);
335
336
337
338
339
340 static void AppendPath(FStringBuilderBase& InOutPath, FStringView AppendPath);
343
344
345
346
347
348 static FStringView
GetMountPointNameFromPath(
const FStringView InPath,
bool* bOutHadClassesPrefix =
nullptr,
bool bInWithoutSlashes =
true);
#define UE_DEPRECATED(Version, Message)
static void AppendPath(FStringBuilderBase &InOutPath, FStringView AppendPath)
static void ToAbsolutePathInline(FStringBuilderBase &InOutPath)
static FStringView GetPath(const FStringView &InPath)
static FStringView GetExtension(const FStringView &InPath, bool bIncludeDot=false)
static bool IsRelativePath(FStringView InPath)
static bool Less(FStringView A, FStringView B)
static void IterateComponents(FStringView InPath, TFunctionRef< void(FStringView)> ComponentVisitor)
static bool TryMakeChildPathRelativeTo(FStringView Child, FStringView Parent, FStringView &OutRelPath)
static FString ChangeExtension(const FStringView &InPath, const FStringView &InNewExtension)
static bool IsSeparator(TCHAR c)
static bool IsParentPathOf(FStringView Parent, FStringView Child)
static FStringView GetPathLeaf(const FStringView &InPath)
static void ToAbsolutePath(FStringView BasePath, FStringView InPath, FStringBuilderBase &OutPath)
static void Split(const FStringView &InPath, FStringView &OutPath, FStringView &OutName, FStringView &OutExt)
static void ToAbsolutePathInline(FStringView BasePath, FStringBuilderBase &InOutPath)
static void NormalizeDirectoryName(FStringBuilderBase &InOutPath)
static FStringView GetCleanFilename(const FStringView &InPath)
static void RemoveDuplicateSlashes(FStringBuilderBase &InOutPath)
static FStringView GetBaseFilenameWithPath(const FStringView &InPath)
static bool IsPathLeaf(FStringView InPath)
static FStringView GetBaseFilename(const FStringView &InPath)
static void ToAbsolutePath(FStringView InPath, FStringBuilderBase &OutPath)
static FStringView GetMountPointNameFromPath(const FStringView InPath, bool *bOutHadClassesPrefix=nullptr, bool bInWithoutSlashes=true)
static void Append(TStringBuilderBase< CharType > &Builder, ArgTypes &&... Args)
static bool CollapseRelativeDirectories(FStringBuilderBase &InOutPath)
static void SplitFirstComponent(FStringView InPath, FStringView &OutFirstComponent, FStringView &OutRemainder)
static void NormalizeFilename(FStringBuilderBase &InOutPath)
static bool Equals(FStringView A, FStringView B)