Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
CPyCppyy::CPPOverload Class Reference

Definition at line 36 of file CPPOverload.h.

Classes

struct  MethodInfo_t
 

Public Types

typedef std::vector< std::pair< uint64_t, PyCallable * > > DispatchMap_t
 
typedef std::vector< PyCallable * > Methods_t
 

Public Member Functions

void AdoptMethod (PyCallable *pc)
 
PyObjectFindOverload (const std::string &signature, int want_const=-1)
 
PyObjectFindOverload (PyObject *args_tuple, int want_const=-1)
 
const std::string & GetName () const
 
bool HasMethods () const
 
void MergeOverload (CPPOverload *meth)
 
void Set (const std::string &name, std::vector< PyCallable * > &methods)
 

Public Attributes

MethodInfo_tfMethodInfo
 
PyObject_HEAD CPPInstancefSelf
 

Private Member Functions

 CPPOverload ()=delete
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/bindings/pyroot/cppyy/CPyCppyy/src/CPPOverload.h>

Member Typedef Documentation

◆ DispatchMap_t

typedef std::vector<std::pair<uint64_t, PyCallable*> > CPyCppyy::CPPOverload::DispatchMap_t

Definition at line 38 of file CPPOverload.h.

◆ Methods_t

Definition at line 39 of file CPPOverload.h.

Constructor & Destructor Documentation

◆ CPPOverload()

CPyCppyy::CPPOverload::CPPOverload ( )
privatedelete

Member Function Documentation

◆ AdoptMethod()

void CPyCppyy::CPPOverload::AdoptMethod ( PyCallable pc)

Definition at line 929 of file CPPOverload.cxx.

◆ FindOverload() [1/2]

PyObject * CPyCppyy::CPPOverload::FindOverload ( const std::string &  signature,
int  want_const = -1 
)

Definition at line 949 of file CPPOverload.cxx.

◆ FindOverload() [2/2]

PyObject * CPyCppyy::CPPOverload::FindOverload ( PyObject args_tuple,
int  want_const = -1 
)

Definition at line 1011 of file CPPOverload.cxx.

◆ GetName()

const std::string & CPyCppyy::CPPOverload::GetName ( ) const
inline

Definition at line 62 of file CPPOverload.h.

◆ HasMethods()

bool CPyCppyy::CPPOverload::HasMethods ( ) const
inline

Definition at line 63 of file CPPOverload.h.

◆ MergeOverload()

void CPyCppyy::CPPOverload::MergeOverload ( CPPOverload meth)

Definition at line 937 of file CPPOverload.cxx.

◆ Set()

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

Definition at line 911 of file CPPOverload.cxx.

Member Data Documentation

◆ fMethodInfo

MethodInfo_t* CPyCppyy::CPPOverload::fMethodInfo

Definition at line 72 of file CPPOverload.h.

◆ fSelf

PyObject_HEAD CPPInstance* CPyCppyy::CPPOverload::fSelf

Definition at line 71 of file CPPOverload.h.

  • bindings/pyroot/cppyy/CPyCppyy/src/CPPOverload.h
  • bindings/pyroot/cppyy/CPyCppyy/src/CPPOverload.cxx