Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
Utility.cxx File Reference
#include "CPyCppyy.h"
#include "Utility.h"
#include "CPPFunction.h"
#include "CPPInstance.h"
#include "CPPOverload.h"
#include "ProxyWrappers.h"
#include "PyCallable.h"
#include "PyStrings.h"
#include "CustomPyTypes.h"
#include "TemplateProxy.h"
#include "TypeManip.h"
#include "RConfig.h"
#include <limits.h>
#include <string.h>
#include <algorithm>
#include <list>
#include <mutex>
#include <set>
#include <sstream>
#include <utility>
Include dependency graph for Utility.cxx:

Typedefs

typedef std::map< std::string, std::string > TC2POperatorMapping_t
 

Functions

static bool AddTypeName (std::string &tmpl_name, PyObject *tn, PyObject *arg, CPyCppyy::Utility::ArgPreference pref, int *pcnt=nullptr)
 
static CPyCppyy::PyCallableBuildOperator (const std::string &lcname, const std::string &rcname, const char *op, Cppyy::TCppScope_t scope, bool reverse=false)
 

Variables

static TC2POperatorMapping_t gC2POperatorMapping
 
static std::set< std::string > gOpRemove
 
static std::set< std::string > gOpSkip
 
static bool includesDone = false
 
static std::map< void *, PyObject * > sStdFuncLookup
 
static std::map< std::string, PyObject * > sStdFuncMakerLookup
 

Typedef Documentation

◆ TC2POperatorMapping_t

typedef std::map<std::string, std::string> TC2POperatorMapping_t

Definition at line 30 of file Utility.cxx.

Function Documentation

◆ AddTypeName()

static bool AddTypeName ( std::string &  tmpl_name,
PyObject tn,
PyObject arg,
CPyCppyy::Utility::ArgPreference  pref,
int pcnt = nullptr 
)
static

Definition at line 368 of file Utility.cxx.

◆ BuildOperator()

static CPyCppyy::PyCallable * BuildOperator ( const std::string &  lcname,
const std::string &  rcname,
const char *  op,
Cppyy::TCppScope_t  scope,
bool  reverse = false 
)
inlinestatic

Definition at line 249 of file Utility.cxx.

Variable Documentation

◆ gC2POperatorMapping

TC2POperatorMapping_t gC2POperatorMapping
static

Definition at line 31 of file Utility.cxx.

◆ gOpRemove

std::set<std::string> gOpRemove
static

Definition at line 33 of file Utility.cxx.

◆ gOpSkip

std::set<std::string> gOpSkip
static

Definition at line 32 of file Utility.cxx.

◆ includesDone

bool includesDone = false
static

Definition at line 1000 of file Utility.cxx.

◆ sStdFuncLookup

std::map<void*, PyObject*> sStdFuncLookup
static

Definition at line 596 of file Utility.cxx.

◆ sStdFuncMakerLookup

std::map<std::string, PyObject*> sStdFuncMakerLookup
static

Definition at line 597 of file Utility.cxx.