PySimultan 0.6.0.7__py3-none-any.whl → 0.6.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. PySimultan2/CHANGELOG.md +3 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +116 -5
  4. PySimultan2/default_types.py +17 -0
  5. PySimultan2/files.py +112 -11
  6. PySimultan2/utils.py +5 -4
  7. {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/METADATA +1 -1
  8. pysimultan-0.6.1.dist-info/RECORD +76 -0
  9. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +0 -616
  10. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +0 -2538
  11. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +0 -499
  12. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +0 -2219
  13. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +0 -682
  14. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +0 -1654
  15. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +0 -442
  16. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +0 -193
  17. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +0 -367
  18. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +0 -116
  19. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +0 -212
  20. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +0 -232
  21. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +0 -916
  22. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +0 -15
  23. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +0 -268
  24. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +0 -32
  25. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +0 -116
  26. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +0 -433
  27. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +0 -435
  28. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +0 -103
  29. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +0 -122
  30. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +0 -1335
  31. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +0 -48
  32. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +0 -562
  33. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +0 -11
  34. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +0 -21
  35. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +0 -11
  36. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +0 -112
  37. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +0 -5
  38. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +0 -13
  39. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +0 -54
  40. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +0 -46
  41. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +0 -22
  42. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +0 -32
  43. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +0 -43
  44. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +0 -216
  45. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +0 -66
  46. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +0 -48
  47. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +0 -11
  48. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +0 -59
  49. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +0 -133
  50. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +0 -570
  51. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +0 -248
  52. PySimultan2/typings/System/Buffers/Text/__init__.pyi +0 -91
  53. PySimultan2/typings/System/Buffers/__init__.pyi +0 -192
  54. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +0 -137
  55. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +0 -47
  56. PySimultan2/typings/System/Collections/Generic/__init__.pyi +0 -1293
  57. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +0 -166
  58. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +0 -82
  59. PySimultan2/typings/System/Collections/__init__.pyi +0 -403
  60. PySimultan2/typings/System/ComponentModel/__init__.pyi +0 -582
  61. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +0 -30
  62. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +0 -315
  63. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +0 -297
  64. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +0 -9
  65. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +0 -641
  66. PySimultan2/typings/System/Diagnostics/__init__.pyi +0 -1101
  67. PySimultan2/typings/System/Globalization/__init__.pyi +0 -1675
  68. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +0 -125
  69. PySimultan2/typings/System/IO/__init__.pyi +0 -2747
  70. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +0 -1815
  71. PySimultan2/typings/System/Net/__init__.pyi +0 -81
  72. PySimultan2/typings/System/Numerics/__init__.pyi +0 -2853
  73. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +0 -1945
  74. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +0 -24
  75. PySimultan2/typings/System/Reflection/__init__.pyi +0 -2724
  76. PySimultan2/typings/System/Resources/__init__.pyi +0 -205
  77. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +0 -1926
  78. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +0 -49
  79. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +0 -34
  80. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +0 -758
  81. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +0 -461
  82. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +0 -48
  83. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +0 -2632
  84. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +0 -4757
  85. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +0 -844
  86. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +0 -5642
  87. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +0 -4504
  88. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +0 -63
  89. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +0 -7
  90. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +0 -269
  91. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +0 -200
  92. PySimultan2/typings/System/Runtime/__init__.pyi +0 -141
  93. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +0 -39
  94. PySimultan2/typings/System/Security/Permissions/__init__.pyi +0 -163
  95. PySimultan2/typings/System/Security/Principal/__init__.pyi +0 -45
  96. PySimultan2/typings/System/Security/__init__.pyi +0 -347
  97. PySimultan2/typings/System/Text/Unicode/__init__.pyi +0 -62
  98. PySimultan2/typings/System/Text/__init__.pyi +0 -1590
  99. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +0 -76
  100. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +0 -1403
  101. PySimultan2/typings/System/Threading/__init__.pyi +0 -1788
  102. PySimultan2/typings/System/Xml/Schema/__init__.pyi +0 -1255
  103. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +0 -16
  104. PySimultan2/typings/System/Xml/XPath/__init__.pyi +0 -474
  105. PySimultan2/typings/System/Xml/__init__.pyi +0 -2410
  106. PySimultan2/typings/System/__init__.pyi +0 -17821
  107. pysimultan-0.6.0.7.dist-info/RECORD +0 -174
  108. {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/WHEEL +0 -0
  109. {pysimultan-0.6.0.7.dist-info → pysimultan-0.6.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -1,461 +0,0 @@
1
- import typing, clr, abc
2
- from System import Span_1, Array_1, ReadOnlySpan_1, Attribute
3
-
4
- class AnsiStringMarshaller(abc.ABC):
5
- @staticmethod
6
- def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
7
- @staticmethod
8
- def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
9
- @staticmethod
10
- def Free(unmanaged: clr.Reference[int]) -> None: ...
11
-
12
- class ManagedToUnmanagedIn:
13
- @classmethod
14
- @property
15
- def BufferSize(cls) -> int: ...
16
- def Free(self) -> None: ...
17
- def FromManaged(self, managed: str, buffer: Span_1[int]) -> None: ...
18
- def ToUnmanaged(self) -> clr.Reference[int]: ...
19
-
20
-
21
-
22
- class ArrayMarshaller_GenericClasses(abc.ABCMeta):
23
- Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T = typing.TypeVar('Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T')
24
- Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement')
25
- def __getitem__(self, types : typing.Tuple[typing.Type[Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T], typing.Type[Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement]]) -> typing.Type[ArrayMarshaller_2[Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_T, Generic_ArrayMarshaller_GenericClasses_ArrayMarshaller_2_TUnmanagedElement]]: ...
26
-
27
- ArrayMarshaller : ArrayMarshaller_GenericClasses
28
-
29
- ArrayMarshaller_2_T = typing.TypeVar('ArrayMarshaller_2_T')
30
- ArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('ArrayMarshaller_2_TUnmanagedElement')
31
- class ArrayMarshaller_2(typing.Generic[ArrayMarshaller_2_T, ArrayMarshaller_2_TUnmanagedElement], abc.ABC):
32
- @staticmethod
33
- def AllocateContainerForManagedElements(unmanaged: clr.Reference[ArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Array_1[ArrayMarshaller_2_T]: ...
34
- @staticmethod
35
- def AllocateContainerForUnmanagedElements(managed: Array_1[ArrayMarshaller_2_T], numElements: clr.Reference[int]) -> clr.Reference[ArrayMarshaller_2_TUnmanagedElement]: ...
36
- @staticmethod
37
- def Free(unmanaged: clr.Reference[ArrayMarshaller_2_TUnmanagedElement]) -> None: ...
38
- @staticmethod
39
- def GetManagedValuesDestination(managed: Array_1[ArrayMarshaller_2_T]) -> Span_1[ArrayMarshaller_2_T]: ...
40
- @staticmethod
41
- def GetManagedValuesSource(managed: Array_1[ArrayMarshaller_2_T]) -> ReadOnlySpan_1[ArrayMarshaller_2_T]: ...
42
- @staticmethod
43
- def GetUnmanagedValuesDestination(unmanaged: clr.Reference[ArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[ArrayMarshaller_2_TUnmanagedElement]: ...
44
- @staticmethod
45
- def GetUnmanagedValuesSource(unmanagedValue: clr.Reference[ArrayMarshaller_2_TUnmanagedElement], numElements: int) -> ReadOnlySpan_1[ArrayMarshaller_2_TUnmanagedElement]: ...
46
-
47
- ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T')
48
- ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement')
49
- class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement], abc.ABCMeta):
50
- ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T = ArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T
51
- ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement = ArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement
52
- def __call__(self) -> ArrayMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ArrayMarshaller_2_TUnmanagedElement]: ...
53
-
54
- ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[ArrayMarshaller_2_T, ArrayMarshaller_2_TUnmanagedElement]
55
-
56
- ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
57
- ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
58
- class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
59
- ManagedToUnmanagedIn_2_T = ArrayMarshaller_2.ManagedToUnmanagedIn_2_T
60
- ManagedToUnmanagedIn_2_TUnmanagedElement = ArrayMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
61
- @classmethod
62
- @property
63
- def BufferSize(cls) -> int: ...
64
- def Free(self) -> None: ...
65
- def FromManaged(self, array: Array_1[ManagedToUnmanagedIn_2_T], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
66
- def GetManagedValuesSource(self) -> ReadOnlySpan_1[ManagedToUnmanagedIn_2_T]: ...
67
- def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
68
- def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
69
- # Skipped GetPinnableReference due to it being static, abstract and generic.
70
-
71
- GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
72
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
73
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
74
- class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
75
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = ArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
76
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = ArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
77
- @typing.overload
78
- def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
79
- @typing.overload
80
- def __call__(self, array: Array_1[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]:...
81
-
82
-
83
-
84
-
85
- class BStrStringMarshaller(abc.ABC):
86
- @staticmethod
87
- def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
88
- @staticmethod
89
- def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
90
- @staticmethod
91
- def Free(unmanaged: clr.Reference[int]) -> None: ...
92
-
93
- class ManagedToUnmanagedIn:
94
- @classmethod
95
- @property
96
- def BufferSize(cls) -> int: ...
97
- def Free(self) -> None: ...
98
- def FromManaged(self, managed: str, buffer: Span_1[int]) -> None: ...
99
- def ToUnmanaged(self) -> clr.Reference[int]: ...
100
-
101
-
102
-
103
- class ContiguousCollectionMarshallerAttribute(Attribute):
104
- def __init__(self) -> None: ...
105
- @property
106
- def TypeId(self) -> typing.Any: ...
107
-
108
-
109
- class CustomMarshallerAttribute(Attribute):
110
- def __init__(self, managedType: typing.Type[typing.Any], marshalMode: MarshalMode, marshallerType: typing.Type[typing.Any]) -> None: ...
111
- @property
112
- def ManagedType(self) -> typing.Type[typing.Any]: ...
113
- @property
114
- def MarshallerType(self) -> typing.Type[typing.Any]: ...
115
- @property
116
- def MarshalMode(self) -> MarshalMode: ...
117
- @property
118
- def TypeId(self) -> typing.Any: ...
119
-
120
- class GenericPlaceholder:
121
- pass
122
-
123
-
124
-
125
- class MarshalMode(typing.SupportsInt):
126
- @typing.overload
127
- def __init__(self, value : int) -> None: ...
128
- @typing.overload
129
- def __init__(self, value : int, force_if_true: bool) -> None: ...
130
- def __int__(self) -> int: ...
131
-
132
- # Values:
133
- Default : MarshalMode # 0
134
- ManagedToUnmanagedIn : MarshalMode # 1
135
- ManagedToUnmanagedRef : MarshalMode # 2
136
- ManagedToUnmanagedOut : MarshalMode # 3
137
- UnmanagedToManagedIn : MarshalMode # 4
138
- UnmanagedToManagedRef : MarshalMode # 5
139
- UnmanagedToManagedOut : MarshalMode # 6
140
- ElementIn : MarshalMode # 7
141
- ElementRef : MarshalMode # 8
142
- ElementOut : MarshalMode # 9
143
-
144
-
145
- class MarshalUsingAttribute(Attribute):
146
- @typing.overload
147
- def __init__(self) -> None: ...
148
- @typing.overload
149
- def __init__(self, nativeType: typing.Type[typing.Any]) -> None: ...
150
- ReturnsCountValue : str
151
- @property
152
- def ConstantElementCount(self) -> int: ...
153
- @ConstantElementCount.setter
154
- def ConstantElementCount(self, value: int) -> int: ...
155
- @property
156
- def CountElementName(self) -> str: ...
157
- @CountElementName.setter
158
- def CountElementName(self, value: str) -> str: ...
159
- @property
160
- def ElementIndirectionDepth(self) -> int: ...
161
- @ElementIndirectionDepth.setter
162
- def ElementIndirectionDepth(self, value: int) -> int: ...
163
- @property
164
- def NativeType(self) -> typing.Type[typing.Any]: ...
165
- @property
166
- def TypeId(self) -> typing.Any: ...
167
-
168
-
169
- class NativeMarshallingAttribute(Attribute):
170
- def __init__(self, nativeType: typing.Type[typing.Any]) -> None: ...
171
- @property
172
- def NativeType(self) -> typing.Type[typing.Any]: ...
173
- @property
174
- def TypeId(self) -> typing.Any: ...
175
-
176
-
177
- class PointerArrayMarshaller_GenericClasses(abc.ABCMeta):
178
- Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T = typing.TypeVar('Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T')
179
- Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement')
180
- def __getitem__(self, types : typing.Tuple[typing.Type[Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T], typing.Type[Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement]]) -> typing.Type[PointerArrayMarshaller_2[Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_T, Generic_PointerArrayMarshaller_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement]]: ...
181
-
182
- PointerArrayMarshaller : PointerArrayMarshaller_GenericClasses
183
-
184
- PointerArrayMarshaller_2_T = typing.TypeVar('PointerArrayMarshaller_2_T')
185
- PointerArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('PointerArrayMarshaller_2_TUnmanagedElement')
186
- class PointerArrayMarshaller_2(typing.Generic[PointerArrayMarshaller_2_T, PointerArrayMarshaller_2_TUnmanagedElement], abc.ABC):
187
- @staticmethod
188
- def AllocateContainerForManagedElements(unmanaged: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Array_1[clr.Reference[PointerArrayMarshaller_2_T]]: ...
189
- @staticmethod
190
- def AllocateContainerForUnmanagedElements(managed: Array_1[clr.Reference[PointerArrayMarshaller_2_T]], numElements: clr.Reference[int]) -> clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement]: ...
191
- @staticmethod
192
- def Free(unmanaged: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement]) -> None: ...
193
- @staticmethod
194
- def GetManagedValuesDestination(managed: Array_1[clr.Reference[PointerArrayMarshaller_2_T]]) -> Span_1[int]: ...
195
- @staticmethod
196
- def GetManagedValuesSource(managed: Array_1[clr.Reference[PointerArrayMarshaller_2_T]]) -> ReadOnlySpan_1[int]: ...
197
- @staticmethod
198
- def GetUnmanagedValuesDestination(unmanaged: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[PointerArrayMarshaller_2_TUnmanagedElement]: ...
199
- @staticmethod
200
- def GetUnmanagedValuesSource(unmanagedValue: clr.Reference[PointerArrayMarshaller_2_TUnmanagedElement], numElements: int) -> ReadOnlySpan_1[PointerArrayMarshaller_2_TUnmanagedElement]: ...
201
-
202
- ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T')
203
- ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement')
204
- class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement], abc.ABCMeta):
205
- ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T = PointerArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T
206
- ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement = PointerArrayMarshaller_2.ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement
207
- def __call__(self) -> PointerArrayMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_PointerArrayMarshaller_2_TUnmanagedElement]: ...
208
-
209
- ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[PointerArrayMarshaller_2_T, PointerArrayMarshaller_2_TUnmanagedElement]
210
-
211
- ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
212
- ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
213
- class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
214
- ManagedToUnmanagedIn_2_T = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2_T
215
- ManagedToUnmanagedIn_2_TUnmanagedElement = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
216
- @classmethod
217
- @property
218
- def BufferSize(cls) -> int: ...
219
- def Free(self) -> None: ...
220
- def FromManaged(self, array: Array_1[clr.Reference[ManagedToUnmanagedIn_2_T]], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
221
- def GetManagedValuesSource(self) -> ReadOnlySpan_1[int]: ...
222
- def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
223
- def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
224
- # Skipped GetPinnableReference due to it being static, abstract and generic.
225
-
226
- GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
227
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
228
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
229
- class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
230
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
231
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = PointerArrayMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
232
- @typing.overload
233
- def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
234
- @typing.overload
235
- def __call__(self, array: Array_1[clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]]) -> clr.Reference[int]:...
236
-
237
-
238
-
239
-
240
- class ReadOnlySpanMarshaller_GenericClasses(abc.ABCMeta):
241
- Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T = typing.TypeVar('Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T')
242
- Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement')
243
- def __getitem__(self, types : typing.Tuple[typing.Type[Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T], typing.Type[Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]]) -> typing.Type[ReadOnlySpanMarshaller_2[Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_T, Generic_ReadOnlySpanMarshaller_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]]: ...
244
-
245
- ReadOnlySpanMarshaller : ReadOnlySpanMarshaller_GenericClasses
246
-
247
- ReadOnlySpanMarshaller_2_T = typing.TypeVar('ReadOnlySpanMarshaller_2_T')
248
- ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('ReadOnlySpanMarshaller_2_TUnmanagedElement')
249
- class ReadOnlySpanMarshaller_2(typing.Generic[ReadOnlySpanMarshaller_2_T, ReadOnlySpanMarshaller_2_TUnmanagedElement], abc.ABC):
250
-
251
- ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T')
252
- ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement')
253
- class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement], abc.ABCMeta):
254
- ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T
255
- ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement
256
- def __call__(self) -> ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]: ...
257
-
258
- ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[ReadOnlySpanMarshaller_2_T, ReadOnlySpanMarshaller_2_TUnmanagedElement]
259
-
260
- ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
261
- ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
262
- class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
263
- ManagedToUnmanagedIn_2_T = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2_T
264
- ManagedToUnmanagedIn_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
265
- @classmethod
266
- @property
267
- def BufferSize(cls) -> int: ...
268
- def Free(self) -> None: ...
269
- def FromManaged(self, managed: ReadOnlySpan_1[ManagedToUnmanagedIn_2_T], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
270
- def GetManagedValuesSource(self) -> ReadOnlySpan_1[ManagedToUnmanagedIn_2_T]: ...
271
- def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
272
- def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
273
- # Skipped GetPinnableReference due to it being static, abstract and generic.
274
-
275
- GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
276
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
277
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
278
- class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
279
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
280
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
281
- @typing.overload
282
- def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
283
- @typing.overload
284
- def __call__(self, managed: ReadOnlySpan_1[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]:...
285
-
286
-
287
-
288
- UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T = typing.TypeVar('UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T')
289
- UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = typing.TypeVar('UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement')
290
- class UnmanagedToManagedOut_GenericClasses(typing.Generic[UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T, UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement], abc.ABCMeta):
291
- UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T
292
- UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement
293
- def __call__(self) -> ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_2[UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_T, UnmanagedToManagedOut_GenericClasses_ReadOnlySpanMarshaller_2_TUnmanagedElement]: ...
294
-
295
- UnmanagedToManagedOut : UnmanagedToManagedOut_GenericClasses[ReadOnlySpanMarshaller_2_T, ReadOnlySpanMarshaller_2_TUnmanagedElement]
296
-
297
- UnmanagedToManagedOut_2_T = typing.TypeVar('UnmanagedToManagedOut_2_T')
298
- UnmanagedToManagedOut_2_TUnmanagedElement = typing.TypeVar('UnmanagedToManagedOut_2_TUnmanagedElement')
299
- class UnmanagedToManagedOut_2(typing.Generic[UnmanagedToManagedOut_2_T, UnmanagedToManagedOut_2_TUnmanagedElement], abc.ABC):
300
- UnmanagedToManagedOut_2_T = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_2_T
301
- UnmanagedToManagedOut_2_TUnmanagedElement = ReadOnlySpanMarshaller_2.UnmanagedToManagedOut_2_TUnmanagedElement
302
- @staticmethod
303
- def AllocateContainerForUnmanagedElements(managed: ReadOnlySpan_1[UnmanagedToManagedOut_2_T], numElements: clr.Reference[int]) -> clr.Reference[UnmanagedToManagedOut_2_TUnmanagedElement]: ...
304
- @staticmethod
305
- def GetManagedValuesSource(managed: ReadOnlySpan_1[UnmanagedToManagedOut_2_T]) -> ReadOnlySpan_1[UnmanagedToManagedOut_2_T]: ...
306
- @staticmethod
307
- def GetUnmanagedValuesDestination(unmanaged: clr.Reference[UnmanagedToManagedOut_2_TUnmanagedElement], numElements: int) -> Span_1[UnmanagedToManagedOut_2_TUnmanagedElement]: ...
308
-
309
-
310
-
311
- class SafeHandleMarshaller_GenericClasses(abc.ABCMeta):
312
- Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T')
313
- def __getitem__(self, types : typing.Type[Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T]) -> typing.Type[SafeHandleMarshaller_1[Generic_SafeHandleMarshaller_GenericClasses_SafeHandleMarshaller_1_T]]: ...
314
-
315
- SafeHandleMarshaller : SafeHandleMarshaller_GenericClasses
316
-
317
- SafeHandleMarshaller_1_T = typing.TypeVar('SafeHandleMarshaller_1_T')
318
- class SafeHandleMarshaller_1(typing.Generic[SafeHandleMarshaller_1_T], abc.ABC):
319
-
320
- ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T')
321
- class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T], abc.ABCMeta):
322
- ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T
323
- def __call__(self) -> SafeHandleMarshaller_1.ManagedToUnmanagedIn_1[ManagedToUnmanagedIn_GenericClasses_SafeHandleMarshaller_1_T]: ...
324
-
325
- ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[SafeHandleMarshaller_1_T]
326
-
327
- ManagedToUnmanagedIn_1_T = typing.TypeVar('ManagedToUnmanagedIn_1_T')
328
- class ManagedToUnmanagedIn_1(typing.Generic[ManagedToUnmanagedIn_1_T]):
329
- ManagedToUnmanagedIn_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedIn_1_T
330
- def Free(self) -> None: ...
331
- def FromManaged(self, handle: ManagedToUnmanagedIn_1_T) -> None: ...
332
- def ToUnmanaged(self) -> int: ...
333
-
334
-
335
- ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T')
336
- class ManagedToUnmanagedOut_GenericClasses(typing.Generic[ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T], abc.ABCMeta):
337
- ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T
338
- def __call__(self) -> SafeHandleMarshaller_1.ManagedToUnmanagedOut_1[ManagedToUnmanagedOut_GenericClasses_SafeHandleMarshaller_1_T]: ...
339
-
340
- ManagedToUnmanagedOut : ManagedToUnmanagedOut_GenericClasses[SafeHandleMarshaller_1_T]
341
-
342
- ManagedToUnmanagedOut_1_T = typing.TypeVar('ManagedToUnmanagedOut_1_T')
343
- class ManagedToUnmanagedOut_1(typing.Generic[ManagedToUnmanagedOut_1_T]):
344
- ManagedToUnmanagedOut_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedOut_1_T
345
- def __init__(self) -> None: ...
346
- def Free(self) -> None: ...
347
- def FromUnmanaged(self, value: int) -> None: ...
348
- def ToManaged(self) -> ManagedToUnmanagedOut_1_T: ...
349
-
350
-
351
- ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T = typing.TypeVar('ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T')
352
- class ManagedToUnmanagedRef_GenericClasses(typing.Generic[ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T], abc.ABCMeta):
353
- ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T
354
- def __call__(self) -> SafeHandleMarshaller_1.ManagedToUnmanagedRef_1[ManagedToUnmanagedRef_GenericClasses_SafeHandleMarshaller_1_T]: ...
355
-
356
- ManagedToUnmanagedRef : ManagedToUnmanagedRef_GenericClasses[SafeHandleMarshaller_1_T]
357
-
358
- ManagedToUnmanagedRef_1_T = typing.TypeVar('ManagedToUnmanagedRef_1_T')
359
- class ManagedToUnmanagedRef_1(typing.Generic[ManagedToUnmanagedRef_1_T]):
360
- ManagedToUnmanagedRef_1_T = SafeHandleMarshaller_1.ManagedToUnmanagedRef_1_T
361
- def __init__(self) -> None: ...
362
- def Free(self) -> None: ...
363
- def FromManaged(self, handle: ManagedToUnmanagedRef_1_T) -> None: ...
364
- def FromUnmanaged(self, value: int) -> None: ...
365
- def OnInvoked(self) -> None: ...
366
- def ToManagedFinally(self) -> ManagedToUnmanagedRef_1_T: ...
367
- def ToUnmanaged(self) -> int: ...
368
-
369
-
370
-
371
- class SpanMarshaller_GenericClasses(abc.ABCMeta):
372
- Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T = typing.TypeVar('Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T')
373
- Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement = typing.TypeVar('Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement')
374
- def __getitem__(self, types : typing.Tuple[typing.Type[Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T], typing.Type[Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement]]) -> typing.Type[SpanMarshaller_2[Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_T, Generic_SpanMarshaller_GenericClasses_SpanMarshaller_2_TUnmanagedElement]]: ...
375
-
376
- SpanMarshaller : SpanMarshaller_GenericClasses
377
-
378
- SpanMarshaller_2_T = typing.TypeVar('SpanMarshaller_2_T')
379
- SpanMarshaller_2_TUnmanagedElement = typing.TypeVar('SpanMarshaller_2_TUnmanagedElement')
380
- class SpanMarshaller_2(typing.Generic[SpanMarshaller_2_T, SpanMarshaller_2_TUnmanagedElement], abc.ABC):
381
- @staticmethod
382
- def AllocateContainerForManagedElements(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[SpanMarshaller_2_T]: ...
383
- @staticmethod
384
- def AllocateContainerForUnmanagedElements(managed: Span_1[SpanMarshaller_2_T], numElements: clr.Reference[int]) -> clr.Reference[SpanMarshaller_2_TUnmanagedElement]: ...
385
- @staticmethod
386
- def Free(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement]) -> None: ...
387
- @staticmethod
388
- def GetManagedValuesDestination(managed: Span_1[SpanMarshaller_2_T]) -> Span_1[SpanMarshaller_2_T]: ...
389
- @staticmethod
390
- def GetManagedValuesSource(managed: Span_1[SpanMarshaller_2_T]) -> ReadOnlySpan_1[SpanMarshaller_2_T]: ...
391
- @staticmethod
392
- def GetUnmanagedValuesDestination(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement], numElements: int) -> Span_1[SpanMarshaller_2_TUnmanagedElement]: ...
393
- @staticmethod
394
- def GetUnmanagedValuesSource(unmanaged: clr.Reference[SpanMarshaller_2_TUnmanagedElement], numElements: int) -> ReadOnlySpan_1[SpanMarshaller_2_TUnmanagedElement]: ...
395
-
396
- ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T')
397
- ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement')
398
- class ManagedToUnmanagedIn_GenericClasses(typing.Generic[ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement], abc.ABCMeta):
399
- ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T = SpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T
400
- ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement = SpanMarshaller_2.ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement
401
- def __call__(self) -> SpanMarshaller_2.ManagedToUnmanagedIn_2[ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_T, ManagedToUnmanagedIn_GenericClasses_SpanMarshaller_2_TUnmanagedElement]: ...
402
-
403
- ManagedToUnmanagedIn : ManagedToUnmanagedIn_GenericClasses[SpanMarshaller_2_T, SpanMarshaller_2_TUnmanagedElement]
404
-
405
- ManagedToUnmanagedIn_2_T = typing.TypeVar('ManagedToUnmanagedIn_2_T')
406
- ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('ManagedToUnmanagedIn_2_TUnmanagedElement')
407
- class ManagedToUnmanagedIn_2(typing.Generic[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]):
408
- ManagedToUnmanagedIn_2_T = SpanMarshaller_2.ManagedToUnmanagedIn_2_T
409
- ManagedToUnmanagedIn_2_TUnmanagedElement = SpanMarshaller_2.ManagedToUnmanagedIn_2_TUnmanagedElement
410
- @classmethod
411
- @property
412
- def BufferSize(cls) -> int: ...
413
- def Free(self) -> None: ...
414
- def FromManaged(self, managed: Span_1[ManagedToUnmanagedIn_2_T], buffer: Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]) -> None: ...
415
- def GetManagedValuesSource(self) -> ReadOnlySpan_1[ManagedToUnmanagedIn_2_T]: ...
416
- def GetUnmanagedValuesDestination(self) -> Span_1[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
417
- def ToUnmanaged(self) -> clr.Reference[ManagedToUnmanagedIn_2_TUnmanagedElement]: ...
418
- # Skipped GetPinnableReference due to it being static, abstract and generic.
419
-
420
- GetPinnableReference : GetPinnableReference_MethodGroup[ManagedToUnmanagedIn_2_T, ManagedToUnmanagedIn_2_TUnmanagedElement]
421
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T')
422
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = typing.TypeVar('GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement')
423
- class GetPinnableReference_MethodGroup(typing.Generic[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T, GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]):
424
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T = SpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T
425
- GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement = SpanMarshaller_2.ManagedToUnmanagedIn_2.GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement
426
- @typing.overload
427
- def __call__(self) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_TUnmanagedElement]:...
428
- @typing.overload
429
- def __call__(self, managed: Span_1[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]) -> clr.Reference[GetPinnableReference_MethodGroup_ManagedToUnmanagedIn_2_T]:...
430
-
431
-
432
-
433
-
434
- class Utf16StringMarshaller(abc.ABC):
435
- @staticmethod
436
- def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
437
- @staticmethod
438
- def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
439
- @staticmethod
440
- def Free(unmanaged: clr.Reference[int]) -> None: ...
441
- @staticmethod
442
- def GetPinnableReference(str: str) -> clr.Reference[str]: ...
443
-
444
-
445
- class Utf8StringMarshaller(abc.ABC):
446
- @staticmethod
447
- def ConvertToManaged(unmanaged: clr.Reference[int]) -> str: ...
448
- @staticmethod
449
- def ConvertToUnmanaged(managed: str) -> clr.Reference[int]: ...
450
- @staticmethod
451
- def Free(unmanaged: clr.Reference[int]) -> None: ...
452
-
453
- class ManagedToUnmanagedIn:
454
- @classmethod
455
- @property
456
- def BufferSize(cls) -> int: ...
457
- def Free(self) -> None: ...
458
- def FromManaged(self, managed: str, buffer: Span_1[int]) -> None: ...
459
- def ToUnmanaged(self) -> clr.Reference[int]: ...
460
-
461
-
@@ -1,48 +0,0 @@
1
- import typing, clr, abc
2
- from System.Runtime.InteropServices import GCHandle
3
- from System import Span_1, Exception, MulticastDelegate, IAsyncResult, RuntimeMethodHandle, AsyncCallback, Attribute
4
- from import
5
- from System.Reflection import MethodInfo
6
-
7
- class ObjectiveCMarshal(abc.ABC):
8
- @staticmethod
9
- def CreateReferenceTrackingHandle(obj: typing.Any, taggedMemory: clr.Reference[Span_1[int]]) -> GCHandle: ...
10
- @staticmethod
11
- def Initialize(beginEndCallback: , isReferencedCallback: , trackedObjectEnteredFinalization: , unhandledExceptionPropagationHandler: ObjectiveCMarshal.UnhandledExceptionPropagationHandler) -> None: ...
12
- @staticmethod
13
- def SetMessageSendCallback(msgSendFunction: ObjectiveCMarshal.MessageSendFunction, func: int) -> None: ...
14
- @staticmethod
15
- def SetMessageSendPendingException(exception: Exception) -> None: ...
16
-
17
- class MessageSendFunction(typing.SupportsInt):
18
- @typing.overload
19
- def __init__(self, value : int) -> None: ...
20
- @typing.overload
21
- def __init__(self, value : int, force_if_true: bool) -> None: ...
22
- def __int__(self) -> int: ...
23
-
24
- # Values:
25
- MsgSend : ObjectiveCMarshal.MessageSendFunction # 0
26
- MsgSendFpret : ObjectiveCMarshal.MessageSendFunction # 1
27
- MsgSendStret : ObjectiveCMarshal.MessageSendFunction # 2
28
- MsgSendSuper : ObjectiveCMarshal.MessageSendFunction # 3
29
- MsgSendSuperStret : ObjectiveCMarshal.MessageSendFunction # 4
30
-
31
-
32
- class UnhandledExceptionPropagationHandler(MulticastDelegate):
33
- def __init__(self, object: typing.Any, method: int) -> None: ...
34
- @property
35
- def Method(self) -> MethodInfo: ...
36
- @property
37
- def Target(self) -> typing.Any: ...
38
- def BeginInvoke(self, exception: Exception, lastMethod: RuntimeMethodHandle, context: clr.Reference[int], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
39
- def EndInvoke(self, context: clr.Reference[int], result: IAsyncResult) -> : ...
40
- def Invoke(self, exception: Exception, lastMethod: RuntimeMethodHandle, context: clr.Reference[int]) -> : ...
41
-
42
-
43
-
44
- class ObjectiveCTrackedTypeAttribute(Attribute):
45
- def __init__(self) -> None: ...
46
- @property
47
- def TypeId(self) -> typing.Any: ...
48
-