PLCnext API Documentation  22.9.0.33
Path.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 
9 namespace Arp { namespace System { namespace Commons { namespace Io
10 {
11 
12 class Path
13 {
14 public: // typedefs
15 
16 public: // construction/destruction
18  Path(void) = delete;
20  Path(const Path& arg) = delete;
22  Path& operator=(const Path& arg) = delete;
24  ~Path(void) = delete;
25 
26 public: // operators
27 
28 public: // static operations
29  static String GetDirectoryName(const String& path);
30  static String GetFileTitle(const String& path);
31  static String GetFileName(const String& path);
32  static String GetExtension(const String& path);
33  static String ChangeExtension(const String& path, const String& newExtension);
34  static String GetFullPath(const String& path);
35  static String GetPathRoot(const String& path);
36  static String Combine(const String& path1, const String& path2);
37  static String GetCanonicalPath(const String& path);
38  static bool AreEqual(const String& path1, const String& path2);
39  static bool IsRelative(const String& path);
40  static bool IsAbsolute(const String& path);
41 
42 public: // setter/getter operations
43 
44 public: // operations
45 
46 protected: // operations
47 
48 private: // static methods
49 
50 private: // methods
51 
52 private: // fields
53 
54 private: // static fields
55 
56 };
57 
59 // inline methods of class Path
60 
61 }}}} // end of namespace Arp::System::Commons::Io
Definition: Path.hpp:13
Path & operator=(const Path &arg)=delete
Assignment operator.
Path(void)=delete
Constructs an File instance.
~Path(void)=delete
Destructs this instance and frees all resources.
Path(const Path &arg)=delete
Copy constructor.
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API