/usr/include/root/Type.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 | /* /% C++ %/ */
/***********************************************************************
* cint (C/C++ interpreter)
************************************************************************
* Header file Type.h
************************************************************************
* Description:
* Extended Run Time Type Identification API
************************************************************************
* Copyright(c) 1995~2003 Masaharu Goto
*
* For the licensing terms see the file COPYING
*
************************************************************************/
#ifndef G__TYPEINFOX_H
#define G__TYPEINFOX_H
#ifndef G__API_H
#include "Api.h"
#endif
namespace Cint {
/*********************************************************************
* class G__TypeInfo
*
*********************************************************************/
class
#ifndef __CINT__
G__EXPORT
#endif
// FIXME: Warning, G__TypeReader in src/bc_type.h inherits from G__TypeInfo, we may need a virtual destructor.
G__TypeInfo : public G__ClassInfo {
friend class G__DataMemberInfo;
friend class G__MethodInfo;
friend class G__MethodArgInfo;
public:
~G__TypeInfo();
G__TypeInfo(const char* typenamein);
G__TypeInfo();
void Init(const char* typenamein);
#ifndef __MAKECINT__
G__TypeInfo(G__value);
void Init(G__value&);
void Init(struct G__var_array*, int);
G__TypeInfo(const G__TypeInfo&);
G__TypeInfo& operator=(const G__TypeInfo&);
#endif
int operator==(const G__TypeInfo&);
int operator!=(const G__TypeInfo&);
const char* Name();
const char* TrueName();
int Size() const;
long Property();
int IsValid();
void* New();
int Typenum() const;
int Type() const;
int Reftype() const;
int Isconst() const;
G__value Value() const;
protected:
long type;
long typenum;
long reftype;
long isconst;
private:
int Next(); // prohibit use of next
};
} // namespace Cint
using namespace Cint;
#endif
|