#include "DataModelRoot/RootType.h"
#include "TBaseClass.h"
#include "TClass.h"
#include "TClassEdit.h"
#include "TClassTable.h"
#include "TDataType.h"
#include "TDataMember.h"
#include "TDictAttributeMap.h"
#include "TError.h"
#include "TFunction.h"
#include "TInterpreter.h"
#include "TMethod.h"
#include "TMethodArg.h"
#include "TROOT.h"
#include "TEnum.h"
#include <assert.h>
#include <cxxabi.h>
#include <iostream>
Go to the source code of this file.
◆ ATLAS_NOT_THREAD_SAFE() [1/2]
TTypeAdapter TMemberAdapter::DeclaringType ATLAS_NOT_THREAD_SAFE |
( |
| ) |
const |
◆ ATLAS_NOT_THREAD_SAFE() [2/2]
TScopeAdapter TScopeAdapter::ByName ATLAS_NOT_THREAD_SAFE |
( |
const std::string & |
name, |
|
|
Bool_t |
load, |
|
|
Bool_t |
quiet |
|
) |
| |
◆ fundamental_type()
const std::type_info& fundamental_type |
( |
const std::string & |
name | ) |
|
Definition at line 448 of file RootType.cxx.
450 const char* typname =
name.c_str();
453 if ( strcmp(typname,
"bool") ==0 )
return typeid(
bool);
456 if ( strcmp(typname,
"char") ==0 )
return typeid(
char);
459 if ( strcmp(typname,
"long") ==0 )
return typeid(
long);
460 if ( strcmp(typname,
"long long") ==0 )
return typeid(
long long);
461 if ( strcmp(typname,
"long long int") ==0 )
return typeid(
long long int);
464 if ( strcmp(typname,
"int") ==0 )
return typeid(
int);
467 if ( strcmp(typname,
"double") ==0 )
return typeid(
double);
470 if ( strcmp(typname,
"float") ==0 )
return typeid(
float);
473 if( strcmp(typname,
"short") ==0 )
return typeid(
short);
474 if( strcmp(typname,
"short int") ==0 )
return typeid(
short int);
477 if ( strcmp(typname,
"unsigned char") ==0 )
return typeid(
unsigned char);
478 if ( strcmp(typname,
"unsigned long") ==0 )
return typeid(
unsigned long);
479 if ( strcmp(typname,
"unsigned long long") ==0 )
return typeid(
unsigned long long);
480 if ( strcmp(typname,
"unsigned long long int") ==0 )
return typeid(
unsigned long long int);
481 if ( strcmp(typname,
"unsigned int") ==0 )
return typeid(
unsigned int);
482 if ( strcmp(typname,
"unsigned short") ==0 )
return typeid(
unsigned short);
483 if ( strcmp(typname,
"unsigned short int") ==0 )
return typeid(
unsigned short int);
486 if ( strcmp(typname,
"void") ==0 )
return typeid(
void);
489 cerr <<
"WARNING! RootType getting typeinfo failed for: " << typname << endl;
◆ is_fundamental_type()
bool is_fundamental_type |
( |
const std::string & |
name | ) |
|
Definition at line 385 of file RootType.cxx.
387 const char* typname =
name.c_str();
390 if ( strcmp(typname,
"bool") ==0 )
return true;
393 if ( strcmp(typname,
"char") ==0 )
return true;
396 if ( strncmp(typname,
"lib",3) ==0 )
return true;
397 if ( strcmp(typname,
"long") ==0 )
return true;
398 if ( strcmp(typname,
"long long") ==0 )
return true;
399 if ( strcmp(typname,
"long long int") ==0 )
return true;
402 if ( strcmp(typname,
"Long_t") ==0 )
return true;
403 if ( strcmp(typname,
"Long64_t") ==0 )
return true;
406 if ( strcmp(typname,
"int") ==0 )
return true;
407 if ( strcmp(typname,
"__int64") ==0 )
return true;
410 if ( strcmp(typname,
"Int_t") ==0 )
return true;
413 if ( strncmp(typname,
"enum ",5) ==0 )
return true;
416 if ( strcmp(typname,
"double") ==0 )
return true;
419 if ( strcmp(typname,
"Double_t") ==0 )
return true;
422 if ( strcmp(typname,
"float") ==0 )
return true;
425 if ( strcmp(typname,
"Float_t") ==0 )
return true;
428 if( strcmp(typname,
"short") ==0 )
return true;
429 if( strcmp(typname,
"short int") ==0 )
return true;
432 if ( strcmp(typname,
"Short_t") ==0 )
return true;
435 if ( strncmp(typname,
"unknown",7) ==0 )
return true;
436 if ( strcmp(typname,
"unsigned int") ==0 )
return true;
437 if ( strcmp(typname,
"unsigned short") ==0 )
return true;
438 if ( strcmp(typname,
"unsigned long") ==0 )
return true;
439 if ( strcmp(typname,
"unsigned char") ==0 )
return true;
440 if ( strcmp(typname,
"unsigned long long") ==0 )
return true;
441 if ( strcmp(typname,
"unsigned long long int") ==0 )
return true;