33using std::string, std::string_view, std::vector, std::set;
39 struct ShuttingDownSignaler :
public T {
42 ShuttingDownSignaler() =
default;
43 ShuttingDownSignaler(T &&in) : T(std::
move(in)) {}
60 if (
name.compare(0,5,
"std::")==0) {
66 for(
size_t i = 5; i <
name.length(); ++i) {
67 if (
name[i] ==
'<')
break;
84 if (i+1<
name.length() &&
name[i+1]==
':') {
98 if (i+1<
name.length() &&
name[i+1]==
':') {
143 return EComplexType::kFloat;
146 return EComplexType::kDouble;
149 return EComplexType::kInt;
152 return EComplexType::kLong;
155 return EComplexType::kNone;
210 if (fElements[0].empty())
return 0;
211 int numb = fElements.size();
212 if (!fElements[
numb-1].empty() && fElements[
numb-1][0]==
'*') --
numb;
214 if ( fNestedLocation ) {
220 int kind =
STLKind(fElements[0]);
237 if (k<0) kind = -kind;
243 if(kind>2) kind = - kind;
263 int narg = fElements.size();
274 if (fElements[
narg-1].empty() ==
false &&
275 (fElements[
narg-1][0]==
'*'
276 || fElements[
narg-1][0]==
'&'
277 || fElements[
narg-1][0]==
'['
278 || 0 == fElements[
narg-1].compare(0,6,
"const*")
279 || 0 == fElements[
narg-1].compare(0,6,
"const&")
280 || 0 == fElements[
narg-1].compare(0,6,
"const[")
281 || 0 == fElements[
narg-1].compare(
"const")
290 if (fNestedLocation)
narg--;
295 const int kind =
STLKind(fElements[0]);
301 if (!fElements[0].empty() &&
tailLoc) {
304 fElements[0].clear();
359 if (
IsDefComp( fElements[
iall].c_str(), fElements[1].c_str() ) ) {
404 if (
IsDefPred( fElements[
iall].c_str(), fElements[1].c_str() ) ) {
411 if (
IsDefHash( fElements[
iall-1].c_str(), fElements[1].c_str() ) ) {
419 unsigned int offset = (0==
strncmp(
"const ",fElements[0].c_str(),6)) ? 6 : 0;
421 if (0 ==
strcmp(fElements[0].c_str()+
offset,
"__shared_ptr"))
424 static const std::string
sharedPtrDef = std::to_string(__gnu_cxx::__default_lock_policy);
426 static const std::string
sharedPtrDef = std::to_string(2);
436 for (
int i=1;i<
narg; i++) {
437 if (!
strchr(fElements[i].c_str(),
'<')) {
439 unsigned int offset = (0==
strncmp(
"const ",fElements[i].c_str(),6)) ? 6 : 0;
466 if (!fElements[0].empty()) {
answ += fElements[0];
answ +=
"<";}
499 {
for (
int i=1;i<
narg-1; i++) {
answ += fElements[i];
answ+=
",";} }
502 if (!fElements[0].empty()) {
503 if (
answ.at(
answ.size()-1) ==
'>') {
509 if (fNestedLocation) {
512 answ += fElements[fNestedLocation];
522 return !fElements[0].empty();
531 if (
type.length() == 0)
534 if (
type.compare(0,6,
"const ")==0) {
offset += 6; }
541 static const char *
stls[] =
542 {
"any",
"vector",
"list",
"deque",
"map",
"multimap",
"set",
"multiset",
"bitset",
543 "forward_list",
"unordered_set",
"unordered_multiset",
"unordered_map",
"unordered_multimap",
nullptr};
544 static const size_t stllen[] =
545 { 3, 6, 4, 5, 3, 8, 3, 8, 6,
546 12, 13, 18, 13, 18, 0};
562 for (
int k = 1;
stls[k]; ++k) {
578 static const char stln[] =
580 { 1, 1, 1, 1, 3, 3, 2, 2, 1,
583 assert(std::size_t(kind) <
sizeof(
stln) &&
"index is out of bounds");
593 for(
size_t i = 0; i < full.length(); ++i) {
595 case '<': { ++level;
break; }
597 if (level == 0)
return i;
602 if (level == 0)
return i;
608 return full.length();
615 return pos +
findNameEnd( {full.data()+pos,full.length()-pos} );
627 constexpr auto length = std::char_traits<char>::length;
634 if (
a==
"alloc")
return true;
635 if (
a==
"__default_alloc_template<true,0>")
return true;
636 if (
a==
"__malloc_alloc_template<0>")
return true;
639 if (
a.compare(0,
alloclen,
"allocator<") != 0) {
646 string_view k = classname;
649 if (
a.compare(0,k.length(),k) != 0) {
662 a.remove_prefix(end);
664 a.remove_prefix(k.length());
667 if (
a.compare(0,1,
">")!=0 &&
a.compare(0,2,
" >")!=0) {
687 constexpr auto length = std::char_traits<char>::length;
689 if (
a.compare(0,
alloclen,
"allocator<") != 0) {
697 if (
a.compare(0,
pairlen,
"pair<") != 0) {
703 if (
a.compare(0,
constlen+1,
"const ") == 0) {
711 if (k.compare(0,
constlen+1,
"const ") == 0) {
715 if (
a.compare(0,k.length(),k) != 0) {
736 a.remove_prefix(end);
738 size_t end = k.length();
739 if ( (
a[end-1] ==
'*') ||
a[end]==
' ' ) {
745 a.remove_prefix(end);
757 if (
a.compare(0,
v.length(),
v) != 0) {
770 a.remove_prefix(end);
772 a.remove_prefix(
v.length());
775 if (
a.compare(0,1,
">")!=0 &&
a.compare(0,2,
" >")!=0) {
798 string k = classname;
799 if (
c.compare(pos,k.length(),k) != 0) {
819 if (
c.compare(pos,1,
">")!=0 &&
c.compare(pos,2,
" >")!=0) {
885 std::string first, second;
889 if (!second.empty() && second.back() ==
'>')
931 static const char*
ulonglong_s =
"unsigned long long";
959 else if ( *
cursor ==
':' ) {
975 const char *t = full.c_str();
976 const unsigned int tlen( full.size() );
993 bool isArray = ( (*starloc)==
']' );
997 isArray = ! ( (*starloc)==
'[' );
998 }
else if ( (*(
starloc-1))==
't' ) {
1069 }
else if (full.find(
"basic_string") != std::string::npos) {
1080 if ( full[
offset] ==
'>' ) {
1082 }
else if (full[
offset] ==
',') {
1084 if (full.compare(
offset, 5,
"std::") == 0) {
1093 if ( full[
offset] ==
'>') {
1095 }
else if (full[
offset] ==
' ' && full[
offset+1] ==
'>') {
1098 }
else if (full[
offset] ==
',') {
1100 if (full.compare(
offset, 5,
"std::") == 0) {
1103 static const char*
allocator_s =
"allocator<char>";
1107 if ( full[
offset] ==
'>') {
1109 }
else if (full[
offset] ==
' ' && full[
offset+1] ==
'>') {
1130 output.push_back(
string());
1133 output.push_back(
"const std::string");
1135 output.push_back(
"const string");
1139 output.push_back(
"std::string");
1141 output.push_back(
"string");
1144 if (
offset < full.length()) {
1147 string right( full.substr(
offset) );
1150 output.back().append(right.c_str()+1);
1161 unsigned int offset = (0==
strncmp(
"const ",full.c_str(),6)) ? 6 : 0;
1166 if ( !full.empty() ) {
1170 const char *
c =
strchr(full.c_str(),
'<');
1173 output.push_back(
string(full,0,
c - full.c_str()));
1182 }
else if (*
cursor ==
')') {
1189 case '<': ++level;
break;
1190 case '>': --level;
break;
1200 if (*(
cursor-1) ==
' ') {
1212 }
else if (level >= 0) {
1218 output.push_back(
string());
1245 static const char* remove[] = {
"class",
"const",
"volatile",
nullptr};
1248 for (
int k=0; remove[k]; ++k) {
1263 if (!
isalnum(
c[ 1]) &&
c[ 1] !=
'_')
continue;
1267 int n = (
mode) ? 999 : 1;
1270 for (
int k=0; k<
n && remove[k]; k++) {
1284 kbl = (!
isalnum(
c[ 0]) &&
c[ 0]!=
'_' &&
c[ 0]!=
'$' &&
c[0]!=
'[' &&
c[0]!=
']' &&
c[0]!=
'-' &&
c[0]!=
'@');
1288 if (*
c ==
'<' || *
c ==
'(')
lev++;
1290 if (!
strchr(
"*&:._$ []-@",*
c))
break;
1298 if (*
c ==
'>' || *
c ==
')')
lev--;
1338 unsigned char offset = 0;
1340 static const char *names[] = {
"CallFunc_t",
"ClassInfo_t",
"BaseClassInfo_t",
1341 "DataMemberInfo_t",
"FuncTempInfo_t",
"MethodInfo_t",
"MethodArgInfo_t",
1342 "TypeInfo_t",
"TypedefInfo_t",
nullptr};
1344 for(
int k=1;names[k];k++) {
if (
strcmp(
type+
offset,names[k])==0)
return true;}
1354 if (
strncmp(classname+
offset,
"bitset<",std::char_traits<char>::length(
"bitset<"))==0)
return true;
1372 if (
type.compare(0,6,
"const ",6) == 0)
1373 type.remove_prefix(6);
1375 while(
type[
type.length()-1]==
'*' ||
1378 type.remove_suffix(1);
1391 auto pos =
type.find(
'<');
1395 for (
decltype(
type.length()) level = 1;
c <
type.length(); ++
c) {
1396 if (
type[
c] ==
'<') ++level;
1397 if (
type[
c] ==
'>') --level;
1398 if (level == 0)
break;
1400 if (
c != (
type.length()-1) ) {
1431 constexpr auto length = std::char_traits<char>::length;
1432 classname +=
StdLen( classname );
1433 if (
strcmp(classname,
"string")==0 )
return true;
1434 if (
strncmp(classname,
"bitset<",
length(
"bitset<"))==0)
return true;
1435 if (
IsStdPair(classname) )
return true;
1436 if (
strcmp(classname,
"allocator")==0)
return true;
1437 if (
strncmp(classname,
"allocator<",
length(
"allocator<"))==0)
return true;
1438 if (
strncmp(classname,
"greater<",
length(
"greater<"))==0)
return true;
1439 if (
strncmp(classname,
"less<",
length(
"less<"))==0)
return true;
1440 if (
strncmp(classname,
"equal_to<",
length(
"equal_to<"))==0)
return true;
1441 if (
strncmp(classname,
"hash<",
length(
"hash<"))==0)
return true;
1442 if (
strncmp(classname,
"auto_ptr<",
length(
"auto_ptr<"))==0)
return true;
1444 if (
strncmp(classname,
"vector<",
length(
"vector<"))==0)
return true;
1445 if (
strncmp(classname,
"list<",
length(
"list<"))==0)
return true;
1446 if (
strncmp(classname,
"forward_list<",
length(
"forward_list<"))==0)
return true;
1447 if (
strncmp(classname,
"deque<",
length(
"deque<"))==0)
return true;
1448 if (
strncmp(classname,
"map<",
length(
"map<"))==0)
return true;
1449 if (
strncmp(classname,
"multimap<",
length(
"multimap<"))==0)
return true;
1450 if (
strncmp(classname,
"set<",
length(
"set<"))==0)
return true;
1451 if (
strncmp(classname,
"multiset<",
length(
"multiset<"))==0)
return true;
1452 if (
strncmp(classname,
"unordered_set<",
length(
"unordered_set<"))==0)
return true;
1453 if (
strncmp(classname,
"unordered_multiset<",
length(
"unordered_multiset<"))==0)
return true;
1454 if (
strncmp(classname,
"unordered_map<",
length(
"unordered_map<"))==0)
return true;
1455 if (
strncmp(classname,
"unordered_multimap<",
length(
"unordered_multimap<"))==0)
return true;
1456 if (
strncmp(classname,
"bitset<",
length(
"bitset<"))==0)
return true;
1457 if (
strncmp(classname,
"ROOT::VecOps::RVec<",
length(
"ROOT::VecOps::RVec<"))==0)
return true;
1692 if ((next+5)==
len ||
tname[next+5] ==
',' ||
tname[next+5] ==
'>' ||
tname[next+5] ==
'[') {
1695 }
else if (next!=
len &&
tname[next] !=
'*' &&
tname[next] !=
'&') {
1709 if ((next+5)==
len ||
tname[next+5] ==
' ' ||
tname[next+5] ==
'*' ||
tname[next+5] ==
'&' ||
tname[next+5] ==
',' ||
tname[next+5] ==
'>' ||
tname[next+5] ==
'[') {
1718 if ((next+5)==
len ||
tname[next+5] ==
' ' ||
tname[next+5] ==
'*' ||
tname[next+5] ==
'&' ||
tname[next+5] ==
',' ||
tname[next+5] ==
'>' ||
tname[next+5] ==
'[') {
1817 "basic_istringstream",
1820 "basic_ostringstream",
1824 "basic_stringstream",
1853 "istreambuf_iterator",
1862 "localedef utility",
1879 "moneypunct_byname",
1891 "ostreambuf_iterator",
1897 "pointer_to_binary_function",
1898 "pointer_to_unary_function",
1902 "raw_storage_iterator",
1921 "unordered_multimap",
1922 "unordered_multiset",
1984 std::vector<std::unique_ptr<NameCleanerForIO>> fArgumentNodes = {};
1986 bool fHasChanged =
false;
1990 if (!
mother)
return false;
1992 while (
nullptr !=
mother){
2006 if (
clName.back() !=
'>') {
2011 std::vector<std::string>
v;
2019 [](std::string& arg){
return (!arg.empty() && arg.front() ==
':');});
2024 for (
int i=
length-1;i>-1;i--) {
2029 }
else if (
c ==
'>') {
2057 unsigned int nargs =
v.size() - 2;
2058 for (
unsigned int i=0;i<
nargs;++i) {
2067 std::string
name(fName);
2069 if (fArgumentNodes.empty())
return name;
2074 name = fArgumentNodes.front()->ToString();
2086 name = fArgumentNodes.front()->ToString();
2093 for (
auto& node : fArgumentNodes) {
2094 name += node->ToString() +
",";
2095 fHasChanged |= node->HasChanged();
2098 name +=
name.back() ==
'>' ?
" >" :
">";
2103 const std::vector<std::unique_ptr<NameCleanerForIO>>*
GetChildNodes()
const {
return &fArgumentNodes;}
2142 for (ndim = 1;ndim <=5 ; ndim++) {
2169struct FunctionSplitInfo {
2171 std::string fReturnType;
2174 std::string fScopeName;
2177 std::string fFunctionName;
2181 std::vector<std::string> fFunctionTemplateArguments;
2184 std::vector<std::string> fFunctionParameters;
2194 for (std::size_t pos = 0, end =
haystack.length(); pos < end; ++pos) {
2197 if (
needles.find(
c) != std::string_view::npos)
2206 case '<':
expected.emplace(
'>');
break;
2207 case '(':
expected.emplace(
')');
break;
2208 case '[':
expected.emplace(
']');
break;
2211 return std::string_view::npos;
2221 if (
posColumn == std::string_view::npos)
2222 return std::string_view::npos;
2226 return std::string_view::npos;
2234 return std::string_view::npos;
2239 while (!str.empty() && std::isspace(str[0]))
2240 str.remove_prefix(1);
2241 while (!str.empty() && std::isspace(str.back()))
2242 str.remove_suffix(1);
2250 return std::string(
sv.data(),
sv.length());
2270 if (
posWS == std::string_view::npos)
2292 if (
posScope == std::string_view::npos)
2306 result.fFunctionTemplateArguments.clear();
2319 if (
posComma == std::string_view::npos) {
2332 result.fFunctionParameters.clear();
2333 if (
posArgs != std::string_view::npos) {
2335 std::string_view params =
decl.substr(
posArgs + 1);
2342 if (
posComma == std::string_view::npos) {
static void R__FindTrailing(std::string &full, std::string &stars)
static void ResolveTypedefImpl(const char *tname, unsigned int len, unsigned int &cursor, bool &modified, std::string &result)
static size_t findNameEnd(const std::string_view full)
static bool IsDefElement(const char *elementName, const char *defaultElementName, const char *classname)
return whether or not 'elementName' is the STL default Element for type 'classname'
static void ResolveTypedefProcessType(const char *tname, unsigned int, unsigned int cursor, bool constprefix, unsigned int start_of_type, unsigned int end_of_type, unsigned int mod_start_of_type, bool &modified, std::string &result)
static void RemoveStd(std::string &name, size_t pos=0)
Remove std:: and any potential inline namespace (well compiler detail namespace.
static size_t StdLen(const std::string_view name)
Return the length, if any, taken by std:: and any potential inline namespace (well compiler detail na...
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t cursor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h offset
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h length
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize id
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
Option_t Option_t TPoint TPoint const char mode
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
An helper class to dismount the name and remount it changed whenever necessary.
NameCleanerForIO(const std::string &clName="", TClassEdit::EModType mode=TClassEdit::kNone, NameCleanerForIO *mother=nullptr)
NameCleanerForIO * fMother
const std::string & GetName()
const std::vector< std::unique_ptr< NameCleanerForIO > > * GetChildNodes() const
bool AreAncestorsSTLContOrArray()
A spin mutex-as-code-guard class.
const_iterator begin() const
const_iterator end() const
virtual ~TInterpreterLookupHelper()
std::string ToString(const T &val)
Utility function for conversion to strings.
ROOT::ESTLType STLKind(std::string_view type)
Converts STL container name to number.
bool IsDefComp(const char *comp, const char *classname)
return whether or not 'compare' is the STL default comparator for type 'classname'
std::string ResolveTypedef(const char *tname, bool resolveAll=false)
bool IsStdArray(std::string_view name)
bool IsStdClass(const char *type)
return true if the class belongs to the std namespace
bool IsDefHash(const char *hashname, const char *classname)
return whether or not 'hashname' is the STL default hash for type 'classname'
bool IsStdPair(std::string_view name)
bool IsInterpreterDetail(const char *type)
Return true if the type is one the interpreter details which are only forward declared (ClassInfo_t e...
std::string InsertStd(const char *tname)
bool SplitFunction(std::string_view decl, FunctionSplitInfo &result)
Split a function declaration into its different parts.
std::string GetLong64_Name(const char *original)
Replace 'long long' and 'unsigned long long' by 'Long64_t' and 'ULong64_t'.
bool IsDefPred(const char *predname, const char *classname)
return whether or not 'predname' is the STL default predicate for type 'classname'
char * DemangleTypeIdName(const std::type_info &ti, int &errorCode)
Demangle in a portable way the type id name.
const char * GetUnqualifiedName(const char *name)
Return the start of the unqualified name include in 'original'.
bool IsVectorBool(const char *name)
void Init(TClassEdit::TInterpreterLookupHelper *helper)
ROOT::ESTLType IsSTLCont(std::string_view type)
type : type name: vector<list<classA,allocator>,allocator> result: 0 : not stl container code of cont...
std::string CleanType(const char *typeDesc, int mode=0, const char **tail=nullptr)
Cleanup type description, redundant blanks removed and redundant tail ignored return *tail = pointer ...
std::string ShortType(const char *typeDesc, int mode)
Return the absolute type of typeDesc.
char * DemangleName(const char *mangled_name, int &errorCode)
bool IsArtificial(std::string_view name)
bool GetStdArrayProperties(const char *typeName, std::string &typeNameBuf, std::array< int, 5 > &maxIndices, int &ndim)
std::string GetNameForIO(const std::string &templateInstanceName, TClassEdit::EModType mode=TClassEdit::kNone, bool *hasChanged=nullptr)
int STLArgs(int kind)
Return number of arguments for STL container before allocator.
int GetSplit(const char *type, std::vector< std::string > &output, int &nestedLoc, EModType mode=TClassEdit::kNone)
Stores in output (after emptying it) the split type.
void GetNormalizedName(std::string &norm_name, std::string_view name)
Return the normalized name.
bool IsDefAlloc(const char *alloc, const char *classname)
return whether or not 'allocname' is the STL default allocator for type 'classname'
bool IsUniquePtr(std::string_view name)
bool IsSTLBitset(const char *type)
Return true is the name is std::bitset<number> or bitset<number>
ROOT::ESTLType UnderlyingIsSTLCont(std::string_view type)
Return the type of STL collection, if any, that is the underlying type of the given type.
EComplexType GetComplexType(const char *)
Result of splitting a function declaration into fReturnType fScopeName::fFunctionName<fFunctionTempla...
bool IsTemplate()
Check if the type is a template.
int IsSTLCont(int testAlloc=0) const
type : type name: vector<list<classA,allocator>,allocator> testAlloc: if true, we test allocator,...
TSplitType(const char *type2split, EModType mode=TClassEdit::kNone)
default constructor
std::vector< std::string > fElements
ROOT::ESTLType IsInSTL() const
type : type name: vector<list<classA,allocator>,allocator>[::iterator] result: 0 : not stl container ...
void ShortType(std::string &answer, int mode)
Return the absolute type of typeDesc into the string answ.