33using std::string, std::string_view, std::vector, std::set;
39struct ShuttingDownSignaler :
public T {
42 ShuttingDownSignaler() =
default;
43 ShuttingDownSignaler(T &&in) : T(std::
move(in)) {}
56 while (!s.empty() && s[0] ==
' ')
67 if (
name.compare(0, 5,
"std::") == 0) {
73 for (
size_t i = 5; i <
name.length(); ++i) {
92 if (i + 1 <
name.length() &&
name[i + 1] ==
':') {
105 if (i + 1 <
name.length() &&
name[i + 1] ==
':') {
148 if (
name.length() > 2 &&
name[0] ==
':' &&
name[1] ==
':') {
162 return EComplexType::kFloat;
165 return EComplexType::kDouble;
168 return EComplexType::kInt;
171 return EComplexType::kLong;
174 return EComplexType::kNone;
229 if (fElements[0].empty())
return 0;
230 int numb = fElements.size();
231 if (!fElements[
numb-1].empty() && fElements[
numb-1][0]==
'*') --
numb;
233 if ( fNestedLocation ) {
239 int kind =
STLKind(fElements[0]);
256 if (k<0) kind = -kind;
262 if(kind>2) kind = - kind;
282 int narg = fElements.size();
293 if (fElements[
narg-1].empty() ==
false &&
294 (fElements[
narg-1][0]==
'*'
295 || fElements[
narg-1][0]==
'&'
296 || fElements[
narg-1][0]==
'['
297 || 0 == fElements[
narg-1].compare(0,6,
"const*")
298 || 0 == fElements[
narg-1].compare(0,6,
"const&")
299 || 0 == fElements[
narg-1].compare(0,6,
"const[")
300 || 0 == fElements[
narg-1].compare(
"const")
309 if (fNestedLocation)
narg--;
314 const int kind =
STLKind(fElements[0]);
320 if (!fElements[0].empty() &&
tailLoc) {
323 fElements[0].clear();
378 if (
IsDefComp( fElements[
iall].c_str(), fElements[1].c_str() ) ) {
423 if (
IsDefPred( fElements[
iall].c_str(), fElements[1].c_str() ) ) {
430 if (
IsDefHash( fElements[
iall-1].c_str(), fElements[1].c_str() ) ) {
438 unsigned int offset = (0==
strncmp(
"const ",fElements[0].c_str(),6)) ? 6 : 0;
440 if (0 ==
strcmp(fElements[0].c_str()+
offset,
"__shared_ptr"))
443 static const std::string
sharedPtrDef = std::to_string(__gnu_cxx::__default_lock_policy);
445 static const std::string
sharedPtrDef = std::to_string(2);
455 for (
int i=1;i<
narg; i++) {
456 if (!
strchr(fElements[i].c_str(),
'<')) {
458 unsigned int offset = (0==
strncmp(
"const ",fElements[i].c_str(),6)) ? 6 : 0;
488 if (!fElements[0].empty()) {
answ += fElements[0];
answ +=
"<";}
521 {
for (
int i=1;i<
narg-1; i++) {
answ += fElements[i];
answ+=
",";} }
524 if (!fElements[0].empty()) {
525 if (
answ.at(
answ.size()-1) ==
'>') {
531 if (fNestedLocation) {
534 answ += fElements[fNestedLocation];
544 return !fElements[0].empty();
553 if (
type.length() == 0)
556 if (
type.compare(0,6,
"const ")==0) {
offset += 6; }
563 static const char *
stls[] =
564 {
"any",
"vector",
"list",
"deque",
"map",
"multimap",
"set",
"multiset",
"bitset",
565 "forward_list",
"unordered_set",
"unordered_multiset",
"unordered_map",
"unordered_multimap",
nullptr};
566 static const size_t stllen[] =
567 { 3, 6, 4, 5, 3, 8, 3, 8, 6,
568 12, 13, 18, 13, 18, 0};
584 for (
int k = 1;
stls[k]; ++k) {
600 static const char stln[] =
602 { 1, 1, 1, 1, 3, 3, 2, 2, 1,
605 assert(std::size_t(kind) <
sizeof(
stln) &&
"index is out of bounds");
615 for(
size_t i = 0; i < full.length(); ++i) {
617 case '<': { ++level;
break; }
619 if (level == 0)
return i;
624 if (level == 0)
return i;
630 return full.length();
637 return pos +
findNameEnd( {full.data()+pos,full.length()-pos} );
649 constexpr auto length = std::char_traits<char>::length;
656 if (
a==
"alloc")
return true;
657 if (
a==
"__default_alloc_template<true,0>")
return true;
658 if (
a==
"__malloc_alloc_template<0>")
return true;
661 if (
a.compare(0,
alloclen,
"allocator<") != 0) {
669 string_view k = classname;
672 if (
a.compare(0,k.length(),k) != 0) {
685 a.remove_prefix(end);
687 a.remove_prefix(k.length());
692 if (
a.compare(0, 1,
">") != 0) {
713 constexpr auto length = std::char_traits<char>::length;
715 if (
a.compare(0,
alloclen,
"allocator<") != 0) {
724 if (
a.compare(0,
pairlen,
"pair<") != 0) {
730 if (
a.compare(0,
constlen+1,
"const ") == 0) {
739 if (k.compare(0,
constlen+1,
"const ") == 0) {
743 if (
a.compare(0,k.length(),k) != 0) {
764 a.remove_prefix(end);
767 a.remove_prefix(k.length());
769 if (
a.compare(0,
constlen,
"const") == 0) {
783 if (
a.compare(0,
v.length(),
v) != 0) {
796 a.remove_prefix(end);
798 a.remove_prefix(
v.length());
803 if (
a.compare(0, 1,
">") != 0) {
826 string k = classname;
827 if (
c.compare(pos,k.length(),k) != 0) {
847 if (
c.compare(pos,1,
">")!=0 &&
c.compare(pos,2,
" >")!=0) {
915 std::string first, second;
919 if (!second.empty() && second.back() ==
'>')
968 static const char*
ulonglong_s =
"unsigned long long";
996 else if ( *
cursor ==
':' ) {
1012 const char *t = full.c_str();
1013 const unsigned int tlen( full.size() );
1030 bool isArray = ( (*starloc)==
']' );
1034 isArray = ! ( (*starloc)==
'[' );
1035 }
else if ( (*(
starloc-1))==
't' ) {
1105 if (full.compare(
prefix_offset, 17,
"basic_string<char") == 0) {
1112 if ( full[
offset] ==
'>' ) {
1114 }
else if (full[
offset] ==
',') {
1116 if (full.compare(
offset, 5,
"std::") == 0) {
1125 if ( full[
offset] ==
'>') {
1127 }
else if (full[
offset] ==
' ' && full[
offset+1] ==
'>') {
1130 }
else if (full[
offset] ==
',') {
1132 if (full.compare(
offset, 5,
"std::") == 0) {
1135 static const char*
allocator_s =
"allocator<char>";
1139 if ( full[
offset] ==
'>') {
1141 }
else if (full[
offset] ==
' ' && full[
offset+1] ==
'>') {
1162 output.push_back(
string());
1165 output.push_back(
"const std::string");
1167 output.push_back(
"const string");
1171 output.push_back(
"std::string");
1173 output.push_back(
"string");
1176 if (
offset < full.length()) {
1179 string right( full.substr(
offset) );
1182 output.back().append(right.c_str()+1);
1193 unsigned int offset = (0==
strncmp(
"const ",full.c_str(),6)) ? 6 : 0;
1198 if ( !full.empty() ) {
1202 const char *
c =
strchr(full.c_str(),
'<');
1205 output.push_back(
string(full,0,
c - full.c_str()));
1214 }
else if (*
cursor ==
')') {
1221 case '<': ++level;
break;
1222 case '>': --level;
break;
1232 if (*(
cursor-1) ==
' ') {
1244 }
else if (level >= 0) {
1250 output.push_back(
string());
1277 constexpr static std::array<const char *, 3> remove{
"class",
"const",
"volatile"};
1278 constexpr static auto lengths = []()
constexpr {
1279 std::array<std::size_t, std::size(remove)>
ret{};
1280 for (std::size_t i = 0; i < remove.size(); i++)
1281 ret[i] = std::char_traits<char>::length(remove[i]);
1293 if (!
isalnum(
c[ 1]) &&
c[ 1] !=
'_')
continue;
1297 size_t n = (
mode) ? std::size(remove) : 1;
1300 for (
size_t k = 0; k <
n; k++) {
1314 kbl = (!
isalnum(
c[ 0]) &&
c[ 0]!=
'_' &&
c[ 0]!=
'$' &&
c[0]!=
'[' &&
c[0]!=
']' &&
c[0]!=
'-' &&
c[0]!=
'@');
1318 if (*
c ==
'<' || *
c ==
'(')
lev++;
1320 if (!
strchr(
"*&:._$ []-@",*
c))
break;
1328 if (*
c ==
'>' || *
c ==
')')
lev--;
1368 unsigned char offset = 0;
1370 static const char *names[] = {
"CallFunc_t",
"ClassInfo_t",
"BaseClassInfo_t",
1371 "DataMemberInfo_t",
"FuncTempInfo_t",
"MethodInfo_t",
"MethodArgInfo_t",
1372 "TypeInfo_t",
"TypedefInfo_t",
nullptr};
1374 for(
int k=1;names[k];k++) {
if (
strcmp(
type+
offset,names[k])==0)
return true;}
1384 if (
strncmp(classname+
offset,
"bitset<",std::char_traits<char>::length(
"bitset<"))==0)
return true;
1402 if (
type.compare(0,6,
"const ",6) == 0)
1403 type.remove_prefix(6);
1405 while(
type[
type.length()-1]==
'*' ||
1408 type.remove_suffix(1);
1421 auto pos =
type.find(
'<');
1425 for (
decltype(
type.length()) level = 1;
c <
type.length(); ++
c) {
1426 if (
type[
c] ==
'<') ++level;
1427 if (
type[
c] ==
'>') --level;
1428 if (level == 0)
break;
1430 if (
c != (
type.length()-1) ) {
1461 constexpr auto length = std::char_traits<char>::length;
1462 classname +=
StdLen( classname );
1463 if (
strcmp(classname,
"string")==0 )
return true;
1464 if (
strncmp(classname,
"bitset<",
length(
"bitset<"))==0)
return true;
1465 if (
IsStdPair(classname) )
return true;
1466 if (
strcmp(classname,
"allocator")==0)
return true;
1467 if (
strncmp(classname,
"allocator<",
length(
"allocator<"))==0)
return true;
1468 if (
strncmp(classname,
"greater<",
length(
"greater<"))==0)
return true;
1469 if (
strncmp(classname,
"less<",
length(
"less<"))==0)
return true;
1470 if (
strncmp(classname,
"equal_to<",
length(
"equal_to<"))==0)
return true;
1471 if (
strncmp(classname,
"hash<",
length(
"hash<"))==0)
return true;
1472 if (
strncmp(classname,
"auto_ptr<",
length(
"auto_ptr<"))==0)
return true;
1474 if (
strncmp(classname,
"vector<",
length(
"vector<"))==0)
return true;
1475 if (
strncmp(classname,
"list<",
length(
"list<"))==0)
return true;
1476 if (
strncmp(classname,
"forward_list<",
length(
"forward_list<"))==0)
return true;
1477 if (
strncmp(classname,
"deque<",
length(
"deque<"))==0)
return true;
1478 if (
strncmp(classname,
"map<",
length(
"map<"))==0)
return true;
1479 if (
strncmp(classname,
"multimap<",
length(
"multimap<"))==0)
return true;
1480 if (
strncmp(classname,
"set<",
length(
"set<"))==0)
return true;
1481 if (
strncmp(classname,
"multiset<",
length(
"multiset<"))==0)
return true;
1482 if (
strncmp(classname,
"unordered_set<",
length(
"unordered_set<"))==0)
return true;
1483 if (
strncmp(classname,
"unordered_multiset<",
length(
"unordered_multiset<"))==0)
return true;
1484 if (
strncmp(classname,
"unordered_map<",
length(
"unordered_map<"))==0)
return true;
1485 if (
strncmp(classname,
"unordered_multimap<",
length(
"unordered_multimap<"))==0)
return true;
1486 if (
strncmp(classname,
"bitset<",
length(
"bitset<"))==0)
return true;
1487 if (
strncmp(classname,
"ROOT::VecOps::RVec<",
length(
"ROOT::VecOps::RVec<"))==0)
return true;
1722 if ((next+5)==
len ||
tname[next+5] ==
',' ||
tname[next+5] ==
'>' ||
tname[next+5] ==
'[') {
1725 }
else if (next!=
len &&
tname[next] !=
'*' &&
tname[next] !=
'&') {
1739 if ((next+5)==
len ||
tname[next+5] ==
' ' ||
tname[next+5] ==
'*' ||
tname[next+5] ==
'&' ||
tname[next+5] ==
',' ||
tname[next+5] ==
'>' ||
tname[next+5] ==
'[') {
1748 if ((next+5)==
len ||
tname[next+5] ==
' ' ||
tname[next+5] ==
'*' ||
tname[next+5] ==
'&' ||
tname[next+5] ==
',' ||
tname[next+5] ==
'>' ||
tname[next+5] ==
'[') {
1847 "basic_istringstream",
1850 "basic_ostringstream",
1854 "basic_stringstream",
1883 "istreambuf_iterator",
1892 "localedef utility",
1909 "moneypunct_byname",
1921 "ostreambuf_iterator",
1927 "pointer_to_binary_function",
1928 "pointer_to_unary_function",
1932 "raw_storage_iterator",
1951 "unordered_multimap",
1952 "unordered_multiset",
2014 std::vector<std::unique_ptr<NameCleanerForIO>> fArgumentNodes = {};
2016 bool fHasChanged =
false;
2020 if (!
mother)
return false;
2022 while (
nullptr !=
mother){
2036 if (
clName.back() !=
'>') {
2041 std::vector<std::string>
v;
2049 [](std::string& arg){
return (!arg.empty() && arg.front() ==
':');});
2054 for (
int i=
length-1;i>-1;i--) {
2059 }
else if (
c ==
'>') {
2087 unsigned int nargs =
v.size() - 2;
2088 for (
unsigned int i=0;i<
nargs;++i) {
2097 std::string
name(fName);
2099 if (fArgumentNodes.empty())
return name;
2104 name = fArgumentNodes.front()->ToString();
2116 name = fArgumentNodes.front()->ToString();
2123 for (
auto& node : fArgumentNodes) {
2124 name += node->ToString() +
",";
2125 fHasChanged |= node->HasChanged();
2128 name +=
name.back() ==
'>' ?
" >" :
">";
2133 const std::vector<std::unique_ptr<NameCleanerForIO>>*
GetChildNodes()
const {
return &fArgumentNodes;}
2172 for (ndim = 1;ndim <=5 ; ndim++) {
2199struct FunctionSplitInfo {
2201 std::string fReturnType;
2204 std::string fScopeName;
2207 std::string fFunctionName;
2211 std::vector<std::string> fFunctionTemplateArguments;
2214 std::vector<std::string> fFunctionParameters;
2224 for (std::size_t pos = 0, end =
haystack.length(); pos < end; ++pos) {
2227 if (
needles.find(
c) != std::string_view::npos)
2236 case '<':
expected.emplace(
'>');
break;
2237 case '(':
expected.emplace(
')');
break;
2238 case '[':
expected.emplace(
']');
break;
2241 return std::string_view::npos;
2251 if (
posColumn == std::string_view::npos)
2252 return std::string_view::npos;
2256 return std::string_view::npos;
2264 return std::string_view::npos;
2269 while (!str.empty() && std::isspace(str[0]))
2270 str.remove_prefix(1);
2271 while (!str.empty() && std::isspace(str.back()))
2272 str.remove_suffix(1);
2280 return std::string(
sv.data(),
sv.length());
2300 if (
posWS == std::string_view::npos)
2322 if (
posScope == std::string_view::npos)
2336 result.fFunctionTemplateArguments.clear();
2349 if (
posComma == std::string_view::npos) {
2362 result.fFunctionParameters.clear();
2363 if (
posArgs != std::string_view::npos) {
2365 std::string_view params =
decl.substr(
posArgs + 1);
2372 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)
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
A RAII helper to remove and readd enclosing _Atomic() It expects no spaces at the beginning or end of...
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.