PLCnext API Documentation 23.0.2.9
Path.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8
9namespace Arp { namespace System { namespace Commons { namespace Io
10{
11
12class Path
13{
14public: // typedefs
15
16public: // construction/destruction
18 Path(void) = delete;
20 Path(const Path& arg) = delete;
22 Path& operator=(const Path& arg) = delete;
24 ~Path(void) = delete;
25
26public: // operators
27
28public: // 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
42public: // setter/getter operations
43
44public: // operations
45
46protected: // operations
47
48private: // static methods
49
50private: // methods
51
52private: // fields
53
54private: // 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