8#include "Arp/Base/Rsc/Commons/RscTypeDeduction.Impl.hpp"
10namespace Arp::Base::Rsc::Commons
15concept ArrayType = Arp::Base::Rsc::Commons::Impl::ArrayType<T>;
26 template<
class T>
constexpr RscType
Get(
void);
27 template<ArrayType T>
constexpr RscType
Get(
void);
28 template<BoundedCharArray T>
constexpr RscType
Get(
void);
31 template<
class T>
constexpr static RscType
GetFrom(
const T&);
32 template<
int N>
constexpr static RscType
GetFrom(
char[N]);
33 template<
int N>
constexpr static RscType
GetFrom(
const char[N]);
38 constexpr static RscType
GetFrom(
char*);
39 constexpr static RscType
GetFrom(
const char*);
59 return RscType::Array;
66template<BoundedCharArray T>
69 return RscType::String;
79 return Arp::Base::Rsc::Commons::Impl::GetRscType<T>();
91 return RscType::String;
103 return RscType::String;
116 return RscType::String;
129 return RscType::String;
142 return RscType::String;
155 return RscType::Object;
168 return RscType::SecureString;
Specialized implementation of RscString for secure context.
Definition: RscSecureString.hxx:16
Contains a static string with string lentgh up to N characters. The string shall be null terminated.
Definition: RscString.hxx:24
This class is used to deduct RSC types automatically by compilation.
Definition: RscTypeDeduction.hpp:24
constexpr RscType Get(void)
Gets the RscType of the as argument passed template parameter.
Definition: RscTypeDeduction.hpp:47
static constexpr RscType GetFrom(const T &)
Gets the RscType of the as argument passed parameter.
Definition: RscTypeDeduction.hpp:77
Rsc class for variant data types like primitive data type, strings or information about arrays or str...
Definition: RscVariant.hxx:57
Defines a concept for RSC arrays.
Definition: RscTypeDeduction.hpp:15
Defines a concept for RSC char arrays.
Definition: RscTypeDeduction.hpp:19