Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
ESTLType.h
Go to the documentation of this file.
1 // @(#)root/metautils:
2 // Author: Philippe Canal November 2013
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2003, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_ESTLType
13 #define ROOT_ESTLType
14 
15 
16 //////////////////////////////////////////////////////////////////////////
17 // //
18 // ROOT::ESTLType //
19 // //
20 // Enum describing STL collections and some std classes //
21 // This is used in TClassEdit, TStreamerInfo, TClassEdit //
22 // and TStreamerElement. //
23 // //
24 //////////////////////////////////////////////////////////////////////////
25 
26 namespace ROOT {
27 
28  enum ESTLType {
29  kNotSTL = 0,
30  kSTLvector = 1,
31  kSTLlist = 2,
32  kSTLdeque = 3,
33  kSTLmap = 4,
34  kSTLmultimap = 5,
35  kSTLset = 6,
36  kSTLmultiset = 7,
37  kSTLbitset = 8,
38  // Here the c++11 containers start. Order counts. For example,
39  // tstreamerelements in written rootfiles carry a value and we cannot
40  // introduce shifts.
41  kSTLforwardlist = 9,
42  kSTLunorderedset = 10,
43  kSTLunorderedmultiset = 11,
44  kSTLunorderedmap = 12,
45  kSTLunorderedmultimap = 13,
46  kSTLend = 14,
47  kSTLany = 300 /* TVirtualStreamerInfo::kSTL */,
48  kSTLstring = 365 /* TVirtualStreamerInfo::kSTLstring */
49  };
50 
51 }
52 
53 #endif