Logo ROOT  
Reference Guide
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)
 
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-v622/rootspi/rdoc/src/v6-22-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 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 942 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 950 of file CPPOverload.cxx.

◆ Set()

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

Definition at line 924 of file CPPOverload.cxx.

Member Data Documentation

◆ fMethodInfo

MethodInfo_t* CPyCppyy::CPPOverload::fMethodInfo

Definition at line 68 of file CPPOverload.h.

◆ fSelf

PyObject_HEAD CPPInstance* CPyCppyy::CPPOverload::fSelf

Definition at line 67 of file CPPOverload.h.


The documentation for this class was generated from the following files: