Logo ROOT   6.10/09
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 #include "THashTable.h"
27 
28 class TDataType;
29 
30 class TListOfTypes : public THashTable
31 {
32 public:
33  TListOfTypes();
34 
36  virtual TObject *FindObject(const char *name) const;
37 
38  TDataType *FindType(const char *name) const;
39 };
40 
41 
42 #endif
43 
THashTable implements a hash table to store TObject's.
Definition: THashTable.h:35
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:44
A collection of TDataType designed to hold the typedef information and numerical type information...
Definition: TListOfTypes.h:30
TObject * FindObject(const char *name) const
Find object using its name.
Definition: THashTable.cxx:210
Mother of all ROOT objects.
Definition: TObject.h:37