Logo ROOT  
Reference Guide
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 <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
 

Typedef Documentation

◆ TC2POperatorMapping_t

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

Definition at line 29 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 367 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 248 of file Utility.cxx.

Variable Documentation

◆ gC2POperatorMapping

TC2POperatorMapping_t gC2POperatorMapping
static

Definition at line 30 of file Utility.cxx.

◆ gOpRemove

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

Definition at line 32 of file Utility.cxx.

◆ gOpSkip

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

Definition at line 31 of file Utility.cxx.

◆ includesDone

bool includesDone = false
static

Definition at line 934 of file Utility.cxx.