1 #ifndef __JROOT_PRIMITIVE_TYPES__
2 #define __JROOT_PRIMITIVE_TYPES__
9 namespace JPP {
using namespace JROOT; }
26 {
"unsigned char",
"b"},
28 {
"unsigned short",
"s"},
29 {
"unsigned int",
"i"},
38 {
"unsigned long",
"g"},
40 std::string type_code;
41 for (
const auto& type2code : type_codes) {
42 if (type2code.first == type_name) {
43 type_code = type2code.second;
static std::string getTypeCode(const std::string &type_name)
Return the type code (used to create primitive leaves in basic Root tree branches) corresponding to t...