Namespaces | |
| CPyReferences27 | |
| specialtype | |
Typedefs | |
| template<typename T = Generic> | |
| using | DelegatePyObject_FromData = Delegate< CPyRef(const T *, const CPyTypeRef &expected)> |
| using | CPyCapsule_Destructor = void(NativePyObject *) |
| using | DelegatePyObject_AsData = Delegate< Result< Bool >(const DataType &expected, const CPyRef &src, Data *dst)> |
| using | destruct = void(NativePyObject *) |
| using | reprfunc = NativePyObject *(NativePyObject *) |
| using | newfunc = NativePyObject *(NativePyTypeObject *type, NativePyObject *args, NativePyObject *kwds) |
| using | allocfunc = NativePyObject *(NativePyTypeObject *type, Int nitems) |
| using | NativePyCFunctionWithKeywords = NativePyObject *(*)(NativePyObject *, NativePyObject *, NativePyObject *) |
Enumerations | |
| enum | PATHHANDLE { OVERWRITE, APPEND_AT_END, INSERT_AT_BEGINNING } |
| enum | GILSTATE { NOT_ACTIVE, ACTIVE_BUT_NOT_CURRENT_THREAD, ACTIVE_AND_CURRENT_THREAD } |
| enum | SPECIALPATH { MAXON_MODULES, PREFS_PYTHON_GENERATED_DIRECTORY, PREFS_PYTHON_GLOBAL_LIBS, PREFS_PYTHON_LOCAL_LIBS } |
| enum | PYGILSTATE { LOCKED, UNLOCKED } |
| enum | PYINPUT { SINGLE, FILE, EVAL } |
| enum | PYSTARTOPERATION { NONE, EXECUTE_CODE, EXECUTE_MODULE, EXECUTE_FILE, VERSION } |
| enum | PYTHONFLAG { NONE, DEBUG, VERBOSE, INTERACTIVE, INSPECT, OPTIMIZE, NOSITE, BYTESWARNING, USECLASSEXCEPTIONS, FROZEN, TABCHECK, UNICODE_, IGNOREENVIRONMENT, DIVISIONWARNING, DONTWRITEBYTECODE, NOUSERSITEDIRECTORY, QNEW, PY3KWARNING, SET_CONTEXT_COMMANDLINEARGS, SET_ALL_COMMANDLINEARGS, PROCESS_COMMANDLINEARGS, ERRORS_IN_RESULT } |
| enum | REFTYPE { DECREF, BORROWED, PRIVATE_SHORTTERM_BORROWED, PRIVATE_MUST_NOT_BE_USED_ANYMORE } |
Functions | |
| enum maxon::py::PATHHANDLE | MAXON_ENUM_LIST (PATHHANDLE) |
| enum maxon::py::GILSTATE | MAXON_ENUM_LIST (GILSTATE) |
| enum maxon::py::SPECIALPATH | MAXON_ENUM_LIST (SPECIALPATH) |
| enum maxon::py::PYGILSTATE | MAXON_ENUM_LIST (PYGILSTATE) |
| enum maxon::py::PYINPUT | MAXON_ENUM_LIST (PYINPUT) |
| enum maxon::py::PYSTARTOPERATION | MAXON_ENUM_LIST (PYSTARTOPERATION) |
| MAXON_DATATYPE (NativePyObject, "net.maxon.python.datatype.nativepyobject") | |
| template<typename T > | |
| MAXON_ATTRIBUTE_FORCE_INLINE Bool | PassedRefCheck (const CPyRef &o) |
| template<> | |
| MAXON_ATTRIBUTE_FORCE_INLINE Bool | PassedRefCheck< MPyDataRef > (const CPyRef &o) |
| template<typename T > | |
| MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< std::is_pointer< T >::value, T >::type | PrivateGetPtr (Data *data) |
| template<typename T > | |
| MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< std::is_reference< T >::value, T >::type | PrivateGetPtr (Data *data) |
| template<> | |
| MAXON_ATTRIBUTE_FORCE_INLINE Data & | PrivateGetPtr< Data & > (Data *data) |
| template<> | |
| MAXON_ATTRIBUTE_FORCE_INLINE Data * | PrivateGetPtr< Data * > (Data *data) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::CPyTypeRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::CPyFrameRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::CPyTracebackRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::CPyCodeRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::MPyClassRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::MPyMemberRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::MPyFunctionRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::MPyDataTypeRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::MPyDataRef >::value, T >::type | CPyCast (const CPyRef &o) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::MPyCallerContextRef >::value, T >::type | CPyCast (const CPyRef &o) |
| enum maxon::py::PYTHONFLAG | MAXON_ENUM_FLAGS (PYTHONFLAG) |
| enum maxon::py::REFTYPE | MAXON_ENUM_LIST (REFTYPE) |
| template<typename T > | |
| std::enable_if< std::is_same< T, py::CPyRef >::value, T >::type | CPyCast (const CPyRef &o) |
| MAXON_REGISTRY (Class< CPyRef >, CPyReferences27, "net.maxon.python.registry.pyreferences27") | |
Variables | |
| struct maxon::py::ModuleDefinition | MAXON_ENUM_LIST |
| struct maxon::py::NativePyThreadState | MAXON_ENUM_FLAGS |
| using DelegatePyObject_FromData = Delegate<CPyRef(const T*, const CPyTypeRef& expected)> |
| using CPyCapsule_Destructor = void(NativePyObject*) |
| using DelegatePyObject_AsData = Delegate<Result<Bool>(const DataType& expected, const CPyRef& src, Data* dst)> |
| using destruct = void(NativePyObject*) |
| using reprfunc = NativePyObject * (NativePyObject*) |
| using newfunc = NativePyObject * (NativePyTypeObject* type, NativePyObject* args, NativePyObject* kwds) |
| using allocfunc = NativePyObject * (NativePyTypeObject* type, Int nitems) |
| using NativePyCFunctionWithKeywords = NativePyObject * (*)(NativePyObject*, NativePyObject*, NativePyObject*) |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| NONE | |
| EXECUTE_CODE | |
| EXECUTE_MODULE | |
| EXECUTE_FILE | |
| VERSION | maxon:Url Version mode |
|
strong |
|
strong |
| Enumerator | |
|---|---|
| DECREF | The NativePyObject is new and just needs to be decrefed after the CPyRef instance is destructed. |
| BORROWED | The NativePyObject is borrowed and the CPyRef needs to incref it internally, and decref it after the CPyRef instance is destructed. |
| PRIVATE_SHORTTERM_BORROWED | No refcount handling is performed on the passed NativePyObject. |
| PRIVATE_MUST_NOT_BE_USED_ANYMORE | Indicates that the CPyRef is not supposed to be used anymore and should be destructed as soon as possible. |
| enum maxon::py::PATHHANDLE maxon::py::MAXON_ENUM_LIST | ( | PATHHANDLE | ) |
| enum maxon::py::GILSTATE maxon::py::MAXON_ENUM_LIST | ( | GILSTATE | ) |
| enum maxon::py::SPECIALPATH maxon::py::MAXON_ENUM_LIST | ( | SPECIALPATH | ) |
| enum maxon::py::PYGILSTATE maxon::py::MAXON_ENUM_LIST | ( | PYGILSTATE | ) |
| enum maxon::py::PYINPUT maxon::py::MAXON_ENUM_LIST | ( | PYINPUT | ) |
| enum maxon::py::PYSTARTOPERATION maxon::py::MAXON_ENUM_LIST | ( | PYSTARTOPERATION | ) |
| maxon::py::MAXON_DATATYPE | ( | NativePyObject | , |
| "net.maxon.python.datatype.nativepyobject" | |||
| ) |
| MAXON_ATTRIBUTE_FORCE_INLINE Bool maxon::py::PassedRefCheck | ( | const CPyRef & | o | ) |
| MAXON_ATTRIBUTE_FORCE_INLINE Bool maxon::py::PassedRefCheck< MPyDataRef > | ( | const CPyRef & | o | ) |
| MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if<std::is_pointer<T>::value, T>::type maxon::py::PrivateGetPtr | ( | Data * | data | ) |
| MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if<std::is_reference<T>::value, T>::type maxon::py::PrivateGetPtr | ( | Data * | data | ) |
| MAXON_ATTRIBUTE_FORCE_INLINE Data& maxon::py::PrivateGetPtr< Data & > | ( | Data * | data | ) |
| MAXON_ATTRIBUTE_FORCE_INLINE Data* maxon::py::PrivateGetPtr< Data * > | ( | Data * | data | ) |
| std::enable_if< std::is_same< T, py::CPyTypeRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to a CPyTypeRef. Reference must be of this type, or the behavior is undefined.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::CPyFrameRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to CPyFrameRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::CPyTracebackRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to CPyCPyTracebackRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::CPyCodeRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to PyCodeRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::MPyClassRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to MPyClassRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::MPyMemberRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to MPyMemberRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::MPyFunctionRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to MPMPyFunctionRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::MPyDataTypeRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to MPMPyDataTypeRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::MPyDataRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to PyDataRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| std::enable_if< std::is_same< T, py::MPyCallerContextRef >::value, T >::type CPyCast | ( | const CPyRef & | o | ) |
Casts an object to MPyCallMPyCallerContextRef. The object must be of the targets type.
| [in] | o | Object to cast. |
| enum maxon::py::PYTHONFLAG maxon::py::MAXON_ENUM_FLAGS | ( | PYTHONFLAG | ) |
| enum maxon::py::REFTYPE maxon::py::MAXON_ENUM_LIST | ( | REFTYPE | ) |
| std::enable_if<std::is_same<T, py::CPyRef>::value, T>::type maxon::py::CPyCast | ( | const CPyRef & | o | ) |
| maxon::py::MAXON_REGISTRY | ( | Class< CPyRef > | , |
| CPyReferences27 | , | ||
| "net.maxon.python.registry.pyreferences27" | |||
| ) |
| maxon::py::CPyInterface MAXON_ENUM_LIST |
| struct maxon::py::NativePyThreadState MAXON_ENUM_FLAGS |