Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy Namespace Reference

Namespaces

namespace  PyStrings
 
namespace  TypeManip
 
namespace  Utility
 

Classes

struct  CallContext
 
class  CallContextRAII
 
class  Converter
 
class  CPPAbstractClassConstructor
 
class  CPPAllPrivateClassConstructor
 
class  CPPClassMethod
 
class  CPPConstructor
 
class  CPPDataMember
 
class  CPPExcInstance
 
class  CPPFunction
 
class  CPPGetItem
 
class  CPPIncompleteClassConstructor
 
class  CPPInstance
 
class  CPPMethod
 
class  CPPMultiConstructor
 
class  CPPNamespaceConstructor
 
class  CPPOperator
 
class  CPPOverload
 
class  CPPReverseBinary
 
class  CPPScope
 
class  CPPSetItem
 
class  CPPSmartClass
 
class  Dimensions
 
class  DispatchPtr
 
class  Executor
 
struct  indexiterobject
 
class  InstancePtrConverter
 
class  LowLevelView
 
class  MemoryRegulator
 
struct  Parameter
 
struct  proxyobject
 
class  PyCallable
 
class  PyCallArgs
 
class  PyException
 
class  PyResult
 
class  RefExecutor
 
class  StrictInstancePtrConverter
 
class  TemplateInfo
 
class  TemplateProxy
 
struct  typedefpointertoclassobject
 
struct  vectoriterobject
 
class  VoidArrayConverter
 

Typedefs

typedef const dims_tcdims_t
 
typedef Converter *(* cf_t) (cdims_t d)
 
typedef std::vector< std::pair< ptrdiff_t, PyObject * > > CI_DatamemberCache_t
 
typedef Converter *(* ConverterFactory_t) (cdims_t)
 
typedef std::map< std::string, cf_tConvFactories_t
 
typedef CPPScope CPPClass
 
typedef PyObject CPPEnum
 
typedef std::map< Cppyy::TCppObject_t, PyObject * > CppToPyMap_t
 Type object to hold class reference (this is only semantically a presentation of CPPScope instances, not in a C++ sense)
 
typedef Py_ssize_t dim_t
 
typedef Dimensions dims_t
 
typedef Executor *(* ef_t) (cdims_t)
 
typedef std::map< std::string, ef_tExecFactories_t
 
typedef Executor *(* ExecutorFactory_t) (cdims_t)
 
typedef std::function< std::pair< bool, bool >(Cppyy::TCppObject_t, Cppyy::TCppType_t)> MemHook_t
 
typedef std::pair< uint64_t, CPPOverload * > TP_DispatchEntry_t
 Template proxy object to return functions and methods.
 
typedef std::map< std::string, std::vector< TP_DispatchEntry_t > > TP_DispatchMap_t
 
typedef std::shared_ptr< TemplateInfoTP_TInfo_t
 

Enumerations

enum  ETypeDetails {
  kNone = 0x0000 , kIsStaticData = 0x0001 , kIsConstData = 0x0002 , kIsArrayType = 0x0004 ,
  kIsEnumPrep = 0x0008 , kIsEnumType = 0x0010 , kIsCachable = 0x0020
}
 

Functions

static PyObjectadd_template (PyObject *pyclass, const std::string &name, std::vector< PyCallable * > *overloads=nullptr)
 
static void AddPropertyToClass (PyObject *pyclass, Cppyy::TCppScope_t scope, Cppyy::TCppIndex_t idata)
 
static void AddScopeToParent (PyObject *parent, const std::string &name, PyObject *newscope)
 
bool AdjustSelf (PyCallArgs &cargs)
 
bool AllowImplicit (CallContext *ctxt)
 
PyObjectBindCppObject (Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, const unsigned flags=0)
 
PyObjectBindCppObjectArray (Cppyy::TCppObject_t address, Cppyy::TCppType_t klass, cdims_t dims)
 
PyObjectBindCppObjectNoCast (Cppyy::TCppObject_t object, Cppyy::TCppType_t klass, const unsigned flags=0)
 
static PyObjectBuildCppClassBases (Cppyy::TCppType_t klass)
 
static int BuildScopeProxyDict (Cppyy::TCppScope_t scope, PyObject *pyclass, const unsigned int flags)
 
static PyObjectCallMethodImp (TemplateProxy *pytmpl, PyObject *&pymeth, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, bool impOK, uint64_t sighash)
 
CPYCPPYY_EXTERN void * CallVoidP (Cppyy::TCppMethod_t, Cppyy::TCppObject_t, CallContext *)
 
static void * cast_actual (void *obj)
 
static void CollectUniqueBases (Cppyy::TCppType_t klass, std::deque< std::string > &uqb)
 
template<typename T >
bool CPPDataMember_Check (T *object)
 
template<typename T >
bool CPPDataMember_CheckExact (T *object)
 
CPPDataMemberCPPDataMember_New (Cppyy::TCppScope_t scope, Cppyy::TCppIndex_t idata)
 
CPPDataMemberCPPDataMember_NewConstant (Cppyy::TCppScope_t scope, const std::string &name, void *address)
 
CPPEnumCPPEnum_New (const std::string &name, Cppyy::TCppScope_t scope)
 
template<typename T >
bool CPPExcInstance_Check (T *object)
 
template<typename T >
bool CPPExcInstance_CheckExact (T *object)
 
template<typename T >
bool CPPInstance_Check (T *object)
 
template<typename T >
bool CPPInstance_CheckExact (T *object)
 
template<typename T >
bool CPPOverload_Check (T *object)
 
template<typename T >
bool CPPOverload_CheckExact (T *object)
 
CPPOverloadCPPOverload_New (const std::string &name, PyCallable *method)
 
CPPOverloadCPPOverload_New (const std::string &name, std::vector< PyCallable * > &methods)
 
template<typename T >
bool CPPScope_Check (T *object)
 
template<typename T >
bool CPPScope_CheckExact (T *object)
 
CPPScopeCPPScopeMeta_New (Cppyy::TCppScope_t klass, PyObject *args)
 
static Py_hash_t CPyCppyy_PyLong_AsHash_t (PyObject *obj)
 
CPYCPPYY_EXTERN ConverterCreateConverter (const std::string &name, cdims_t=0)
 
PyObjectCreateExcScopeProxy (PyObject *pyscope, PyObject *pyname, PyObject *parent)
 
CPYCPPYY_EXTERN ExecutorCreateExecutor (const std::string &name, cdims_t=0)
 
PyObjectCreateLowLevelView (bool **, cdims_t shape)
 
PyObjectCreateLowLevelView (bool *, cdims_t shape)
 
PyObjectCreateLowLevelView (char **, cdims_t shape)
 
PyObjectCreateLowLevelView (char *, cdims_t shape)
 
PyObjectCreateLowLevelView (double **, cdims_t shape)
 
PyObjectCreateLowLevelView (double *, cdims_t shape)
 
PyObjectCreateLowLevelView (float **, cdims_t shape)
 
PyObjectCreateLowLevelView (float *, cdims_t shape)
 
PyObjectCreateLowLevelView (int **, cdims_t shape)
 
PyObjectCreateLowLevelView (int *, cdims_t shape)
 
PyObjectCreateLowLevelView (long **, cdims_t shape)
 
PyObjectCreateLowLevelView (long *, cdims_t shape)
 
PyObjectCreateLowLevelView (long double **, cdims_t shape)
 
PyObjectCreateLowLevelView (long double *, cdims_t shape)
 
PyObjectCreateLowLevelView (long long **, cdims_t shape)
 
PyObjectCreateLowLevelView (long long *, cdims_t shape)
 
PyObjectCreateLowLevelView (short **, cdims_t shape)
 
PyObjectCreateLowLevelView (short *, cdims_t shape)
 
PyObjectCreateLowLevelView (signed char **, cdims_t shape)
 
PyObjectCreateLowLevelView (signed char *, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< double > **, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< double > *, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< float > **, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< float > *, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< int > **, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< int > *, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< long > **, cdims_t shape)
 
PyObjectCreateLowLevelView (std::complex< long > *, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned char **, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned char *, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned int **, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned int *, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned long **, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned long *, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned long long **, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned long long *, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned short **, cdims_t shape)
 
PyObjectCreateLowLevelView (unsigned short *, cdims_t shape)
 
PyObjectCreateLowLevelView_i8 (int8_t **, cdims_t shape)
 
PyObjectCreateLowLevelView_i8 (int8_t *, cdims_t shape)
 
PyObjectCreateLowLevelView_i8 (uint8_t **, cdims_t shape)
 
PyObjectCreateLowLevelView_i8 (uint8_t *, cdims_t shape)
 
PyObjectCreateLowLevelViewString (char **, cdims_t shape)
 
PyObjectCreateLowLevelViewString (const char **, cdims_t shape)
 
static PyObjectCreateNewCppProxyClass (Cppyy::TCppScope_t klass, PyObject *pybases)
 
PyObjectCreatePointerView (void *ptr, cdims_t shape=0)
 
bool CreatePyStrings ()
 
PyObjectCreateScopeProxy (const std::string &scope_name, PyObject *parent=nullptr, const unsigned flags=0)
 
PyObjectCreateScopeProxy (Cppyy::TCppScope_t, const unsigned flags=0)
 
PyObjectCreateScopeProxy (PyObject *, PyObject *args)
 
template<typename T >
bool CustomInstanceMethod_Check (T *object)
 
template<typename T >
bool CustomInstanceMethod_CheckExact (T *object)
 
PyObjectCustomInstanceMethod_New (PyObject *func, PyObject *self, PyObject *pyclass)
 
CPYCPPYY_EXTERN void DestroyConverter (Converter *p)
 
CPYCPPYY_EXPORT void DestroyExecutor (Executor *p)
 
PyObjectDestroyPyStrings ()
 
static void dm_dealloc (CPPDataMember *dm)
 
static PyObjectdm_get (CPPDataMember *dm, CPPInstance *pyobj, PyObject *)
 
static CPPDataMemberdm_new (PyTypeObject *pytype, PyObject *, PyObject *)
 
static PyObjectdm_reflex (CPPDataMember *dm, PyObject *args)
 
static int dm_set (CPPDataMember *dm, CPPInstance *pyobj, PyObject *value)
 
static int ep_clear (CPPExcInstance *pyobj)
 
static void ep_dealloc (CPPExcInstance *pyobj)
 
static PyObjectep_getattro (CPPExcInstance *self, PyObject *attr)
 
static PyObjectep_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
 
static int ep_nonzero (CPPExcInstance *self)
 
static PyObjectep_repr (CPPExcInstance *self)
 
static PyObjectep_richcompare (CPPExcInstance *self, PyObject *other, int op)
 
static int ep_setattro (CPPExcInstance *self, PyObject *attr, PyObject *value)
 
static PyObjectep_str (CPPExcInstance *self)
 
static int ep_traverse (CPPExcInstance *pyobj, visitproc visit, void *args)
 
static PyObjecteqneq_binop (CPPClass *klass, PyObject *self, PyObject *obj, int op)
 
CPYCPPYY_EXTERN const PyResult Eval (const std::string &expr)
 
CPYCPPYY_EXTERN bool Exec (const std::string &cmd)
 
CPYCPPYY_EXTERN void ExecScript (const std::string &name, const std::vector< std::string > &args)
 
static PyObjectGetAttrDirect (PyObject *pyclass, PyObject *pyname)
 
PyObjectGetScopeProxy (Cppyy::TCppScope_t)
 
uint64_t HashSignature (CPyCppyy_PyArgs_t args, size_t nargsf)
 
bool HaveImplicit (CallContext *ctxt)
 
static PyObjectim_call (PyObject *meth, PyObject *args, PyObject *kw)
 
static void im_dealloc (PyMethodObject *im)
 
static PyObjectim_descr_get (PyObject *meth, PyObject *obj, PyObject *pyclass)
 
CPYCPPYY_EXTERN bool Import (const std::string &name)
 
static void indexiter_dealloc (indexiterobject *ii)
 
static PyObjectindexiter_iternext (indexiterobject *ii)
 
static int indexiter_traverse (indexiterobject *ii, visitproc visit, void *arg)
 
bool InsertDispatcher (CPPScope *klass, PyObject *bases, PyObject *dct, std::ostringstream &err)
 
CPYCPPYY_EXTERN void * Instance_AsVoidPtr (PyObject *pyobject)
 
CPYCPPYY_EXTERN bool Instance_Check (PyObject *pyobject)
 
CPYCPPYY_EXTERN bool Instance_CheckExact (PyObject *pyobject)
 
PyObjectInstance_FromVoidPtr (void *addr, const char *classname, int python_owns)
 
CPYCPPYY_EXTERN PyObjectInstance_FromVoidPtr (void *addr, const std::string &classname, bool python_owns=false)
 
CPYCPPYY_EXTERN bool Instance_IsLively (PyObject *pyobject)
 
bool IsConstructor (uint64_t flags)
 
bool IsCreator (uint64_t flags)
 
bool IsSorted (uint64_t flags)
 
template<typename T >
bool LowLevelView_Check (T *object)
 
template<typename T >
bool LowLevelView_CheckExact (T *object)
 
static PyObjectmeta_alloc (PyTypeObject *meta, Py_ssize_t nitems)
 
static void meta_dealloc (CPPScope *scope)
 
static PyObjectmeta_dir (CPPScope *klass)
 
static PyObjectmeta_getattro (PyObject *pyclass, PyObject *pyname)
 
static PyObjectmeta_getcppname (CPPScope *scope, void *)
 
static PyObjectmeta_getmodule (CPPScope *scope, void *)
 
static PyObjectmeta_reflex (CPPScope *klass, PyObject *args)
 
static PyObjectmeta_repr (CPPScope *scope)
 
static int meta_setattro (PyObject *pyclass, PyObject *pyname, PyObject *pyval)
 
static int meta_setmodule (CPPScope *scope, PyObject *value, void *)
 
bool NoImplicit (CallContext *ctxt)
 
static PyObjectop_add_stub (PyObject *left, PyObject *right)
 
static int op_clear (CPPInstance *pyobj)
 
static void op_dealloc (CPPInstance *pyobj)
 
void op_dealloc_nofree (CPPInstance *)
 
static PyObjectop_destruct (CPPInstance *self)
 
static PyObjectop_dispatch (PyObject *self, PyObject *args, PyObject *)
 
static PyObjectop_div_stub (PyObject *left, PyObject *right)
 
static PyObjectop_get_smartptr (CPPInstance *self)
 
static PyObjectop_getownership (CPPInstance *pyobj, void *)
 
static Py_hash_t op_hash (CPPInstance *self)
 
static PyObjectop_invert_stub (PyObject *pyobj)
 
static PyObjectop_item (CPPInstance *self, Py_ssize_t idx)
 
static PyObjectop_mul_stub (PyObject *left, PyObject *right)
 
static PyObjectop_neg_stub (PyObject *pyobj)
 
static CPPInstanceop_new (PyTypeObject *subtype, PyObject *, PyObject *)
 
static int op_nonzero (CPPInstance *self)
 
static PyObjectop_pos_stub (PyObject *pyobj)
 
static PyObjectop_repr (CPPInstance *self)
 
static PyObjectop_reshape (CPPInstance *self, PyObject *shape)
 
static PyObjectop_richcompare (CPPInstance *self, PyObject *other, int op)
 
static int op_setownership (CPPInstance *pyobj, PyObject *value, void *)
 
static PyObjectop_str (CPPInstance *self)
 
static PyObjectop_str_internal (PyObject *pyobj, PyObject *lshift, bool isBound)
 
static PyObjectop_sub_stub (PyObject *left, PyObject *right)
 
static int op_traverse (CPPInstance *, visitproc, void *)
 
CPYCPPYY_EXTERN bool Overload_Check (PyObject *pyobject)
 
CPYCPPYY_EXTERN bool Overload_CheckExact (PyObject *pyobject)
 
CPYCPPYY_EXTERN void Prompt ()
 
static PyObjectpt_new (PyTypeObject *subtype, PyObject *args, PyObject *kwds)
 
unsigned long PyLongOrInt_AsULong (PyObject *pyobject)
 
PY_ULONG_LONG PyLongOrInt_AsULong64 (PyObject *pyobject)
 
bool Pythonize (PyObject *pyclass, const std::string &name)
 
template<typename T >
bool RefFloat_Check (T *object)
 
template<typename T >
bool RefFloat_CheckExact (T *object)
 
template<typename T >
bool RefInt_Check (T *object)
 
template<typename T >
bool RefInt_CheckExact (T *object)
 
CPYCPPYY_EXPORT bool RegisterConverter (const std::string &name, cf_t fac)
 
CPYCPPYY_EXTERN bool RegisterConverter (const std::string &name, ConverterFactory_t)
 
CPYCPPYY_EXTERN bool RegisterConverterAlias (const std::string &name, const std::string &target)
 
CPYCPPYY_EXTERN bool RegisterExecutor (const std::string &name, ExecutorFactory_t)
 
CPYCPPYY_EXTERN bool RegisterExecutorAlias (const std::string &name, const std::string &target)
 
bool ReleasesGIL (CallContext *ctxt)
 
static std::regex s_fnptr ("\\‍(:*\\*&*\\‍)")
 
CPYCPPYY_EXTERN bool Scope_Check (PyObject *pyobject)
 
CPYCPPYY_EXTERN bool Scope_CheckExact (PyObject *pyobject)
 
static bool ScopeFlagCheck (CPPInstance *self, CPPScope::EFlags flag)
 
static void ScopeFlagSet (CPPInstance *self, CPPScope::EFlags flag)
 
static PyObjectSelectAndForward (TemplateProxy *pytmpl, CPPOverload *pymeth, CPyCppyy_PyArgs_t args, size_t nargsf, PyObject *kwds, bool implicitOkay, bool use_targs, uint64_t sighash, std::vector< Utility::PyError_t > &errors)
 
CPYCPPYY_EXTERN bool Sequence_Check (PyObject *pyobject)
 
static void sync_templates (PyObject *pyclass, const std::string &mtCppName, const std::string &mtName)
 
static std::string targs2str (TemplateProxy *pytmpl)
 
static PyObjectTC2CppName (PyObject *pytc, const char *cpd, bool allow_voidp)
 
template<typename T >
bool TemplateProxy_Check (T *object)
 
template<typename T >
bool TemplateProxy_CheckExact (T *object)
 
TemplateProxyTemplateProxy_New (const std::string &cppname, const std::string &pyname, PyObject *pyclass)
 
static PyObjecttpp_call (TemplateProxy *pytmpl, PyObject *args, PyObject *kwds)
 
static int tpp_clear (TemplateProxy *pytmpl)
 
static void tpp_dealloc (TemplateProxy *pytmpl)
 
static TemplateProxytpp_descr_get (TemplateProxy *pytmpl, PyObject *pyobj, PyObject *)
 
static PyObjecttpp_doc (TemplateProxy *pytmpl, void *)
 
static int tpp_doc_set (TemplateProxy *pytmpl, PyObject *val, void *)
 
static PyObjecttpp_getuseffi (CPPOverload *, void *)
 
static Py_hash_t tpp_hash (TemplateProxy *self)
 
static TemplateProxytpp_new (PyTypeObject *, PyObject *, PyObject *)
 
static PyObjecttpp_overload (TemplateProxy *pytmpl, PyObject *args)
 
static PyObjecttpp_richcompare (TemplateProxy *self, PyObject *other, int op)
 
static int tpp_setuseffi (CPPOverload *, PyObject *, void *)
 
static PyObjecttpp_subscript (TemplateProxy *pytmpl, PyObject *args)
 
static int tpp_traverse (TemplateProxy *pytmpl, visitproc visit, void *arg)
 
static PyObjecttptc_call (typedefpointertoclassobject *self, PyObject *args, PyObject *)
 
static PyObjecttptc_getcppname (typedefpointertoclassobject *self, void *)
 
static PyObjecttptc_name (typedefpointertoclassobject *self, void *)
 
template<typename T >
bool TupleOfInstances_Check (T *object)
 
template<typename T >
bool TupleOfInstances_CheckExact (T *object)
 
PyObjectTupleOfInstances_New (Cppyy::TCppObject_t address, Cppyy::TCppType_t klass, cdims_t dims)
 
template<typename T >
bool TypedefPointerToClass_Check (T *object)
 
template<typename T >
bool TypedefPointerToClass_CheckExact (T *object)
 
CPYCPPYY_EXTERN bool UnregisterConverter (const std::string &name)
 
CPYCPPYY_EXTERN bool UnregisterExecutor (const std::string &name)
 
static void UpdateDispatchMap (TemplateProxy *pytmpl, bool use_targs, uint64_t sighash, CPPOverload *pymeth)
 
bool UseStrictOwnership (CallContext *ctxt)
 
static void vectoriter_dealloc (vectoriterobject *vi)
 
static PyObjectvectoriter_iternext (vectoriterobject *vi)
 

Variables

PyTypeObject CPPDataMember_Type
 
PyTypeObject CPPExcInstance_Type
 
PyTypeObject CPPInstance_Type
 
PyTypeObject CPPOverload_Type
 
PyTypeObject CPPScope_Type
 
PyTypeObject CustomInstanceMethod_Type
 
static PyMemberDef dm_members []
 
static PyMethodDef dm_methods []
 
static PyNumberMethods ep_as_number
 
static PyMethodObject * free_list
 
PyObjectgAbrtException = nullptr
 
PyObjectgBusException = nullptr
 
std::ostringstream gCapturedError
 
static ConvFactories_t gConvFactories
 
PyObjectgDefaultObject = nullptr
 
bool gDictLookupActive = false
 
dict_lookup_func gDictLookupOrg = 0
 
static ExecFactories_t gExecFactories
 
PyObjectgIllException = nullptr
 
std::set< std::string > gIteratorTypes
 
PyObjectgNullPtrObject = nullptr
 
std::streambuf * gOldErrorBuffer = nullptr
 
std::set< Cppyy::TCppType_tgPinnedTypes
 
std::map< std::string, std::vector< PyObject * > > gPythonizations
 
PyObjectgPyTypeMap = nullptr
 
PyObjectgSegvException = nullptr
 
PyObjectgThisModule = nullptr
 
PyTypeObject IndexIter_Type
 
PyTypeObject InstanceArrayIter_Type
 
PyTypeObject LowLevelView_Type
 
static PyGetSetDef meta_getset []
 
static PyMethodDef meta_methods []
 
static int numfree = 0
 
static PyNumberMethods op_as_number
 
static PySequenceMethods op_as_sequence
 
static PyGetSetDef op_getset []
 
static PyMethodDef op_methods []
 
PyTypeObject RefFloat_Type
 Custom "builtins," detectable by type, for pass by ref and improved performance.
 
PyTypeObject RefInt_Type
 
const int SMALL_ARGS_N = 8
 
PyTypeObject TemplateProxy_Type
 
static PyMappingMethods tpp_as_mapping
 
static PyGetSetDef tpp_getset []
 
static PyMethodDef tpp_methods []
 
static PyGetSetDef tptc_getset []
 
PyTypeObject TupleOfInstances_Type
 Representation of C-style array of instances.
 
PyTypeObject TypedefPointerToClass_Type
 
static const dim_t UNKNOWN_SIZE = (dim_t)-1
 
PyTypeObject VectorIter_Type
 

Typedef Documentation

◆ cdims_t

typedef const dims_t & CPyCppyy::cdims_t

Definition at line 104 of file API.h.

◆ cf_t

typedef Converter *(* CPyCppyy::cf_t) (cdims_t d)

Definition at line 37 of file Converters.h.

◆ CI_DatamemberCache_t

typedef std::vector<std::pair<ptrdiff_t, PyObject*> > CPyCppyy::CI_DatamemberCache_t

Definition at line 24 of file CPPInstance.h.

◆ ConverterFactory_t

typedef Converter *(* CPyCppyy::ConverterFactory_t) (cdims_t)

Definition at line 132 of file API.h.

◆ ConvFactories_t

typedef std::map<std::string, cf_t> CPyCppyy::ConvFactories_t

Definition at line 53 of file Converters.cxx.

◆ CPPClass

Definition at line 68 of file CPPScope.h.

◆ CPPEnum

Definition at line 9 of file CPPEnum.h.

◆ CppToPyMap_t

Type object to hold class reference (this is only semantically a presentation of CPPScope instances, not in a C++ sense)

Author
WLAV
Date
07/06/2017
Version
2.0

Definition at line 34 of file CPPScope.h.

◆ dim_t

Definition at line 90 of file API.h.

◆ dims_t

Definition at line 103 of file API.h.

◆ ef_t

typedef Executor *(* CPyCppyy::ef_t) (cdims_t)

Definition at line 37 of file Executors.h.

◆ ExecFactories_t

typedef std::map<std::string, ef_t> CPyCppyy::ExecFactories_t

Definition at line 23 of file Executors.cxx.

◆ ExecutorFactory_t

typedef Executor *(* CPyCppyy::ExecutorFactory_t) (cdims_t)

Definition at line 162 of file API.h.

◆ MemHook_t

typedef std::function<std::pair<bool, bool>(Cppyy::TCppObject_t, Cppyy::TCppType_t)> CPyCppyy::MemHook_t

Definition at line 11 of file MemoryRegulator.h.

◆ TP_DispatchEntry_t

typedef std::pair<uint64_t, CPPOverload*> CPyCppyy::TP_DispatchEntry_t

Template proxy object to return functions and methods.

Definition at line 24 of file TemplateProxy.h.

◆ TP_DispatchMap_t

typedef std::map<std::string, std::vector<TP_DispatchEntry_t> > CPyCppyy::TP_DispatchMap_t

Definition at line 25 of file TemplateProxy.h.

◆ TP_TInfo_t

typedef std::shared_ptr<TemplateInfo> CPyCppyy::TP_TInfo_t

Definition at line 45 of file TemplateProxy.h.

Enumeration Type Documentation

◆ ETypeDetails

Enumerator
kNone 
kIsStaticData 
kIsConstData 
kIsArrayType 
kIsEnumPrep 
kIsEnumType 
kIsCachable 

Definition at line 22 of file CPPDataMember.cxx.

Function Documentation

◆ add_template()

static PyObject * CPyCppyy::add_template ( PyObject pyclass,
const std::string &  name,
std::vector< PyCallable * > *  overloads = nullptr 
)
inlinestatic

Definition at line 29 of file CPPScope.cxx.

◆ AddPropertyToClass()

static void CPyCppyy::AddPropertyToClass ( PyObject pyclass,
Cppyy::TCppScope_t  scope,
Cppyy::TCppIndex_t  idata 
)
inlinestatic

Definition at line 92 of file ProxyWrappers.cxx.

◆ AddScopeToParent()

static void CPyCppyy::AddScopeToParent ( PyObject parent,
const std::string &  name,
PyObject newscope 
)
inlinestatic

Definition at line 111 of file ProxyWrappers.cxx.

◆ AdjustSelf()

bool CPyCppyy::AdjustSelf ( PyCallArgs cargs)

Definition at line 11 of file CPPFunction.cxx.

◆ AllowImplicit()

bool CPyCppyy::AllowImplicit ( CallContext ctxt)
inline

Definition at line 136 of file CallContext.h.

◆ BindCppObject()

PyObject * CPyCppyy::BindCppObject ( Cppyy::TCppObject_t  object,
Cppyy::TCppType_t  klass,
const unsigned  flags = 0 
)

Definition at line 898 of file ProxyWrappers.cxx.

◆ BindCppObjectArray()

PyObject * CPyCppyy::BindCppObjectArray ( Cppyy::TCppObject_t  address,
Cppyy::TCppType_t  klass,
cdims_t  dims 
)

Definition at line 939 of file ProxyWrappers.cxx.

◆ BindCppObjectNoCast()

PyObject * CPyCppyy::BindCppObjectNoCast ( Cppyy::TCppObject_t  object,
Cppyy::TCppType_t  klass,
const unsigned  flags = 0 
)

Definition at line 825 of file ProxyWrappers.cxx.

◆ BuildCppClassBases()

static PyObject * CPyCppyy::BuildCppClassBases ( Cppyy::TCppType_t  klass)
static

Definition at line 447 of file ProxyWrappers.cxx.

◆ BuildScopeProxyDict()

static int CPyCppyy::BuildScopeProxyDict ( Cppyy::TCppScope_t  scope,
PyObject pyclass,
const unsigned int  flags 
)
static

Definition at line 155 of file ProxyWrappers.cxx.

◆ CallMethodImp()

static PyObject * CPyCppyy::CallMethodImp ( TemplateProxy pytmpl,
PyObject *&  pymeth,
CPyCppyy_PyArgs_t  args,
size_t  nargsf,
PyObject kwds,
bool  impOK,
uint64_t  sighash 
)
inlinestatic

Definition at line 493 of file TemplateProxy.cxx.

◆ CallVoidP()

CPYCPPYY_EXPORT void * CPyCppyy::CallVoidP ( Cppyy::TCppMethod_t  ,
Cppyy::TCppObject_t  ,
CallContext  
)

Definition at line 951 of file Executors.cxx.

◆ cast_actual()

static void * CPyCppyy::cast_actual ( void *  obj)
inlinestatic

Definition at line 518 of file CPPInstance.cxx.

◆ CollectUniqueBases()

static void CPyCppyy::CollectUniqueBases ( Cppyy::TCppType_t  klass,
std::deque< std::string > &  uqb 
)
static

Definition at line 410 of file ProxyWrappers.cxx.

◆ CPPDataMember_Check()

template<typename T >
bool CPyCppyy::CPPDataMember_Check ( T *  object)
inline

Definition at line 45 of file CPPDataMember.h.

◆ CPPDataMember_CheckExact()

template<typename T >
bool CPyCppyy::CPPDataMember_CheckExact ( T *  object)
inline

Definition at line 51 of file CPPDataMember.h.

◆ CPPDataMember_New()

CPPDataMember * CPyCppyy::CPPDataMember_New ( Cppyy::TCppScope_t  scope,
Cppyy::TCppIndex_t  idata 
)
inline

Definition at line 57 of file CPPDataMember.h.

◆ CPPDataMember_NewConstant()

CPPDataMember * CPyCppyy::CPPDataMember_NewConstant ( Cppyy::TCppScope_t  scope,
const std::string &  name,
void *  address 
)
inline

Definition at line 67 of file CPPDataMember.h.

◆ CPPEnum_New()

CPyCppyy::CPPEnum * CPyCppyy::CPPEnum_New ( const std::string &  name,
Cppyy::TCppScope_t  scope 
)

Definition at line 133 of file CPPEnum.cxx.

◆ CPPExcInstance_Check()

template<typename T >
bool CPyCppyy::CPPExcInstance_Check ( T *  object)
inline

Definition at line 26 of file CPPExcInstance.h.

◆ CPPExcInstance_CheckExact()

template<typename T >
bool CPyCppyy::CPPExcInstance_CheckExact ( T *  object)
inline

Definition at line 32 of file CPPExcInstance.h.

◆ CPPInstance_Check()

template<typename T >
bool CPyCppyy::CPPInstance_Check ( T *  object)
inline

Definition at line 125 of file CPPInstance.h.

◆ CPPInstance_CheckExact()

template<typename T >
bool CPyCppyy::CPPInstance_CheckExact ( T *  object)
inline

Definition at line 135 of file CPPInstance.h.

◆ CPPOverload_Check()

template<typename T >
bool CPyCppyy::CPPOverload_Check ( T *  object)
inline

Definition at line 90 of file CPPOverload.h.

◆ CPPOverload_CheckExact()

template<typename T >
bool CPyCppyy::CPPOverload_CheckExact ( T *  object)
inline

Definition at line 96 of file CPPOverload.h.

◆ CPPOverload_New() [1/2]

CPPOverload * CPyCppyy::CPPOverload_New ( const std::string &  name,
PyCallable method 
)
inline

Definition at line 111 of file CPPOverload.h.

◆ CPPOverload_New() [2/2]

CPPOverload * CPyCppyy::CPPOverload_New ( const std::string &  name,
std::vector< PyCallable * > &  methods 
)
inline

Definition at line 102 of file CPPOverload.h.

◆ CPPScope_Check()

template<typename T >
bool CPyCppyy::CPPScope_Check ( T *  object)
inline

Definition at line 81 of file CPPScope.h.

◆ CPPScope_CheckExact()

template<typename T >
bool CPyCppyy::CPPScope_CheckExact ( T *  object)
inline

Definition at line 91 of file CPPScope.h.

◆ CPPScopeMeta_New()

CPPScope * CPyCppyy::CPPScopeMeta_New ( Cppyy::TCppScope_t  klass,
PyObject args 
)
inline

Definition at line 97 of file CPPScope.h.

◆ CPyCppyy_PyLong_AsHash_t()

static Py_hash_t CPyCppyy::CPyCppyy_PyLong_AsHash_t ( PyObject obj)
inlinestatic

Definition at line 657 of file CPPInstance.cxx.

◆ CreateConverter()

CPYCPPYY_EXPORT Converter * CPyCppyy::CreateConverter ( const std::string &  name,
cdims_t  = 0 
)

Definition at line 3125 of file Converters.cxx.

◆ CreateExcScopeProxy()

PyObject * CPyCppyy::CreateExcScopeProxy ( PyObject pyscope,
PyObject pyname,
PyObject parent 
)

Definition at line 740 of file ProxyWrappers.cxx.

◆ CreateExecutor()

CPYCPPYY_EXPORT Executor * CPyCppyy::CreateExecutor ( const std::string &  name,
cdims_t  = 0 
)

Definition at line 795 of file Executors.cxx.

◆ CreateLowLevelView() [1/38]

PyObject * CPyCppyy::CreateLowLevelView ( bool **  address,
cdims_t  shape 
)

Definition at line 1115 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [2/38]

PyObject * CPyCppyy::CreateLowLevelView ( bool address,
cdims_t  shape 
)

Definition at line 1115 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [3/38]

PyObject * CPyCppyy::CreateLowLevelView ( char **  address,
cdims_t  shape 
)

Definition at line 1142 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [4/38]

PyObject * CPyCppyy::CreateLowLevelView ( char *  address,
cdims_t  shape 
)

Definition at line 1137 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [5/38]

PyObject * CPyCppyy::CreateLowLevelView ( double **  address,
cdims_t  shape 
)

Definition at line 1130 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [6/38]

PyObject * CPyCppyy::CreateLowLevelView ( double address,
cdims_t  shape 
)

Definition at line 1130 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [7/38]

PyObject * CPyCppyy::CreateLowLevelView ( float **  address,
cdims_t  shape 
)

Definition at line 1129 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [8/38]

PyObject * CPyCppyy::CreateLowLevelView ( float *  address,
cdims_t  shape 
)

Definition at line 1129 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [9/38]

PyObject * CPyCppyy::CreateLowLevelView ( int **  address,
cdims_t  shape 
)

Definition at line 1123 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [10/38]

PyObject * CPyCppyy::CreateLowLevelView ( int address,
cdims_t  shape 
)

Definition at line 1123 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [11/38]

PyObject * CPyCppyy::CreateLowLevelView ( long **  address,
cdims_t  shape 
)

Definition at line 1125 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [12/38]

PyObject * CPyCppyy::CreateLowLevelView ( long *  address,
cdims_t  shape 
)

Definition at line 1125 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [13/38]

PyObject * CPyCppyy::CreateLowLevelView ( long double **  address,
cdims_t  shape 
)

Definition at line 1131 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [14/38]

PyObject * CPyCppyy::CreateLowLevelView ( long double address,
cdims_t  shape 
)

Definition at line 1131 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [15/38]

PyObject * CPyCppyy::CreateLowLevelView ( long long **  address,
cdims_t  shape 
)

Definition at line 1127 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [16/38]

PyObject * CPyCppyy::CreateLowLevelView ( long long *  address,
cdims_t  shape 
)

Definition at line 1127 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [17/38]

PyObject * CPyCppyy::CreateLowLevelView ( short **  address,
cdims_t  shape 
)

Definition at line 1121 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [18/38]

PyObject * CPyCppyy::CreateLowLevelView ( short *  address,
cdims_t  shape 
)

Definition at line 1121 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [19/38]

PyObject * CPyCppyy::CreateLowLevelView ( signed char **  address,
cdims_t  shape 
)

Definition at line 1116 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [20/38]

PyObject * CPyCppyy::CreateLowLevelView ( signed char *  address,
cdims_t  shape 
)

Definition at line 1116 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [21/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< double > **  address,
cdims_t  shape 
)

Definition at line 1133 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [22/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< double > *  address,
cdims_t  shape 
)

Definition at line 1133 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [23/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< float > **  address,
cdims_t  shape 
)

Definition at line 1132 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [24/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< float > *  address,
cdims_t  shape 
)

Definition at line 1132 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [25/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< int > **  address,
cdims_t  shape 
)

Definition at line 1134 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [26/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< int > *  address,
cdims_t  shape 
)

Definition at line 1134 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [27/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< long > **  address,
cdims_t  shape 
)

Definition at line 1135 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [28/38]

PyObject * CPyCppyy::CreateLowLevelView ( std::complex< long > *  address,
cdims_t  shape 
)

Definition at line 1135 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [29/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned char **  address,
cdims_t  shape 
)

Definition at line 1117 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [30/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned char *  address,
cdims_t  shape 
)

Definition at line 1117 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [31/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned int **  address,
cdims_t  shape 
)

Definition at line 1124 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [32/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned int address,
cdims_t  shape 
)

Definition at line 1124 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [33/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned long **  address,
cdims_t  shape 
)

Definition at line 1126 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [34/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned long *  address,
cdims_t  shape 
)

Definition at line 1126 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [35/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned long long **  address,
cdims_t  shape 
)

Definition at line 1128 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [36/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned long long *  address,
cdims_t  shape 
)

Definition at line 1128 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [37/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned short **  address,
cdims_t  shape 
)

Definition at line 1122 of file LowLevelViews.cxx.

◆ CreateLowLevelView() [38/38]

PyObject * CPyCppyy::CreateLowLevelView ( unsigned short *  address,
cdims_t  shape 
)

Definition at line 1122 of file LowLevelViews.cxx.

◆ CreateLowLevelView_i8() [1/4]

PyObject * CPyCppyy::CreateLowLevelView_i8 ( int8_t **  address,
cdims_t  shape 
)

Definition at line 1162 of file LowLevelViews.cxx.

◆ CreateLowLevelView_i8() [2/4]

PyObject * CPyCppyy::CreateLowLevelView_i8 ( int8_t *  address,
cdims_t  shape 
)

Definition at line 1157 of file LowLevelViews.cxx.

◆ CreateLowLevelView_i8() [3/4]

PyObject * CPyCppyy::CreateLowLevelView_i8 ( uint8_t **  address,
cdims_t  shape 
)

Definition at line 1172 of file LowLevelViews.cxx.

◆ CreateLowLevelView_i8() [4/4]

PyObject * CPyCppyy::CreateLowLevelView_i8 ( uint8_t *  address,
cdims_t  shape 
)

Definition at line 1167 of file LowLevelViews.cxx.

◆ CreateLowLevelViewString() [1/2]

PyObject * CPyCppyy::CreateLowLevelViewString ( char **  address,
cdims_t  shape 
)

Definition at line 1147 of file LowLevelViews.cxx.

◆ CreateLowLevelViewString() [2/2]

PyObject * CPyCppyy::CreateLowLevelViewString ( const char **  address,
cdims_t  shape 
)

Definition at line 1152 of file LowLevelViews.cxx.

◆ CreateNewCppProxyClass()

static PyObject * CPyCppyy::CreateNewCppProxyClass ( Cppyy::TCppScope_t  klass,
PyObject pybases 
)
static

Definition at line 54 of file ProxyWrappers.cxx.

◆ CreatePointerView()

PyObject * CPyCppyy::CreatePointerView ( void *  ptr,
cdims_t  shape = 0 
)
inline

Definition at line 78 of file LowLevelViews.h.

◆ CreatePyStrings()

bool CPyCppyy::CreatePyStrings ( )

Definition at line 84 of file PyStrings.cxx.

◆ CreateScopeProxy() [1/3]

PyObject * CPyCppyy::CreateScopeProxy ( const std::string &  scope_name,
PyObject parent = nullptr,
const unsigned  flags = 0 
)

Definition at line 535 of file ProxyWrappers.cxx.

◆ CreateScopeProxy() [2/3]

PyObject * CPyCppyy::CreateScopeProxy ( Cppyy::TCppScope_t  scope,
const unsigned  flags = 0 
)

Definition at line 513 of file ProxyWrappers.cxx.

◆ CreateScopeProxy() [3/3]

PyObject * CPyCppyy::CreateScopeProxy ( PyObject ,
PyObject args 
)

Definition at line 524 of file ProxyWrappers.cxx.

◆ CustomInstanceMethod_Check()

template<typename T >
bool CPyCppyy::CustomInstanceMethod_Check ( T *  object)
inline

Definition at line 71 of file CustomPyTypes.h.

◆ CustomInstanceMethod_CheckExact()

template<typename T >
bool CPyCppyy::CustomInstanceMethod_CheckExact ( T *  object)
inline

Definition at line 77 of file CustomPyTypes.h.

◆ CustomInstanceMethod_New()

PyObject * CPyCppyy::CustomInstanceMethod_New ( PyObject func,
PyObject self,
PyObject pyclass 
)

Definition at line 183 of file CustomPyTypes.cxx.

◆ DestroyConverter()

CPYCPPYY_EXPORT void CPyCppyy::DestroyConverter ( Converter p)

Definition at line 3303 of file Converters.cxx.

◆ DestroyExecutor()

CPYCPPYY_EXPORT void CPyCppyy::DestroyExecutor ( Executor p)

Definition at line 900 of file Executors.cxx.

◆ DestroyPyStrings()

PyObject * CPyCppyy::DestroyPyStrings ( )

Definition at line 168 of file PyStrings.cxx.

◆ dm_dealloc()

static void CPyCppyy::dm_dealloc ( CPPDataMember dm)
static

Definition at line 203 of file CPPDataMember.cxx.

◆ dm_get()

static PyObject * CPyCppyy::dm_get ( CPPDataMember dm,
CPPInstance pyobj,
PyObject  
)
static

Definition at line 33 of file CPPDataMember.cxx.

◆ dm_new()

static CPPDataMember * CPyCppyy::dm_new ( PyTypeObject *  pytype,
PyObject ,
PyObject  
)
static

Definition at line 185 of file CPPDataMember.cxx.

◆ dm_reflex()

static PyObject * CPyCppyy::dm_reflex ( CPPDataMember dm,
PyObject args 
)
static

Definition at line 223 of file CPPDataMember.cxx.

◆ dm_set()

static int CPyCppyy::dm_set ( CPPDataMember dm,
CPPInstance pyobj,
PyObject value 
)
static

Definition at line 125 of file CPPDataMember.cxx.

◆ ep_clear()

static int CPyCppyy::ep_clear ( CPPExcInstance pyobj)
static

Definition at line 112 of file CPPExcInstance.cxx.

◆ ep_dealloc()

static void CPyCppyy::ep_dealloc ( CPPExcInstance pyobj)
static

Definition at line 101 of file CPPExcInstance.cxx.

◆ ep_getattro()

static PyObject * CPyCppyy::ep_getattro ( CPPExcInstance self,
PyObject attr 
)
static

Definition at line 124 of file CPPExcInstance.cxx.

◆ ep_new()

static PyObject * CPyCppyy::ep_new ( PyTypeObject *  subtype,
PyObject args,
PyObject kwds 
)
static

Definition at line 19 of file CPPExcInstance.cxx.

◆ ep_nonzero()

static int CPyCppyy::ep_nonzero ( CPPExcInstance self)
static

Definition at line 154 of file CPPExcInstance.cxx.

◆ ep_repr()

static PyObject * CPyCppyy::ep_repr ( CPPExcInstance self)
static

Definition at line 93 of file CPPExcInstance.cxx.

◆ ep_richcompare()

static PyObject * CPyCppyy::ep_richcompare ( CPPExcInstance self,
PyObject other,
int  op 
)
static

Definition at line 148 of file CPPExcInstance.cxx.

◆ ep_setattro()

static int CPyCppyy::ep_setattro ( CPPExcInstance self,
PyObject attr,
PyObject value 
)
static

Definition at line 136 of file CPPExcInstance.cxx.

◆ ep_str()

static PyObject * CPyCppyy::ep_str ( CPPExcInstance self)
static

Definition at line 66 of file CPPExcInstance.cxx.

◆ ep_traverse()

static int CPyCppyy::ep_traverse ( CPPExcInstance pyobj,
visitproc  visit,
void *  args 
)
static

Definition at line 51 of file CPPExcInstance.cxx.

◆ eqneq_binop()

static PyObject * CPyCppyy::eqneq_binop ( CPPClass klass,
PyObject self,
PyObject obj,
int  op 
)
inlinestatic

Definition at line 450 of file CPPInstance.cxx.

◆ Eval()

const CPyCppyy::PyResult CPyCppyy::Eval ( const std::string &  expr)

Definition at line 467 of file API.cxx.

◆ Exec()

bool CPyCppyy::Exec ( const std::string &  cmd)

Definition at line 446 of file API.cxx.

◆ ExecScript()

void CPyCppyy::ExecScript ( const std::string &  name,
const std::vector< std::string > &  args 
)

Definition at line 318 of file API.cxx.

◆ GetAttrDirect()

static PyObject * CPyCppyy::GetAttrDirect ( PyObject pyclass,
PyObject pyname 
)
inlinestatic

Definition at line 120 of file ProxyWrappers.cxx.

◆ GetScopeProxy()

PyObject * CPyCppyy::GetScopeProxy ( Cppyy::TCppScope_t  scope)

Definition at line 497 of file ProxyWrappers.cxx.

◆ HashSignature()

uint64_t CPyCppyy::HashSignature ( CPyCppyy_PyArgs_t  args,
size_t  nargsf 
)
inline

Definition at line 17 of file CPPOverload.h.

◆ HaveImplicit()

bool CPyCppyy::HaveImplicit ( CallContext ctxt)
inline

Definition at line 132 of file CallContext.h.

◆ im_call()

static PyObject * CPyCppyy::im_call ( PyObject meth,
PyObject args,
PyObject kw 
)
static

Definition at line 248 of file CustomPyTypes.cxx.

◆ im_dealloc()

static void CPyCppyy::im_dealloc ( PyMethodObject *  im)
static

Definition at line 223 of file CustomPyTypes.cxx.

◆ im_descr_get()

static PyObject * CPyCppyy::im_descr_get ( PyObject meth,
PyObject obj,
PyObject pyclass 
)
static

Definition at line 292 of file CustomPyTypes.cxx.

◆ Import()

bool CPyCppyy::Import ( const std::string &  name)

Definition at line 259 of file API.cxx.

◆ indexiter_dealloc()

static void CPyCppyy::indexiter_dealloc ( indexiterobject ii)
static

Definition at line 348 of file CustomPyTypes.cxx.

◆ indexiter_iternext()

static PyObject * CPyCppyy::indexiter_iternext ( indexiterobject ii)
static

Definition at line 359 of file CustomPyTypes.cxx.

◆ indexiter_traverse()

static int CPyCppyy::indexiter_traverse ( indexiterobject ii,
visitproc  visit,
void *  arg 
)
static

Definition at line 354 of file CustomPyTypes.cxx.

◆ InsertDispatcher()

bool CPyCppyy::InsertDispatcher ( CPPScope klass,
PyObject bases,
PyObject dct,
std::ostringstream &  err 
)

Definition at line 167 of file Dispatcher.cxx.

◆ Instance_AsVoidPtr()

void * CPyCppyy::Instance_AsVoidPtr ( PyObject pyobject)

Definition at line 106 of file API.cxx.

◆ Instance_Check()

bool CPyCppyy::Instance_Check ( PyObject pyobject)

Definition at line 166 of file API.cxx.

◆ Instance_CheckExact()

bool CPyCppyy::Instance_CheckExact ( PyObject pyobject)

Definition at line 177 of file API.cxx.

◆ Instance_FromVoidPtr() [1/2]

PyObject * CPyCppyy::Instance_FromVoidPtr ( void *  addr,
const char *  classname,
int  python_owns 
)

Definition at line 140 of file API.cxx.

◆ Instance_FromVoidPtr() [2/2]

PyObject * CPyCppyy::Instance_FromVoidPtr ( void *  addr,
const std::string &  classname,
bool  python_owns = false 
)

Definition at line 121 of file API.cxx.

◆ Instance_IsLively()

bool CPyCppyy::Instance_IsLively ( PyObject pyobject)

Definition at line 221 of file API.cxx.

◆ IsConstructor()

bool CPyCppyy::IsConstructor ( uint64_t  flags)
inline

Definition at line 128 of file CallContext.h.

◆ IsCreator()

bool CPyCppyy::IsCreator ( uint64_t  flags)
inline

Definition at line 124 of file CallContext.h.

◆ IsSorted()

bool CPyCppyy::IsSorted ( uint64_t  flags)
inline

Definition at line 120 of file CallContext.h.

◆ LowLevelView_Check()

template<typename T >
bool CPyCppyy::LowLevelView_Check ( T *  object)
inline

Definition at line 86 of file LowLevelViews.h.

◆ LowLevelView_CheckExact()

template<typename T >
bool CPyCppyy::LowLevelView_CheckExact ( T *  object)
inline

Definition at line 92 of file LowLevelViews.h.

◆ meta_alloc()

static PyObject * CPyCppyy::meta_alloc ( PyTypeObject *  meta,
Py_ssize_t  nitems 
)
static

Definition at line 68 of file CPPScope.cxx.

◆ meta_dealloc()

static void CPyCppyy::meta_dealloc ( CPPScope scope)
static

Definition at line 75 of file CPPScope.cxx.

◆ meta_dir()

static PyObject * CPyCppyy::meta_dir ( CPPScope klass)
static

Definition at line 581 of file CPPScope.cxx.

◆ meta_getattro()

static PyObject * CPyCppyy::meta_getattro ( PyObject pyclass,
PyObject pyname 
)
static

Definition at line 306 of file CPPScope.cxx.

◆ meta_getcppname()

static PyObject * CPyCppyy::meta_getcppname ( CPPScope scope,
void *   
)
static

Definition at line 91 of file CPPScope.cxx.

◆ meta_getmodule()

static PyObject * CPyCppyy::meta_getmodule ( CPPScope scope,
void *   
)
static

Definition at line 99 of file CPPScope.cxx.

◆ meta_reflex()

static PyObject * CPyCppyy::meta_reflex ( CPPScope klass,
PyObject args 
)
static

Definition at line 548 of file CPPScope.cxx.

◆ meta_repr()

static PyObject * CPyCppyy::meta_repr ( CPPScope scope)
static

Definition at line 162 of file CPPScope.cxx.

◆ meta_setattro()

static int CPyCppyy::meta_setattro ( PyObject pyclass,
PyObject pyname,
PyObject pyval 
)
static

Definition at line 526 of file CPPScope.cxx.

◆ meta_setmodule()

static int CPyCppyy::meta_setmodule ( CPPScope scope,
PyObject value,
void *   
)
static

Definition at line 141 of file CPPScope.cxx.

◆ NoImplicit()

bool CPyCppyy::NoImplicit ( CallContext ctxt)
inline

Definition at line 140 of file CallContext.h.

◆ op_add_stub()

static PyObject * CPyCppyy::op_add_stub ( PyObject left,
PyObject right 
)
static

Definition at line 968 of file CPPInstance.cxx.

◆ op_clear()

static int CPyCppyy::op_clear ( CPPInstance pyobj)
static

Definition at line 439 of file CPPInstance.cxx.

◆ op_dealloc()

static void CPyCppyy::op_dealloc ( CPPInstance pyobj)
static

Definition at line 430 of file CPPInstance.cxx.

◆ op_dealloc_nofree()

void CPyCppyy::op_dealloc_nofree ( CPPInstance pyobj)

Definition at line 208 of file CPPInstance.cxx.

◆ op_destruct()

static PyObject * CPyCppyy::op_destruct ( CPPInstance self)
static

Definition at line 266 of file CPPInstance.cxx.

◆ op_dispatch()

static PyObject * CPyCppyy::op_dispatch ( PyObject self,
PyObject args,
PyObject  
)
static

Definition at line 277 of file CPPInstance.cxx.

◆ op_div_stub()

static PyObject * CPyCppyy::op_div_stub ( PyObject left,
PyObject right 
)
static

Definition at line 971 of file CPPInstance.cxx.

◆ op_get_smartptr()

static PyObject * CPyCppyy::op_get_smartptr ( CPPInstance self)
static

Definition at line 306 of file CPPInstance.cxx.

◆ op_getownership()

static PyObject * CPyCppyy::op_getownership ( CPPInstance pyobj,
void *   
)
static

Definition at line 867 of file CPPInstance.cxx.

◆ op_hash()

static Py_hash_t CPyCppyy::op_hash ( CPPInstance self)
static

Definition at line 666 of file CPPInstance.cxx.

◆ op_invert_stub()

static PyObject * CPyCppyy::op_invert_stub ( PyObject pyobj)
static

Definition at line 974 of file CPPInstance.cxx.

◆ op_item()

static PyObject * CPyCppyy::op_item ( CPPInstance self,
Py_ssize_t  idx 
)
static

Definition at line 349 of file CPPInstance.cxx.

◆ op_mul_stub()

static PyObject * CPyCppyy::op_mul_stub ( PyObject left,
PyObject right 
)
static

Definition at line 970 of file CPPInstance.cxx.

◆ op_neg_stub()

static PyObject * CPyCppyy::op_neg_stub ( PyObject pyobj)
static

Definition at line 972 of file CPPInstance.cxx.

◆ op_new()

static CPPInstance * CPyCppyy::op_new ( PyTypeObject *  subtype,
PyObject ,
PyObject  
)
static

Definition at line 419 of file CPPInstance.cxx.

◆ op_nonzero()

static int CPyCppyy::op_nonzero ( CPPInstance self)
static

Definition at line 241 of file CPPInstance.cxx.

◆ op_pos_stub()

static PyObject * CPyCppyy::op_pos_stub ( PyObject pyobj)
static

Definition at line 973 of file CPPInstance.cxx.

◆ op_repr()

static PyObject * CPyCppyy::op_repr ( CPPInstance self)
static

Definition at line 624 of file CPPInstance.cxx.

◆ op_reshape()

static PyObject * CPyCppyy::op_reshape ( CPPInstance self,
PyObject shape 
)
static

Definition at line 330 of file CPPInstance.cxx.

◆ op_richcompare()

static PyObject * CPyCppyy::op_richcompare ( CPPInstance self,
PyObject other,
int  op 
)
static

Definition at line 543 of file CPPInstance.cxx.

◆ op_setownership()

static int CPyCppyy::op_setownership ( CPPInstance pyobj,
PyObject value,
void *   
)
static

Definition at line 873 of file CPPInstance.cxx.

◆ op_str()

static PyObject * CPyCppyy::op_str ( CPPInstance self)
static

Definition at line 748 of file CPPInstance.cxx.

◆ op_str_internal()

static PyObject * CPyCppyy::op_str_internal ( PyObject pyobj,
PyObject lshift,
bool  isBound 
)
static

Definition at line 709 of file CPPInstance.cxx.

◆ op_sub_stub()

static PyObject * CPyCppyy::op_sub_stub ( PyObject left,
PyObject right 
)
static

Definition at line 969 of file CPPInstance.cxx.

◆ op_traverse()

static int CPyCppyy::op_traverse ( CPPInstance ,
visitproc  ,
void *   
)
static

Definition at line 234 of file CPPInstance.cxx.

◆ Overload_Check()

bool CPyCppyy::Overload_Check ( PyObject pyobject)

Definition at line 236 of file API.cxx.

◆ Overload_CheckExact()

bool CPyCppyy::Overload_CheckExact ( PyObject pyobject)

Definition at line 247 of file API.cxx.

◆ Prompt()

void CPyCppyy::Prompt ( )

Definition at line 522 of file API.cxx.

◆ pt_new()

static PyObject * CPyCppyy::pt_new ( PyTypeObject *  subtype,
PyObject args,
PyObject kwds 
)
static

Definition at line 193 of file CPPScope.cxx.

◆ PyLongOrInt_AsULong()

unsigned long CPyCppyy::PyLongOrInt_AsULong ( PyObject pyobject)

Definition at line 129 of file Utility.cxx.

◆ PyLongOrInt_AsULong64()

PY_ULONG_LONG CPyCppyy::PyLongOrInt_AsULong64 ( PyObject pyobject)

Definition at line 156 of file Utility.cxx.

◆ Pythonize()

bool CPyCppyy::Pythonize ( PyObject pyclass,
const std::string &  name 
)

Definition at line 1596 of file Pythonize.cxx.

◆ RefFloat_Check()

template<typename T >
bool CPyCppyy::RefFloat_Check ( T *  object)
inline

Definition at line 15 of file CustomPyTypes.h.

◆ RefFloat_CheckExact()

template<typename T >
bool CPyCppyy::RefFloat_CheckExact ( T *  object)
inline

Definition at line 21 of file CustomPyTypes.h.

◆ RefInt_Check()

template<typename T >
bool CPyCppyy::RefInt_Check ( T *  object)
inline

Definition at line 30 of file CustomPyTypes.h.

◆ RefInt_CheckExact()

template<typename T >
bool CPyCppyy::RefInt_CheckExact ( T *  object)
inline

Definition at line 36 of file CustomPyTypes.h.

◆ RegisterConverter() [1/2]

CPYCPPYY_EXPORT bool CPyCppyy::RegisterConverter ( const std::string &  name,
cf_t  fac 
)

Definition at line 3311 of file Converters.cxx.

◆ RegisterConverter() [2/2]

CPYCPPYY_EXTERN bool CPyCppyy::RegisterConverter ( const std::string &  name,
ConverterFactory_t   
)

◆ RegisterConverterAlias()

CPYCPPYY_EXPORT bool CPyCppyy::RegisterConverterAlias ( const std::string &  name,
const std::string &  target 
)

Definition at line 3324 of file Converters.cxx.

◆ RegisterExecutor()

CPYCPPYY_EXPORT bool CPyCppyy::RegisterExecutor ( const std::string &  name,
ExecutorFactory_t   
)

Definition at line 908 of file Executors.cxx.

◆ RegisterExecutorAlias()

CPYCPPYY_EXPORT bool CPyCppyy::RegisterExecutorAlias ( const std::string &  name,
const std::string &  target 
)

Definition at line 921 of file Executors.cxx.

◆ ReleasesGIL()

bool CPyCppyy::ReleasesGIL ( CallContext ctxt)
inline

Definition at line 144 of file CallContext.h.

◆ s_fnptr()

static std::regex CPyCppyy::s_fnptr ( "\\‍(:*\\*&*\\‍)"  )
static

◆ Scope_Check()

bool CPyCppyy::Scope_Check ( PyObject pyobject)

Definition at line 146 of file API.cxx.

◆ Scope_CheckExact()

bool CPyCppyy::Scope_CheckExact ( PyObject pyobject)

Definition at line 156 of file API.cxx.

◆ ScopeFlagCheck()

static bool CPyCppyy::ScopeFlagCheck ( CPPInstance self,
CPPScope::EFlags  flag 
)
inlinestatic

Definition at line 740 of file CPPInstance.cxx.

◆ ScopeFlagSet()

static void CPyCppyy::ScopeFlagSet ( CPPInstance self,
CPPScope::EFlags  flag 
)
inlinestatic

Definition at line 744 of file CPPInstance.cxx.

◆ SelectAndForward()

static PyObject * CPyCppyy::SelectAndForward ( TemplateProxy pytmpl,
CPPOverload pymeth,
CPyCppyy_PyArgs_t  args,
size_t  nargsf,
PyObject kwds,
bool  implicitOkay,
bool  use_targs,
uint64_t  sighash,
std::vector< Utility::PyError_t > &  errors 
)
inlinestatic

Definition at line 468 of file TemplateProxy.cxx.

◆ Sequence_Check()

bool CPyCppyy::Sequence_Check ( PyObject pyobject)

Definition at line 188 of file API.cxx.

◆ sync_templates()

static void CPyCppyy::sync_templates ( PyObject pyclass,
const std::string &  mtCppName,
const std::string &  mtName 
)
inlinestatic

Definition at line 137 of file ProxyWrappers.cxx.

◆ targs2str()

static std::string CPyCppyy::targs2str ( TemplateProxy pytmpl)
inlinestatic

Definition at line 444 of file TemplateProxy.cxx.

◆ TC2CppName()

static PyObject * CPyCppyy::TC2CppName ( PyObject pytc,
const char *  cpd,
bool  allow_voidp 
)
static

Definition at line 20 of file TemplateProxy.cxx.

◆ TemplateProxy_Check()

template<typename T >
bool CPyCppyy::TemplateProxy_Check ( T *  object)
inline

Definition at line 79 of file TemplateProxy.h.

◆ TemplateProxy_CheckExact()

template<typename T >
bool CPyCppyy::TemplateProxy_CheckExact ( T *  object)
inline

Definition at line 85 of file TemplateProxy.h.

◆ TemplateProxy_New()

TemplateProxy * CPyCppyy::TemplateProxy_New ( const std::string &  cppname,
const std::string &  pyname,
PyObject pyclass 
)
inline

Definition at line 91 of file TemplateProxy.h.

◆ tpp_call()

static PyObject * CPyCppyy::tpp_call ( TemplateProxy pytmpl,
PyObject args,
PyObject kwds 
)
static

Definition at line 527 of file TemplateProxy.cxx.

◆ tpp_clear()

static int CPyCppyy::tpp_clear ( TemplateProxy pytmpl)
static

Definition at line 359 of file TemplateProxy.cxx.

◆ tpp_dealloc()

static void CPyCppyy::tpp_dealloc ( TemplateProxy pytmpl)
static

Definition at line 369 of file TemplateProxy.cxx.

◆ tpp_descr_get()

static TemplateProxy * CPyCppyy::tpp_descr_get ( TemplateProxy pytmpl,
PyObject pyobj,
PyObject  
)
static

Definition at line 699 of file TemplateProxy.cxx.

◆ tpp_doc()

static PyObject * CPyCppyy::tpp_doc ( TemplateProxy pytmpl,
void *   
)
static

Definition at line 391 of file TemplateProxy.cxx.

◆ tpp_doc_set()

static int CPyCppyy::tpp_doc_set ( TemplateProxy pytmpl,
PyObject val,
void *   
)
static

Definition at line 427 of file TemplateProxy.cxx.

◆ tpp_getuseffi()

static PyObject * CPyCppyy::tpp_getuseffi ( CPPOverload ,
void *   
)
static

Definition at line 741 of file TemplateProxy.cxx.

◆ tpp_hash()

static Py_hash_t CPyCppyy::tpp_hash ( TemplateProxy self)
static

Definition at line 336 of file TemplateProxy.cxx.

◆ tpp_new()

static TemplateProxy * CPyCppyy::tpp_new ( PyTypeObject *  ,
PyObject ,
PyObject  
)
static

Definition at line 321 of file TemplateProxy.cxx.

◆ tpp_overload()

static PyObject * CPyCppyy::tpp_overload ( TemplateProxy pytmpl,
PyObject args 
)
static

Definition at line 789 of file TemplateProxy.cxx.

◆ tpp_richcompare()

static PyObject * CPyCppyy::tpp_richcompare ( TemplateProxy self,
PyObject other,
int  op 
)
static

Definition at line 342 of file TemplateProxy.cxx.

◆ tpp_setuseffi()

static int CPyCppyy::tpp_setuseffi ( CPPOverload ,
PyObject ,
void *   
)
static

Definition at line 747 of file TemplateProxy.cxx.

◆ tpp_subscript()

static PyObject * CPyCppyy::tpp_subscript ( TemplateProxy pytmpl,
PyObject args 
)
static

Definition at line 728 of file TemplateProxy.cxx.

◆ tpp_traverse()

static int CPyCppyy::tpp_traverse ( TemplateProxy pytmpl,
visitproc  visit,
void *  arg 
)
static

Definition at line 381 of file TemplateProxy.cxx.

◆ tptc_call()

static PyObject * CPyCppyy::tptc_call ( typedefpointertoclassobject self,
PyObject args,
PyObject  
)
static

Definition at line 76 of file CustomPyTypes.cxx.

◆ tptc_getcppname()

static PyObject * CPyCppyy::tptc_getcppname ( typedefpointertoclassobject self,
void *   
)
static

Definition at line 85 of file CustomPyTypes.cxx.

◆ tptc_name()

static PyObject * CPyCppyy::tptc_name ( typedefpointertoclassobject self,
void *   
)
static

Definition at line 92 of file CustomPyTypes.cxx.

◆ TupleOfInstances_Check()

template<typename T >
bool CPyCppyy::TupleOfInstances_Check ( T *  object)
inline

Definition at line 21 of file TupleOfInstances.h.

◆ TupleOfInstances_CheckExact()

template<typename T >
bool CPyCppyy::TupleOfInstances_CheckExact ( T *  object)
inline

Definition at line 27 of file TupleOfInstances.h.

◆ TupleOfInstances_New()

PyObject * CPyCppyy::TupleOfInstances_New ( Cppyy::TCppObject_t  address,
Cppyy::TCppType_t  klass,
cdims_t  dims 
)

Definition at line 127 of file TupleOfInstances.cxx.

◆ TypedefPointerToClass_Check()

template<typename T >
bool CPyCppyy::TypedefPointerToClass_Check ( T *  object)
inline

Definition at line 56 of file CustomPyTypes.h.

◆ TypedefPointerToClass_CheckExact()

template<typename T >
bool CPyCppyy::TypedefPointerToClass_CheckExact ( T *  object)
inline

Definition at line 62 of file CustomPyTypes.h.

◆ UnregisterConverter()

CPYCPPYY_EXPORT bool CPyCppyy::UnregisterConverter ( const std::string &  name)

Definition at line 3341 of file Converters.cxx.

◆ UnregisterExecutor()

CPYCPPYY_EXPORT bool CPyCppyy::UnregisterExecutor ( const std::string &  name)

Definition at line 938 of file Executors.cxx.

◆ UpdateDispatchMap()

static void CPyCppyy::UpdateDispatchMap ( TemplateProxy pytmpl,
bool  use_targs,
uint64_t  sighash,
CPPOverload pymeth 
)
inlinestatic

Definition at line 450 of file TemplateProxy.cxx.

◆ UseStrictOwnership()

bool CPyCppyy::UseStrictOwnership ( CallContext ctxt)
inline

Definition at line 148 of file CallContext.h.

◆ vectoriter_dealloc()

static void CPyCppyy::vectoriter_dealloc ( vectoriterobject vi)
static

Definition at line 404 of file CustomPyTypes.cxx.

◆ vectoriter_iternext()

static PyObject * CPyCppyy::vectoriter_iternext ( vectoriterobject vi)
static

Definition at line 409 of file CustomPyTypes.cxx.

Variable Documentation

◆ CPPDataMember_Type

PyTypeObject CPyCppyy::CPPDataMember_Type

Definition at line 252 of file CPPDataMember.cxx.

◆ CPPExcInstance_Type

CPYCPPYY_IMPORT PyTypeObject CPyCppyy::CPPExcInstance_Type

Definition at line 226 of file CPPExcInstance.cxx.

◆ CPPInstance_Type

PyTypeObject CPyCppyy::CPPInstance_Type

Definition at line 1041 of file CPPInstance.cxx.

◆ CPPOverload_Type

CPYCPPYY_IMPORT PyTypeObject CPyCppyy::CPPOverload_Type

Definition at line 985 of file CPPOverload.cxx.

◆ CPPScope_Type

PyTypeObject CPyCppyy::CPPScope_Type

Definition at line 645 of file CPPScope.cxx.

◆ CustomInstanceMethod_Type

PyTypeObject CPyCppyy::CustomInstanceMethod_Type

Definition at line 313 of file CustomPyTypes.cxx.

◆ dm_members

PyMemberDef CPyCppyy::dm_members[]
static
Initial value:
= {
{(char*)"__doc__", T_OBJECT, offsetof(CPPDataMember, fDoc), 0,
(char*)"writable documentation"},
{NULL, 0, 0, 0, nullptr}
}

Definition at line 216 of file CPPDataMember.cxx.

◆ dm_methods

PyMethodDef CPyCppyy::dm_methods[]
static
Initial value:
= {
{(char*)"__cpp_reflex__", (PyCFunction)dm_reflex, METH_VARARGS,
(char*)"C++ datamember reflection information" },
{(char*)nullptr, nullptr, 0, nullptr }
}
static PyObject * dm_reflex(CPPDataMember *dm, PyObject *args)

Definition at line 244 of file CPPDataMember.cxx.

◆ ep_as_number

PyNumberMethods CPyCppyy::ep_as_number
static

Definition at line 163 of file CPPExcInstance.cxx.

◆ free_list

PyMethodObject* CPyCppyy::free_list
static

Definition at line 176 of file CustomPyTypes.cxx.

◆ gAbrtException

PyObject * CPyCppyy::gAbrtException = nullptr

Definition at line 238 of file CPyCppyyModule.cxx.

◆ gBusException

PyObject * CPyCppyy::gBusException = nullptr

Definition at line 235 of file CPyCppyyModule.cxx.

◆ gCapturedError

std::ostringstream CPyCppyy::gCapturedError

Definition at line 241 of file CPyCppyyModule.cxx.

◆ gConvFactories

ConvFactories_t CPyCppyy::gConvFactories
static

Definition at line 54 of file Converters.cxx.

◆ gDefaultObject

PyObject * CPyCppyy::gDefaultObject = nullptr

Definition at line 234 of file CPyCppyyModule.cxx.

◆ gDictLookupActive

bool CPyCppyy::gDictLookupActive = false
extern

Definition at line 28 of file Utility.cxx.

◆ gDictLookupOrg

dict_lookup_func CPyCppyy::gDictLookupOrg = 0
extern

Definition at line 27 of file Utility.cxx.

◆ gExecFactories

ExecFactories_t CPyCppyy::gExecFactories
static

Definition at line 24 of file Executors.cxx.

◆ gIllException

PyObject * CPyCppyy::gIllException = nullptr

Definition at line 237 of file CPyCppyyModule.cxx.

◆ gIteratorTypes

std::set< std::string > CPyCppyy::gIteratorTypes

Definition at line 1572 of file Pythonize.cxx.

◆ gNullPtrObject

PyObject * CPyCppyy::gNullPtrObject = nullptr

Definition at line 17 of file CPPConstructor.cxx.

◆ gOldErrorBuffer

std::streambuf* CPyCppyy::gOldErrorBuffer = nullptr

Definition at line 242 of file CPyCppyyModule.cxx.

◆ gPinnedTypes

std::set< Cppyy::TCppType_t > CPyCppyy::gPinnedTypes

Definition at line 240 of file CPyCppyyModule.cxx.

◆ gPythonizations

std::map< std::string, std::vector< PyObject * > > CPyCppyy::gPythonizations

Definition at line 239 of file CPyCppyyModule.cxx.

◆ gPyTypeMap

PyObject * CPyCppyy::gPyTypeMap = nullptr

Definition at line 232 of file CPyCppyyModule.cxx.

◆ gSegvException

PyObject * CPyCppyy::gSegvException = nullptr

Definition at line 236 of file CPyCppyyModule.cxx.

◆ gThisModule

PyObject * CPyCppyy::gThisModule = nullptr

Definition at line 30 of file CPPMethod.cxx.

◆ IndexIter_Type

PyTypeObject CPyCppyy::IndexIter_Type

Definition at line 371 of file CustomPyTypes.cxx.

◆ InstanceArrayIter_Type

PyTypeObject CPyCppyy::InstanceArrayIter_Type

Definition at line 89 of file TupleOfInstances.cxx.

◆ LowLevelView_Type

PyTypeObject CPyCppyy::LowLevelView_Type

Definition at line 900 of file LowLevelViews.cxx.

◆ meta_getset

PyGetSetDef CPyCppyy::meta_getset[]
static
Initial value:
= {
{(char*)"__cpp_name__", (getter)meta_getcppname, nullptr, nullptr, nullptr},
{(char*)"__module__", (getter)meta_getmodule, (setter)meta_setmodule, nullptr, nullptr},
{(char*)nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * meta_getmodule(CPPScope *scope, void *)
Definition CPPScope.cxx:99
static PyObject * meta_getcppname(CPPScope *scope, void *)
Definition CPPScope.cxx:91

Definition at line 637 of file CPPScope.cxx.

◆ meta_methods

PyMethodDef CPyCppyy::meta_methods[]
static
Initial value:
= {
{(char*)"__cpp_reflex__", (PyCFunction)meta_reflex, METH_VARARGS,
(char*)"C++ datamember reflection information" },
{(char*)"__dir__", (PyCFunction)meta_dir, METH_NOARGS, nullptr},
{(char*)nullptr, nullptr, 0, nullptr}
}
static PyObject * meta_reflex(CPPScope *klass, PyObject *args)
Definition CPPScope.cxx:548
static PyObject * meta_dir(CPPScope *klass)
Definition CPPScope.cxx:581

Definition at line 628 of file CPPScope.cxx.

◆ numfree

int CPyCppyy::numfree = 0
static

Definition at line 177 of file CustomPyTypes.cxx.

◆ op_as_number

PyNumberMethods CPyCppyy::op_as_number
static

Definition at line 977 of file CPPInstance.cxx.

◆ op_as_sequence

PySequenceMethods CPyCppyy::op_as_sequence
static
Initial value:
= {
0,
0,
0,
( intargfunc )op_item,
0,
0,
0,
0,
0,
0,
}

Definition at line 390 of file CPPInstance.cxx.

◆ op_getset

PyGetSetDef CPyCppyy::op_getset[]
static
Initial value:
= {
{(char*)"__python_owns__", (getter)op_getownership, (setter)op_setownership,
(char*)"If true, python manages the life time of this object", nullptr},
{(char*)nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * op_getownership(CPPInstance *pyobj, void *)

Definition at line 889 of file CPPInstance.cxx.

◆ op_methods

PyMethodDef CPyCppyy::op_methods[]
static
Initial value:
= {
{(char*)"__destruct__", (PyCFunction)op_destruct, METH_NOARGS,
(char*)"call the C++ destructor"},
{(char*)"__dispatch__", (PyCFunction)op_dispatch, METH_VARARGS,
(char*)"dispatch to selected overload"},
{(char*)"__smartptr__", (PyCFunction)op_get_smartptr, METH_NOARGS,
(char*)"get associated smart pointer, if any"},
{(char*)"__reshape__", (PyCFunction)op_reshape, METH_O,
(char*)"cast pointer to 1D array type"},
{(char*)nullptr, nullptr, 0, nullptr}
}
static PyObject * op_reshape(CPPInstance *self, PyObject *shape)
static PyObject * op_dispatch(PyObject *self, PyObject *args, PyObject *)
static PyObject * op_destruct(CPPInstance *self)

Definition at line 405 of file CPPInstance.cxx.

◆ RefFloat_Type

PyTypeObject CPyCppyy::RefFloat_Type
Initial value:
= {
PyObject_HEAD_INIT( &PyType_Type ) 0 ,
(char*)"cppyy.Double",
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES |
Py_TPFLAGS_BASETYPE,
(char*)"CPyCppyy float object for pass by reference",
0, 0, 0, 0, 0, 0, 0, 0, 0,
&PyFloat_Type,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}

Custom "builtins," detectable by type, for pass by ref and improved performance.

Definition at line 27 of file CustomPyTypes.cxx.

◆ RefInt_Type

PyTypeObject CPyCppyy::RefInt_Type
Initial value:
= {
PyObject_HEAD_INIT( &PyType_Type ) 0 ,
(char*)"cppyy.Long",
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
Py_TPFLAGS_DEFAULT | Py_TPFLAGS_CHECKTYPES |
Py_TPFLAGS_BASETYPE
,
(char*)"CPyCppyy long object for pass by reference",
0, 0, 0, 0, 0, 0, 0, 0, 0,
&PyInt_Type,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
}

Definition at line 49 of file CustomPyTypes.cxx.

◆ SMALL_ARGS_N

const int CPyCppyy::SMALL_ARGS_N = 8

Definition at line 13 of file CallContext.h.

◆ TemplateProxy_Type

PyTypeObject CPyCppyy::TemplateProxy_Type

Definition at line 890 of file TemplateProxy.cxx.

◆ tpp_as_mapping

PyMappingMethods CPyCppyy::tpp_as_mapping
static
Initial value:
= {
nullptr, (binaryfunc)tpp_subscript, nullptr
}

Definition at line 754 of file TemplateProxy.cxx.

◆ tpp_getset

PyGetSetDef CPyCppyy::tpp_getset[]
static
Initial value:
= {
{(char*)"__doc__", (getter)tpp_doc, (setter)tpp_doc_set, nullptr, nullptr},
{(char*)"__useffi__", (getter)tpp_getuseffi, (setter)tpp_setuseffi,
(char*)"unused", nullptr},
{(char*)nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * tpp_doc(TemplateProxy *pytmpl, void *)
static PyObject * tpp_getuseffi(CPPOverload *, void *)

Definition at line 758 of file TemplateProxy.cxx.

◆ tpp_methods

PyMethodDef CPyCppyy::tpp_methods[]
static
Initial value:
= {
{(char*)"__overload__", (PyCFunction)tpp_overload, METH_VARARGS,
(char*)"select overload for dispatch" },
{(char*)nullptr, nullptr, 0, nullptr }
}
static PyObject * tpp_overload(TemplateProxy *pytmpl, PyObject *args)

Definition at line 882 of file TemplateProxy.cxx.

◆ tptc_getset

PyGetSetDef CPyCppyy::tptc_getset[]
static
Initial value:
= {
{(char*)"__name__", (getter)tptc_name, nullptr, nullptr, nullptr},
{(char*)"__cpp_name__", (getter)tptc_getcppname, nullptr, nullptr, nullptr},
{(char*)nullptr, nullptr, nullptr, nullptr, nullptr}
}
static PyObject * tptc_name(typedefpointertoclassobject *self, void *)
static PyObject * tptc_getcppname(typedefpointertoclassobject *self, void *)

Definition at line 105 of file CustomPyTypes.cxx.

◆ TupleOfInstances_Type

PyTypeObject CPyCppyy::TupleOfInstances_Type

Representation of C-style array of instances.

Author
WLAV
Date
02/10/2014
Version
1.0

Definition at line 195 of file TupleOfInstances.cxx.

◆ TypedefPointerToClass_Type

PyTypeObject CPyCppyy::TypedefPointerToClass_Type

Definition at line 112 of file CustomPyTypes.cxx.

◆ UNKNOWN_SIZE

const dim_t CPyCppyy::UNKNOWN_SIZE = (dim_t)-1
static

Definition at line 11 of file Dimensions.h.

◆ VectorIter_Type

PyTypeObject CPyCppyy::VectorIter_Type

Definition at line 439 of file CustomPyTypes.cxx.