Logo ROOT   6.08/07
Reference Guide
TListOfTypes.h
Go to the documentation of this file.
1 // @(#)root/cont
2 // Author: Philippe Canal Aug 2013
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2013, 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_TListOfTypes
13 #define ROOT_TListOfTypes
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TListOfTypes //
18 // //
19 // A collection of TDataType designed to hold the typedef information //
20 // and numerical type information. The collection is populated on //
21 // demand. //
22 // //
23 //////////////////////////////////////////////////////////////////////////
24 
25 
26 #ifndef ROOT_THastTable
27 #include "THashTable.h"
28 #endif
29 
30 class TDataType;
31 
32 class TListOfTypes : public THashTable
33 {
34 public:
35  TListOfTypes();
36 
38  virtual TObject *FindObject(const char *name) const;
39 
40  TDataType *FindType(const char *name) const;
41 };
42 
43 
44 #endif
45 
THashTable implements a hash table to store TObject's.
Definition: THashTable.h:39
virtual TObject * FindObject(const char *name) const
Find an object in this collection using its name.
TDataType * FindType(const char *name) const
Basic data type descriptor (datatype information is obtained from CINT).
Definition: TDataType.h:46
A collection of TDataType designed to hold the typedef information and numerical type information...
Definition: TListOfTypes.h:32
TObject * FindObject(const char *name) const
Find object using its name.
Definition: THashTable.cxx:210
Mother of all ROOT objects.
Definition: TObject.h:37
char name[80]
Definition: TGX11.cxx:109