8#include "Arp/Base/Rsc/Commons/Rsc.hpp" 
    9#include "Arp/Base/Rsc/Commons/RscType.hpp" 
   10#include "Arp/Base/Rsc/Commons/RscTypeDeduction.hpp" 
   12namespace Arp::Base::Rsc::Commons
 
   23    static const size_t InvalidSize = 
static_cast<size_t>(-1);  
 
   24    static const size_t MaxStringSize = 1024 * 1024;            
 
   28    static size_t GetDataSizeFrom(
const T& value);
 
   29    static size_t GetDataSizeOf(RscType type);
 
   32    static bool IsPrimitiveType(RscType type);
 
   33    static bool IsElementaryType(RscType type);
 
   34    static bool IsSimpleType(RscType type);
 
   35    static bool IsComplexType(RscType type);
 
   36    static bool IsStringType(RscType type);
 
   37    static bool IsConcreteType(RscType type);
 
   40    static bool HasEndianness(RscType type);
 
static constexpr RscType GetFrom(const T &)
Gets the RscType of the as argument passed parameter.
Definition: RscTypeDeduction.hpp:77
 
This pure static class provides some information of RSC types.
Definition: RscTypeInfo.hpp:18
 
static size_t GetDataSizeFrom(const T &value)
Gets the size of the as argument passed value.
Definition: RscTypeInfo.hpp:51
 
static size_t GetDataSizeOf(RscType type)
Gets the data size of the supplied RscType.
Definition: RscTypeInfo.cpp:14