PLCnext API Documentation 23.6.0.37
SecureString.hxx
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Rsc/Services/RscString.hxx"
9#include "Arp/System/Rsc/Services/RscVariant.hxx"
10
11namespace Arp { namespace System { namespace Rsc { namespace Services
12{
13
17template<int N>
18class SecureString : public RscString<N>
19{
20public: // typedefs/usings
21
22public: // construction/destruction
24 SecureString(void) = default;
27 SecureString(const char* pChars) : RscString<N>(pChars) {}
29 SecureString(const String& arg) : RscString<N>(arg) {}
31 SecureString(const SecureString& arg) = default;
33 SecureString& operator=(const SecureString& arg) = default;
35 ~SecureString(void) = default;
36
37public: // setter/getter operations
38
39public: // operations
40
41private: // fields
42};
43
45// inline methods of class SecureString
46
47
48}}}} // end of namespace Arp::System::Rsc::Services
Contains a static string with string lentgh up to N characters. The string has to be null terminated.
Definition: RscString.hxx:21
Specialized version of RscString for security context. Not implemented in this version....
Definition: SecureString.hxx:19
SecureString(const String &arg)
Copy constructor.
Definition: SecureString.hxx:29
SecureString(const char *pChars)
Constructs an SecureString instance from the given characters.
Definition: SecureString.hxx:27
SecureString(void)=default
Constructs an SecureString instance.
~SecureString(void)=default
Destructs this instance and frees all resources.
SecureString & operator=(const SecureString &arg)=default
Assignment operator.
SecureString(const SecureString &arg)=default
Copy constructor.
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API