/usr/include/root/Cintex/Cintex.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 | // @(#)root/cintex:$Id$
// Author: Pere Mato 2005
// Copyright CERN, CH-1211 Geneva 23, 2004-2005, All rights reserved.
//
// Permission to use, copy, modify, and distribute this software for any
// purpose is hereby granted without fee, provided that this copyright and
// permissions notice appear in all copies and derivatives.
//
// This software is provided "as is" without express or implied warranty.
#ifndef ROOT_Cintex_Cintex
#define ROOT_Cintex_Cintex
#include "Reflex/Callback.h"
#include "Reflex/Type.h"
#include "Reflex/Member.h"
// ROOT forward declarations
namespace ROOT { class TGenericClassInfo; }
class TClass;
namespace ROOT {
class TGenericClassInfo;
namespace Cintex {
class Callback : public ROOT::Reflex::ICallback {
public:
virtual void operator () ( const ROOT::Reflex::Type& t );
virtual void operator () ( const ROOT::Reflex::Member& m );
};
typedef TClass* (*ROOTCreator_t)( ROOT::Reflex::Type, ROOT::TGenericClassInfo* );
class Cintex {
private:
Cintex(const Cintex&); // not implemented
Cintex& operator=(const Cintex&); // not implemented
public:
Cintex();
~Cintex();
static void Enable();
static void SetROOTCreator(ROOTCreator_t);
static ROOTCreator_t GetROOTCreator();
static int Debug();
static void SetDebug(int);
static bool PropagateClassTypedefs();
static void SetPropagateClassTypedefs(bool);
static bool PropagateClassEnums();
static void SetPropagateClassEnums(bool);
static void Default_CreateClass(const char* name, TGenericClassInfo* gci);
private:
static Cintex& Instance();
Callback* fCallback;
ROOTCreator_t fRootcreator;
int fDbglevel;
bool fPropagateClassTypedefs;
bool fPropagateClassEnums;
bool fEnabled;
};
}
}
#endif // ROOT_Cintex_Cintex
|