PLCnext API Documentation 25.0.2.69
Convert.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8
9namespace Arp::Base::Core
10{
11
19class ARP_EXPORT Convert
20{
21public: // construction/destruction
22 Convert(void) = delete;
23
24public: // static operations
25 template<class T> static T ToValue(const char* input);
26 template<class T> static T ToValue(const String& input);
27 template<class T> static String ToString(const T& value);
28};
29
30} // end of namespace Arp::Base::Core
31
32#include "Arp/Base/Core/Detail/Convert.ipp"
33
34namespace Arp {
37}
This pure static class converts values of arbitrary Arp type from and to string, respectively.
Definition: Convert.hpp:20
Convert(void)=delete
Deleted default constructor to make this class pure static.
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
Root namespace for the PLCnext API