/usr/include/root/Method.h is in libroot-core-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | /* /% C++ %/ */
/***********************************************************************
* cint (C/C++ interpreter)
************************************************************************
* Header file Method.h
************************************************************************
* Description:
* Extended Run Time Type Identification API
************************************************************************
* Copyright(c) 1995~2005 Masaharu Goto
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#ifndef G__METHODINFO_H
#define G__METHODINFO_H
#ifndef G__API_H
#include "Api.h"
#endif
namespace Cint {
/*********************************************************************
* class G__MethodInfo
*
*
*********************************************************************/
class
#ifndef __CINT__
G__EXPORT
#endif
G__MethodInfo {
friend class G__MethodArgInfo;
public:
~G__MethodInfo() { if (memberOf != belongingclass) delete memberOf; }
G__MethodInfo()
: handle(0), index(0), usingIndex(0), belongingclass(NULL), memberOf(0), type()
{ Init(); }
G__MethodInfo(G__ClassInfo &a)
: handle(0), index(0), usingIndex(0), belongingclass(NULL), memberOf(0), type()
{ Init(a); }
G__MethodInfo(const G__MethodInfo& mi)
: handle(mi.handle), index(mi.index), usingIndex(mi.usingIndex),
belongingclass(mi.belongingclass), memberOf(0), type(mi.type) {}
G__MethodInfo& operator=(const G__MethodInfo& mi) {
if (&mi != this) {
handle=mi.handle; index=mi.index; usingIndex=mi.usingIndex;
belongingclass=mi.belongingclass; memberOf=NULL; type=mi.type;
}
return *this;}
void Init();
void Init(G__ClassInfo &a);
void Init(long handlein,long indexin,G__ClassInfo *belongingclassin);
void Init(G__ClassInfo *belongingclassin,long funcpage,long indexin);
const char *Name() ;
#ifndef __MAKECINT__
int Hash() ;
struct G__ifunc_table* ifunc();
#endif
long Handle() { return(handle); }
int Index() { return ((int)index); }
const char *Title() ;
G__TypeInfo* Type() { return(&type); }
long Property();
int NArg();
int NDefaultArg();
int HasVarArgs();
G__InterfaceMethod InterfaceMethod();
#ifdef G__ASM_WHOLEFUNC
struct G__bytecodefunc *GetBytecode();
#endif
G__DataMemberInfo GetLocalVariable(); /* ON1163 */
#ifdef G__TRUEP2F
void* PointerToFunc();
#endif
G__ClassInfo* CreatedBy() { return(belongingclass); }
G__ClassInfo* MemberOf();
int GetDefiningScopeTagnum();
struct G__friendtag* GetFriendInfo();
void SetGlobalcomp(int globalcomp);
void SetForceStub();
int IsValid();
int SetFilePos(const char* fname);
int Next();
const char *FileName();
int LineNumber();
int Size();
int IsBusy();
FILE* FilePointer();
long FilePosition();
char* GetPrototype();
char* GetMangledName();
int LoadDLLDirect(const char* filename,const char* funcname);
void SetVtblIndex(int vtblindex);
void SetIsVirtual(int isvirtual);
void SetVtblBasetagnum(int basetagnum);
void SetUserParam(void*);
void *GetUserParam();
long GetThisPointerOffset();
protected:
long handle;
long index;
#ifndef G__OLDIMPLEMENTATION2194
long usingIndex;
#endif
G__ClassInfo* belongingclass;
G__ClassInfo* memberOf;
G__TypeInfo type;
};
} // namespace Cint
using namespace Cint;
#endif
|