#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 | _CLING_CATCH_UNCAUGHT |
| #define | _CRT_SECURE_NO_WARNINGS |
| #define | CLING_CATCH_UNCAUGHT_ |
| #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 |
Functions | |
| static size_t | CALL_NARGS (size_t nargs) |
| template<typename T> | |
| static T | CallT (Cppyy::TCppMethod_t method, Cppyy::TCppObject_t self, size_t nargs, void *args) |
| static void | cond_add (Cppyy::TCppScope_t scope, const std::string &ns_scope, std::set< std::string > &cppnames, const char *name, bool nofilter=false) |
| static bool | copy_args (Parameter *args, size_t nargs, void **vargs) |
| static int | count_scopes (const std::string &tpname) |
| static char * | cppstring_to_cstring (const std::string &cppstr) |
| static ClassRefs_t | g_classrefs (1) |
| static Cppyy::TCppIndex_t | gb2idx (TGlobal *gb) |
| static TInterpreter::CallFuncIFacePtr_t | GetCallFunc (Cppyy::TCppMethod_t method) |
| Cppyy::TCppIndex_t | GetLongestInheritancePath (TClass *klass) |
| Retrieve number of base classes in the longest branch of the inheritance tree of the input class. | |
| static bool | is_missclassified_stl (const std::string &name) |
| static TFunction * | m2f (Cppyy::TCppMethod_t method) |
| static bool | match_name (const std::string &tname, const std::string fname) |
| static CallWrapper * | new_CallWrapper (CallWrapper::DeclId_t fid, const std::string &n) |
| static CallWrapper * | new_CallWrapper (TFunction *f) |
| static std::string | outer_no_template (const std::string &name) |
| static std::string | outer_with_template (const std::string &name) |
| static void | release_args (Parameter *args, size_t nargs) |
| static void | remove_space (std::string &n) |
| static bool | template_compare (std::string n1, std::string n2) |
| static bool | testMethodExtraProperty (Cppyy::TCppMethod_t method, EFunctionProperty prop) |
| static bool | testMethodProperty (Cppyy::TCppMethod_t method, EProperty prop) |
| static TClassRef & | type_from_handle (Cppyy::TCppScope_t scope) |
| static std::string | type_remap (const std::string &n1, const std::string &n2) |
| static bool | WrapperCall (Cppyy::TCppMethod_t method, size_t nargs, void *args_, void *self, void *result) |
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 _CLING_CATCH_UNCAUGHT |
Definition at line 70 of file clingwrapper.cxx.
| #define _CRT_SECURE_NO_WARNINGS |
Definition at line 4 of file clingwrapper.cxx.
| #define CLING_CATCH_UNCAUGHT_ |
Definition at line 69 of file clingwrapper.cxx.
| #define CPPYY_IMP_CALL | ( | typecode, | |
| rtype ) |
Definition at line 1051 of file clingwrapper.cxx.
| #define DIRECT_CALL ((size_t)1 << (8 * sizeof(size_t) - 1)) |
Definition at line 118 of file clingwrapper.cxx.
| #define FILL_COLL | ( | type, | |
| filter ) |
Definition at line 1311 of file clingwrapper.cxx.
| typedef std::vector<TClassRef> ClassRefs_t |
Definition at line 124 of file clingwrapper.cxx.
| typedef std::vector<TGlobal*> GlobalVars_t |
Definition at line 199 of file clingwrapper.cxx.
| typedef std::map<TGlobal*, GlobalVars_t::size_type> GlobalVarsIndices_t |
Definition at line 200 of file clingwrapper.cxx.
| typedef std::map<std::string, ClassRefs_t::size_type> Name2ClassRefIndex_t |
Definition at line 129 of file clingwrapper.cxx.
| typedef CPyCppyy::Parameter Parameter |
Definition at line 89 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 119 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 1043 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 1322 of file clingwrapper.cxx.
Definition at line 962 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2333 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 454 of file clingwrapper.cxx.
|
static |
|
inlinestatic |
Definition at line 2455 of file clingwrapper.cxx.
|
static |
Definition at line 928 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 1575 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 474 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 432 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 462 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 192 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 184 of file clingwrapper.cxx.
|
static |
Definition at line 1299 of file clingwrapper.cxx.
|
static |
Definition at line 1273 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 984 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2113 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2119 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2266 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2258 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 425 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 2207 of file clingwrapper.cxx.
|
inlinestatic |
Definition at line 992 of file clingwrapper.cxx.
|
static |
Definition at line 213 of file clingwrapper.cxx.
|
static |
Definition at line 203 of file clingwrapper.cxx.
|
static |
Definition at line 202 of file clingwrapper.cxx.
|
static |
Definition at line 130 of file clingwrapper.cxx.
|
static |
Definition at line 230 of file clingwrapper.cxx.
|
static |
Definition at line 226 of file clingwrapper.cxx.
|
static |
Definition at line 126 of file clingwrapper.cxx.
|
static |
Definition at line 2110 of file clingwrapper.cxx.
|
static |
Definition at line 227 of file clingwrapper.cxx.
|
static |
Definition at line 221 of file clingwrapper.cxx.
|
static |
Definition at line 205 of file clingwrapper.cxx.
|
static |
Definition at line 181 of file clingwrapper.cxx.
|
static |
Definition at line 132 of file clingwrapper.cxx.
|
static |
Definition at line 905 of file clingwrapper.cxx.
| const int SMALL_ARGS_N = 8 |
Definition at line 115 of file clingwrapper.cxx.
|
static |
Definition at line 127 of file clingwrapper.cxx.