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

Definition at line 37 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

uint32_t fFlags
 
MethodInfo_tfMethodInfo
 
PyObject_HEAD CPPInstancefSelf
 

Private Member Functions

 CPPOverload ()=delete
 

#include </home/sftnight/build/workspace/root-makedoc-v634/rootspi/rdoc/src/v6-34-00-patches/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 39 of file CPPOverload.h.

◆ Methods_t

Definition at line 40 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 1089 of file CPPOverload.cxx.

◆ FindOverload() [1/2]

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

Definition at line 1109 of file CPPOverload.cxx.

◆ FindOverload() [2/2]

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

Definition at line 1170 of file CPPOverload.cxx.

◆ GetName()

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

Definition at line 65 of file CPPOverload.h.

◆ HasMethods()

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

Definition at line 66 of file CPPOverload.h.

◆ MergeOverload()

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

Definition at line 1097 of file CPPOverload.cxx.

◆ Set()

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

Definition at line 1067 of file CPPOverload.cxx.

Member Data Documentation

◆ fFlags

uint32_t CPyCppyy::CPPOverload::fFlags

Definition at line 76 of file CPPOverload.h.

◆ fMethodInfo

MethodInfo_t* CPyCppyy::CPPOverload::fMethodInfo

Definition at line 75 of file CPPOverload.h.

◆ fSelf

PyObject_HEAD CPPInstance* CPyCppyy::CPPOverload::fSelf

Definition at line 74 of file CPPOverload.h.

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