#include "PyROOT.h"
#include "PyStrings.h"
#include "Converters.h"
#include "TCallContext.h"
#include "ObjectProxy.h"
#include "TPyBufferFactory.h"
#include "TCustomPyTypes.h"
#include "TTupleOfInstances.h"
#include "Utility.h"
#include "RootWrapper.h"
#include "TClass.h"
#include "TClassEdit.h"
#include <limits.h>
#include <stddef.h>
#include <string.h>
#include <utility>
#include <sstream>
#include <tuple>
Namespaces | |
namespace | PyROOT |
Macros | |
#define | PYROOT_ARRAY_CONVERTER_FACTORY(name) |
#define | PYROOT_BASIC_CONVERTER_FACTORY(name) |
#define | PYROOT_IMPLEMENT_ARRAY_CONVERTER(name, type, code) |
#define | PYROOT_IMPLEMENT_BASIC_CHAR_CONVERTER(name, type, low, high) |
#define | PYROOT_IMPLEMENT_BASIC_CONST_CHAR_REF_CONVERTER(name, type, low, high) |
#define | PYROOT_IMPLEMENT_BASIC_CONST_REF_CONVERTER(name, type, F1) |
#define | PYROOT_IMPLEMENT_BASIC_CONVERTER(name, type, stype, F1, F2, tc) |
#define | PYROOT_IMPLEMENT_STRING_AS_PRIMITIVE_CONVERTER(name, type, F1, F2) |
Typedefs | |
typedef TConverter *(* | PyROOT::ConverterFactory_t) (Long_t size) |
typedef std::map< std::string, ConverterFactory_t > | PyROOT::ConvFactories_t |
Functions | |
static Int_t | ExtractChar (PyObject *pyobject, const char *tname, Int_t low, Int_t high) |
static std::tuple< const char *, Py_ssize_t > | getStringAndSizeCString (PyObject *pyobject) |
construct a new string and copy it in new memory More... | |
static std::tuple< const char *, Py_ssize_t > | getStringAndSizeSTLString (PyObject *pyobject) |
PYROOT_IMPLEMENT_ARRAY_CONVERTER (Bool, Bool_t, 'b') Bool_t PyROOT | |
convert pyobject to C++ long long*, set arg for call More... | |
static Bool_t | PyROOT_PyLong_AsBool (PyObject *pyobject) |
range-checking python integer to C++ bool conversion More... | |
static Short_t | PyROOT_PyLong_AsShort (PyObject *pyobject) |
range-checking python integer to C++ short int conversion More... | |
static Long_t | PyROOT_PyLong_AsStrictLong (PyObject *pyobject) |
strict python integer to C++ integer conversion More... | |
static UShort_t | PyROOT_PyLong_AsUShort (PyObject *pyobject) |
range-checking python integer to C++ unsigned short int conversion More... | |
static Char_t | PyROOT_PyUnicode_AsChar (PyObject *pyobject) |
python string to C++ char conversion More... | |
Variables | |
ConvFactories_t | PyROOT::gConvFactories |
R__EXTERN PyObject * | PyROOT::gNullPtrObject = 0 |
#define PYROOT_ARRAY_CONVERTER_FACTORY | ( | name | ) |
Definition at line 1609 of file Converters.cxx.
#define PYROOT_BASIC_CONVERTER_FACTORY | ( | name | ) |
Definition at line 1603 of file Converters.cxx.
Definition at line 830 of file Converters.cxx.
Definition at line 236 of file Converters.cxx.
Definition at line 220 of file Converters.cxx.
Definition at line 154 of file Converters.cxx.
Definition at line 909 of file Converters.cxx.
|
inlinestatic |
Definition at line 182 of file Converters.cxx.
|
static |
construct a new string and copy it in new memory
Definition at line 567 of file Converters.cxx.
|
static |
Definition at line 897 of file Converters.cxx.
convert pyobject
to C++ long long*, set arg for call
Definition at line 869 of file Converters.cxx.
range-checking python integer to C++ bool conversion
Definition at line 66 of file Converters.cxx.
range-checking python integer to C++ short int conversion
Definition at line 103 of file Converters.cxx.
strict python integer to C++ integer conversion
Definition at line 122 of file Converters.cxx.
range-checking python integer to C++ unsigned short int conversion
Definition at line 85 of file Converters.cxx.
python string to C++ char conversion
Definition at line 79 of file Converters.cxx.