MethodAr.h

Go to the documentation of this file.
00001 /* /% C++ %/ */
00002 /***********************************************************************
00003  * cint (C/C++ interpreter)
00004  ************************************************************************
00005  * Header file MethodAr.h
00006  ************************************************************************
00007  * Description:
00008  *  Extended Run Time Type Identification API
00009  ************************************************************************
00010  * Copyright(c) 1995~1999  Masaharu Goto 
00011  *
00012  * For the licensing terms see the file COPYING
00013  *
00014  ************************************************************************/
00015 
00016 
00017 #ifndef G__METHODARGINFO_H
00018 #define G__METHODARGINFO_H
00019 
00020 #ifndef G__API_H
00021 #include "Api.h"
00022 #endif
00023 
00024 namespace Cint {
00025 
00026 /*********************************************************************
00027 * class G__MethodArgInfo
00028 *
00029 * 
00030 *********************************************************************/
00031 class 
00032 #ifndef __CINT__
00033 G__EXPORT
00034 #endif
00035 G__MethodArgInfo {
00036  public:
00037   ~G__MethodArgInfo() {}
00038   void Init(class G__MethodInfo &a);
00039   G__MethodArgInfo(class G__MethodInfo &a)
00040     : argn(0), belongingmethod(NULL), type() { Init(a); } 
00041   G__MethodArgInfo(const G__MethodArgInfo& mai)
00042     : argn(mai.argn), belongingmethod(mai.belongingmethod), type(mai.type) 
00043       { } 
00044   G__MethodArgInfo& operator=(const G__MethodArgInfo& mai) {
00045     argn=mai.argn; belongingmethod=mai.belongingmethod; 
00046     type=mai.type; return *this;}
00047 
00048   const char *Name();
00049   G__TypeInfo* Type() { return(&type); }
00050   long Property();
00051   char *DefaultValue();
00052   G__MethodInfo* ArgOf() { return(belongingmethod); }
00053   int IsValid();
00054   int Next();
00055 
00056  private:
00057   long argn;
00058   G__MethodInfo *belongingmethod;
00059   G__TypeInfo type;
00060 
00061  public:
00062   G__MethodArgInfo(): argn(0), belongingmethod(NULL), type() {} 
00063 
00064 };
00065 
00066 } // namespace Cint
00067 
00068 using namespace Cint;
00069 #endif

Generated on Tue Jul 5 14:25:39 2011 for ROOT_528-00b_version by  doxygen 1.5.1