34 char val = (char)
llval;
35#if PY_VERSION_HEX < 0x03000000
99 {
"char",
"c_char"}, {
"wchar_t",
"c_wchar"},
100 {
"std::byte",
"c_byte"}, {
"int8_t",
"c_byte"}, {
"uint8_t",
"c_ubyte"},
101 {
"short",
"c_short"}, {
"int16_t",
"c_int16"}, {
"unsigned short",
"c_ushort"}, {
"uint16_t",
"c_uint16"},
102 {
"int",
"c_int"}, {
"unsigned int",
"c_uint"},
103 {
"long",
"c_long"}, {
"unsigned long",
"c_ulong"},
104 {
"long long",
"c_longlong"}, {
"unsigned long long",
"c_ulonglong"}};
179 std::string
modname = TypeManip::extract_namespace(
ename);
180 TypeManip::cppscope_to_pyscope(
modname);
static PyObject * enum_repr(PyObject *self)
static std::map< std::string, std::string > gCTypesNames
static PyObject * pytype_from_enum_type(const std::string &enum_type)
static PyObject * enum_ctype(PyObject *cls, PyObject *args, PyObject *kwds)
static PyObject * pyval_from_enum(const std::string &enum_type, PyObject *pytype, PyObject *btype, Cppyy::TCppEnum_t etype, Cppyy::TCppIndex_t idata)
static PyTypeObject * GetCTypesType(const std::string &cppname)
static int enum_setattro(PyObject *, PyObject *, PyObject *)
#define CPyCppyy_PyText_FromStringAndSize
#define CPyCppyy_PyText_AsString
#define CPyCppyy_PyText_FromFormat
#define CPyCppyy_PyText_Type
#define CPyCppyy_PyText_FromString
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
const_iterator end() const
CPPEnum * CPPEnum_New(const std::string &name, Cppyy::TCppScope_t scope)
RPY_EXPORTED TCppScope_t gGlobalScope
RPY_EXPORTED std::string ResolveEnum(const std::string &enum_type)
RPY_EXPORTED long long GetEnumDataValue(TCppEnum_t, TCppIndex_t idata)
RPY_EXPORTED std::string GetScopedFinalName(TCppType_t type)
RPY_EXPORTED std::string GetEnumDataName(TCppEnum_t, TCppIndex_t idata)
RPY_EXPORTED TCppIndex_t GetNumEnumData(TCppEnum_t)
RPY_EXPORTED TCppEnum_t GetEnum(TCppScope_t scope, const std::string &enum_name)