Logo ROOT  
Reference Guide
rootcling_impl.h
Go to the documentation of this file.
1 // Authors: Axel Naumann, Philippe Canal, Danilo Piparo
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2016, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 namespace cling {
12  class Interpreter;
13 }
14 
15 namespace ROOT {
16 namespace Internal {
17 namespace RootCling {
18  struct DriverConfig {
19  bool fBuildingROOTStage1 = false;
20  const char** fPRootDir = nullptr;
21 
22  // Function that might (rootcling) or might not (rootcling_stage1) be there.
23  const char ** * (*fTROOT__GetExtraInterpreterArgs)() = nullptr;
24  const char *(*fTROOT__GetIncludeDir)() = nullptr;
25  const char *(*fTROOT__GetEtcDir)() = nullptr;
26  cling::Interpreter *(*fTCling__GetInterpreter)() = nullptr;
27  void (*fInitializeStreamerInfoROOTFile)(const char *filename) = nullptr;
28  void (*fAddStreamerInfoToROOTFile)(const char *normName) = nullptr;
29  void (*fAddTypedefToROOTFile)(const char *tdname) = nullptr;
30  void (*fAddEnumToROOTFile)(const char *tdname) = nullptr;
31  bool (*fCloseStreamerInfoROOTFile)(bool writeEmptyRootPCM) = nullptr;
32  };
33 
34  struct TROOTSYSSetter {
36  };
37 } // namespace RootCling
38 } // namespace Internal
39 } // namespace ROOT
40 
41 #ifndef R__DLLEXPORT
42 #ifdef _MSC_VER
43 #define R__DLLEXPORT __declspec(dllexport)
44 #else
45 #define R__DLLEXPORT __attribute__ ((visibility ("default")))
46 #endif
47 #endif
48 
49 extern "C" R__DLLEXPORT
50 int ROOT_rootcling_Driver(int argc, char **argv, const ROOT::Internal::RootCling::DriverConfig& config);
ROOT::Internal::RootCling::DriverConfig::fAddEnumToROOTFile
void(* fAddEnumToROOTFile)(const char *tdname)
Definition: rootcling_impl.h:30
ROOT::Internal::RootCling::DriverConfig::fAddStreamerInfoToROOTFile
void(* fAddStreamerInfoToROOTFile)(const char *normName)
Definition: rootcling_impl.h:28
ROOT::Internal::RootCling::DriverConfig::fCloseStreamerInfoROOTFile
bool(* fCloseStreamerInfoROOTFile)(bool writeEmptyRootPCM)
Definition: rootcling_impl.h:31
ROOT::Internal::RootCling::DriverConfig::fAddTypedefToROOTFile
void(* fAddTypedefToROOTFile)(const char *tdname)
Definition: rootcling_impl.h:29
ROOT::Internal::RootCling::TROOTSYSSetter::TROOTSYSSetter
TROOTSYSSetter()
Definition: rootcling_impl.cxx:152
ROOT::Internal::RootCling::DriverConfig::fInitializeStreamerInfoROOTFile
void(* fInitializeStreamerInfoROOTFile)(const char *filename)
Definition: rootcling_impl.h:27
ROOT::Internal::RootCling::TROOTSYSSetter
Definition: rootcling_impl.h:34
bool
ROOT::Internal::RootCling::DriverConfig
Definition: rootcling_impl.h:18
ROOT_rootcling_Driver
R__DLLEXPORT int ROOT_rootcling_Driver(int argc, char **argv, const ROOT::Internal::RootCling::DriverConfig &config)
Definition: rootcling_impl.cxx:6046
ROOT::Internal::RootCling::DriverConfig::fBuildingROOTStage1
bool fBuildingROOTStage1
Definition: rootcling_impl.h:19
void
typedef void((*Func_t)())
R__DLLEXPORT
#define R__DLLEXPORT
Definition: rootcling_impl.h:45
ROOT
VSD Structures.
Definition: StringConv.hxx:21
ROOT::Internal::RootCling::DriverConfig::fPRootDir
const char ** fPRootDir
Definition: rootcling_impl.h:20