Namespaces |
|
CPyReferences37 | |
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 , 数据 *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 |
CPyMemAllocatorDomain
{
CPYMEM_DOMAIN_RAW , CPYMEM_DOMAIN_MEM , CPYMEM_DOMAIN_OBJ } |
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 , FROZEN , IGNOREENVIRONMENT , DIVISIONWARNING , DONTWRITEBYTECODE , NOUSERSITEDIRECTORY , 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 } |
变量 |
|
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 , 数据 * 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 |
Enumerator | |
---|---|
OVERWRITE | |
APPEND_AT_END |
Overwrite sys.path. |
INSERT_AT_BEGINNING |
Append array to sys.path. Insert array at sys.path[0] |
|
strong |
Enumerator | |
---|---|
NOT_ACTIVE | |
ACTIVE_BUT_NOT_CURRENT_THREAD |
GIL is not hold by any thread. |
ACTIVE_AND_CURRENT_THREAD |
GIL is hold by another thread. |
|
strong |
Enumerator | |
---|---|
CPYMEM_DOMAIN_RAW | |
CPYMEM_DOMAIN_MEM | |
CPYMEM_DOMAIN_OBJ |
|
strong |
|
strong |
Enumerator | |
---|---|
LOCKED | |
UNLOCKED |
GIL is locked. GIL is unlocked. |
|
strong |
Enumerator | |
---|---|
SINGLE | |
FILE |
The start symbol from the Python grammar for a single statement. |
EVAL |
The start symbol from the Python grammar for sequences of statements as read from a file or other source. |
|
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::CPyMemAllocatorDomain maxon::py::MAXON_ENUM_LIST | ( | CPyMemAllocatorDomain | ) |
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_REPLACEMENT (pointer, T), T>::type maxon::py::PrivateGetPtr | ( | 数据 * | data | ) |
MAXON_ATTRIBUTE_FORCE_INLINE std::enable_if< STD_IS_REPLACEMENT (reference, T), T>::type maxon::py::PrivateGetPtr | ( | 数据 * | data | ) |
MAXON_ATTRIBUTE_FORCE_INLINE 数据 & maxon::py::PrivateGetPtr < 数据 & > | ( | 数据 * | data | ) |
MAXON_ATTRIBUTE_FORCE_INLINE 数据 * maxon::py::PrivateGetPtr < 数据 * > | ( | 数据 * | data | ) |
std::enable_if< STD_IS_REPLACEMENT (same, T, py::CPyTypeRef ), 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_REPLACEMENT (same, T, py::CPyFrameRef ), 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_REPLACEMENT (same, T, py::CPyTracebackRef ), 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_REPLACEMENT (same, T, py::CPyCodeRef ), 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_REPLACEMENT (same, T, py::MPyClassRef ), 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_REPLACEMENT (same, T, py::MPyMemberRef ), 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_REPLACEMENT (same, T, py::MPyFunctionRef ), 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_REPLACEMENT (same, T, py::MPyDataTypeRef ), 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_REPLACEMENT (same, T, py::MPyDataRef ), 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_REPLACEMENT (same, T, py::MPyCallerContextRef ), 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_REPLACEMENT (same, T, py::CPyRef ), T>::type maxon::py::CPyCast | ( | const CPyRef & | o | ) |
maxon::py::MAXON_REGISTRY | ( | Class < CPyRef > | , |
CPyReferences37 | , | ||
"net.maxon.python.registry.pyreferences37" | |||
) |
maxon::py::CPyInterface MAXON_ENUM_LIST |
struct maxon::py::NativePyThreadState MAXON_ENUM_FLAGS |