1 /* /% C++ %/ */ 2 /*********************************************************************** 3 * cint (C/C++ interpreter) 4 ************************************************************************ 5 * Header file Typedf.h 6 ************************************************************************ 7 * Description: 8 * Extended Run Time Type Identification API 9 ************************************************************************ 10 * Copyright(c) 1995~1999 Masaharu Goto 11 * 12 * For the licensing terms see the file COPYING 13 * 14 ************************************************************************/ 15 16 17 #ifndef G__TYPEDEFINFO_H 18 #define G__TYPEDEFINFO_H 19 20 21 #ifndef G__API_H 22 #include "Api.h" 23 #endif 24 25 namespace Cint { 26 27 /********************************************************************* 28 * class G__TypedefInfo 29 * 30 * 31 *********************************************************************/ 32 class 33 #ifndef __CINT__ 34 G__EXPORT 35 #endif 36 G__TypedefInfo : public G__TypeInfo { 37 public: 38 ~G__TypedefInfo() {} 39 G__TypedefInfo() { Init(); } 40 void Init(); 41 G__TypedefInfo(const char *typenamein) { Init(typenamein); } 42 void Init(const char *typenamein); 43 G__TypedefInfo(int typenumin) { Init(typenumin); } 44 void Init(int typenumin); 45 G__ClassInfo EnclosingClassOfTypedef(); 46 47 const char *Title() ; 48 void SetGlobalcomp(int globalcomp); 49 int IsValid(); 50 int SetFilePos(const char* fname); 51 int Next(); 52 53 /* added with G__TYPEDEFFPOS */ 54 const char *FileName(); 55 int LineNumber(); 56 57 static int GetNumTypedefs(); 58 }; 59 60 } // namespace Cint 61 62 using namespace Cint; 63 #endif 64