#include "precommondefs.h"
#include "cpp_cppyy.h"
#include "callcontext.h"
#include "TBaseClass.h"
#include "TClass.h"
#include "TClassRef.h"
#include "TClassTable.h"
#include "TClassEdit.h"
#include "TCollection.h"
#include "TDataMember.h"
#include "TDataType.h"
#include "TEnum.h"
#include "TEnumConstant.h"
#include "TEnv.h"
#include "TError.h"
#include "TException.h"
#include "TFunction.h"
#include "TFunctionTemplate.h"
#include "TGlobal.h"
#include "THashList.h"
#include "TInterpreter.h"
#include "TList.h"
#include "TListOfDataMembers.h"
#include "TListOfEnums.h"
#include "TMethod.h"
#include "TMethodArg.h"
#include "TROOT.h"
#include "TSystem.h"
#include "TThread.h"
#include <cassert>
#include <algorithm>
#include <climits>
#include <stdexcept>
#include <map>
#include <new>
#include <set>
#include <sstream>
#include <csignal>
#include <cstdlib>
#include <cstring>
#include <typeinfo>
#include <iostream>
Macros | |
#define | _CRT_SECURE_NO_WARNINGS |
#define | CPPYY_IMP_CALL(typecode, rtype) |
#define | DIRECT_CALL ((size_t)1 << (8 * sizeof(size_t) - 1)) |
#define | FILL_COLL(type, filter) |
Typedefs | |
typedef std::vector< TClassRef > | ClassRefs_t |
typedef std::vector< TGlobal * > | GlobalVars_t |
typedef std::map< TGlobal *, GlobalVars_t::size_type > | GlobalVarsIndices_t |
typedef std::map< std::string, ClassRefs_t::size_type > | Name2ClassRefIndex_t |
typedef CPyCppyy::Parameter | Parameter |
Variables | |
static std::set< std::string > | g_builtins |
static GlobalVarsIndices_t | g_globalidx |
static GlobalVars_t | g_globalvars |
static Name2ClassRefIndex_t | g_name2classrefidx |
static bool | gEnableFastPath = true |
static std::set< std::string > | gInitialNames |
static const ClassRefs_t::size_type | GLOBAL_HANDLE = 1 |
static std::map< TDictionary::DeclId_t, CallWrapper * > | gMethodTemplates |
static std::set< std::string > | gRootSOs |
static std::set< std::string > | gSmartPtrTypes |
static std::set< std::string > | gSTLNames |
static std::vector< CallWrapper * > | gWrapperHolder |
static std::map< std::string, std::string > | resolved_enum_types |
static std::map< Cppyy::TCppType_t, bool > | sHasOperatorDelete |
const int | SMALL_ARGS_N = 8 |
static const ClassRefs_t::size_type | STD_HANDLE = GLOBAL_HANDLE + 1 |
#define _CRT_SECURE_NO_WARNINGS |
Definition at line 4 of file clingwrapper.cxx.
Definition at line 938 of file clingwrapper.cxx.
#define DIRECT_CALL ((size_t)1 << (8 * sizeof(size_t) - 1)) |
Definition at line 65 of file clingwrapper.cxx.
#define FILL_COLL | ( | type, | |
filter ) |
Definition at line 1172 of file clingwrapper.cxx.
typedef std::vector<TClassRef> ClassRefs_t |
Definition at line 71 of file clingwrapper.cxx.
typedef std::vector<TGlobal*> GlobalVars_t |
Definition at line 145 of file clingwrapper.cxx.
typedef std::map<TGlobal*, GlobalVars_t::size_type> GlobalVarsIndices_t |
Definition at line 146 of file clingwrapper.cxx.
typedef std::map<std::string, ClassRefs_t::size_type> Name2ClassRefIndex_t |
Definition at line 76 of file clingwrapper.cxx.
Definition at line 57 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 66 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 930 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 1183 of file clingwrapper.cxx.
Definition at line 850 of file clingwrapper.cxx.
Definition at line 2183 of file clingwrapper.cxx.
Definition at line 395 of file clingwrapper.cxx.
|
static |
|
inlinestatic |
Definition at line 2280 of file clingwrapper.cxx.
|
static |
Definition at line 816 of file clingwrapper.cxx.
Cppyy::TCppIndex_t GetLongestInheritancePath | ( | TClass * | klass | ) |
Retrieve number of base classes in the longest branch of the inheritance tree of the input class.
[in] | klass | The class to start the retrieval process from. |
This is a helper function for Cppyy::GetNumBasesLongestBranch. Given an inheritance tree, the function assigns weight 1 to each class that has at least one base. Starting from the input class, the function is called recursively on all the bases. For each base the return value is one (the weight of the base itself) plus the maximum value retrieved for their bases in turn. For example, given the following inheritance tree:
calling this function on an instance of C
will return 3, the steps required to go from C to X.
Definition at line 1423 of file clingwrapper.cxx.
Definition at line 415 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 373 of file clingwrapper.cxx.
Definition at line 403 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 138 of file clingwrapper.cxx.
Definition at line 130 of file clingwrapper.cxx.
Definition at line 1160 of file clingwrapper.cxx.
Definition at line 1134 of file clingwrapper.cxx.
Definition at line 872 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 1963 of file clingwrapper.cxx.
Definition at line 1969 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2116 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2108 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 366 of file clingwrapper.cxx.
Definition at line 2057 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 879 of file clingwrapper.cxx.
|
static |
Definition at line 159 of file clingwrapper.cxx.
|
static |
Definition at line 149 of file clingwrapper.cxx.
|
static |
Definition at line 148 of file clingwrapper.cxx.
|
static |
Definition at line 77 of file clingwrapper.cxx.
Definition at line 176 of file clingwrapper.cxx.
|
static |
Definition at line 172 of file clingwrapper.cxx.
|
static |
Definition at line 73 of file clingwrapper.cxx.
|
static |
Definition at line 1960 of file clingwrapper.cxx.
|
static |
Definition at line 173 of file clingwrapper.cxx.
|
static |
Definition at line 167 of file clingwrapper.cxx.
|
static |
Definition at line 151 of file clingwrapper.cxx.
|
static |
Definition at line 127 of file clingwrapper.cxx.
|
static |
Definition at line 78 of file clingwrapper.cxx.
|
static |
Definition at line 793 of file clingwrapper.cxx.
Definition at line 62 of file clingwrapper.cxx.
|
static |
Definition at line 74 of file clingwrapper.cxx.