FAST.Framework  1.0.0
FPath.h
1 /******************************************************************************
2 **
3 ** FAST.Framework
4 **
5 ** Created: 2023-10-11
6 ** Author: Boris Fast
7 ** Mail: support@fast-framework.com
8 **
9 ******************************************************************************/
10 
11 #ifndef FPATH_H
12 #define FPATH_H
13 
14 using namespace std;
15 
16 #include "FDataTypes.h"
17 
18 class FString;
19 
23 class FPath
24 {
25  public:
26  FPath(const FPath&) = delete;
27  FPath(FPath&&) = delete;
28  FPath() = delete;
29  FPath& operator=(const FPath&) = delete;
30 
31  static const FString& Combine(const FString& root,
32  const FString& path);
33  static const FString& DirectoryName(const FString& path);
34  static const FString& FolderName(const FString& path);
35  static const FString& FileName(const FString& path);
36  static const FString& Extension(const FString& path);
37 
38  static Boolean HasExtension(const FString& path);
40 
41  static Boolean Exists(const FString& path);
42  static Boolean IsFile(const FString& path);
43  static Boolean IsDirectory(const FString& path);
44 
45  private:
46 };
47 
48 #endif // FPATH_H
Definition: FPath.h:24
FPath()=delete
Delete standard constructor.
FPath & operator=(const FPath &)=delete
Delete copy operator.
FPath(const FPath &)=delete
Delete standard constructor.
FPath(FPath &&)=delete
Delete standard constructor.
Definition: FString.h:22