PySimultan 0.5.9.7__py3-none-any.whl → 0.6.0.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. PySimultan2/CHANGELOG.md +4 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +3 -3
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +2 -0
  7. PySimultan2/resources/BruTile.dll +0 -0
  8. PySimultan2/resources/ComponentBuilder.dll +0 -0
  9. PySimultan2/resources/ComponentBuilder.xml +93 -15
  10. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  11. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  12. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  13. PySimultan2/resources/HelixToolkit.dll +0 -0
  14. PySimultan2/resources/Python.Runtime.dll +0 -0
  15. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  16. PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
  17. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  18. PySimultan2/resources/SIMULTAN.UI.xml +57 -0
  19. PySimultan2/resources/SIMULTAN.dll +0 -0
  20. PySimultan2/resources/SIMULTAN.xml +73 -3
  21. PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
  22. PySimultan2/resources/defaultsettings.xml +0 -0
  23. PySimultan2/simultan_object.py +6 -1
  24. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  25. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  26. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  27. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  28. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  29. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  31. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  32. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  33. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  34. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  35. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  36. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  37. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  38. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  39. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  41. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  42. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  43. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  58. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  59. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  60. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  61. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  64. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  65. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  66. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  67. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  68. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  69. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  70. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  71. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  72. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  73. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  74. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  75. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  76. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  77. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  78. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  79. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  80. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  81. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  82. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  83. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  84. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  85. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  86. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  87. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  88. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  89. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  90. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  91. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  92. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  93. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  94. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  95. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  99. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  103. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  104. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  105. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  106. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  107. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  108. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  109. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  110. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  111. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  112. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  113. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  114. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  115. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  116. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  117. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  118. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  119. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  120. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  121. PySimultan2/typings/System/__init__.pyi +17821 -0
  122. PySimultan2/utils.py +9 -4
  123. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
  124. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  125. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  129. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  130. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  131. pysimultan-0.5.9.7.dist-info/RECORD +0 -81
  132. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  133. {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,48 @@
1
+ import abc
2
+ from System.IO import FileInfo
3
+ from System import ValueTuple_6
4
+ from System.Collections.Generic import List_1
5
+ from System.Diagnostics import Process
6
+
7
+ class DirectoryOperations(abc.ABC):
8
+ @staticmethod
9
+ def DirectoryCopy(_source: str, _target: str, _recursive: bool) -> None: ...
10
+
11
+
12
+ class FileState(abc.ABC):
13
+ @staticmethod
14
+ def IsInUse(file: FileInfo) -> bool: ...
15
+ @staticmethod
16
+ def WaitFile(file: FileInfo, sleepTime: int = ..., timeout: int = ...) -> None: ...
17
+
18
+
19
+ class FileSystemNavigation(abc.ABC):
20
+ @staticmethod
21
+ def CheckPaths(fullPath: str, relPath: str, invalidPathString: str) -> ValueTuple_6[str, str, bool, bool, bool, bool]: ...
22
+ @staticmethod
23
+ def ExtractNameFromPath(path: str) -> str: ...
24
+ @staticmethod
25
+ def GetRelativePath(fromPath: str, toPath: str) -> str: ...
26
+ @staticmethod
27
+ def GetSubPathContaining(fullPath: str, queryText: str, shortestPath: bool) -> str: ...
28
+ @staticmethod
29
+ def IsContainedIn(fullPathParent: str, fullPathChildFileOrFolder: str, elementsExist: bool = ...) -> bool: ...
30
+ @staticmethod
31
+ def IsFileLocked(file: FileInfo) -> bool: ...
32
+ @staticmethod
33
+ def IsPathFullyQualified(path: str) -> bool: ...
34
+ @staticmethod
35
+ def IsSubdirectoryOf(fullPathParent: str, fullPathChild: str, directoriesExist: bool = ...) -> bool: ...
36
+ @staticmethod
37
+ def ReconstructFullPath(fromPath: str, toPath: str, overlapPossible: bool) -> str: ...
38
+ @staticmethod
39
+ def SanitizePath(path: str) -> str: ...
40
+ @staticmethod
41
+ def SanitizeWritePath(path: str) -> str: ...
42
+
43
+
44
+ class LockTools:
45
+ def __init__(self) -> None: ...
46
+ @staticmethod
47
+ def FindLockers(filename: str) -> List_1[Process]: ...
48
+
@@ -0,0 +1,11 @@
1
+ import typing, abc
2
+
3
+ class IRandomizer(typing.Protocol):
4
+ @abc.abstractmethod
5
+ def Next(self) -> float: ...
6
+
7
+
8
+ class NormalDistributedRandomizer(IRandomizer):
9
+ def __init__(self) -> None: ...
10
+ def Next(self) -> float: ...
11
+
@@ -0,0 +1,59 @@
1
+ import typing
2
+ from System import IDisposable, Decimal
3
+ from System.IO import Stream
4
+ from System.Text import Encoding
5
+
6
+ class DelimiterStreamReader(IDisposable):
7
+ def __init__(self, stream: Stream, encoding: Encoding) -> None: ...
8
+ @property
9
+ def Column(self) -> int: ...
10
+ @Column.setter
11
+ def Column(self, value: int) -> int: ...
12
+ @property
13
+ def Row(self) -> int: ...
14
+ @Row.setter
15
+ def Row(self, value: int) -> int: ...
16
+ def Close(self) -> None: ...
17
+ def Dispose(self) -> None: ...
18
+ def ReadBool(self) -> bool: ...
19
+ def ReadString(self) -> str: ...
20
+ def ReadToDelimiter(self) -> str: ...
21
+ def SkipString(self) -> None: ...
22
+ # Skipped ReadNumber due to it being static, abstract and generic.
23
+
24
+ ReadNumber : ReadNumber_MethodGroup
25
+ class ReadNumber_MethodGroup:
26
+ def __getitem__(self, t:typing.Type[ReadNumber_1_T1]) -> ReadNumber_1[ReadNumber_1_T1]: ...
27
+
28
+ ReadNumber_1_T1 = typing.TypeVar('ReadNumber_1_T1')
29
+ class ReadNumber_1(typing.Generic[ReadNumber_1_T1]):
30
+ ReadNumber_1_T = DelimiterStreamReader.ReadNumber_MethodGroup.ReadNumber_1_T1
31
+ def __call__(self) -> ReadNumber_1_T:...
32
+
33
+
34
+
35
+
36
+ class DelimiterStreamWriter(IDisposable):
37
+ def __init__(self, stream: Stream, encoding: Encoding) -> None: ...
38
+ def Close(self) -> None: ...
39
+ def Dispose(self) -> None: ...
40
+ def WriteLine(self) -> None: ...
41
+ # Skipped Write due to it being static, abstract and generic.
42
+
43
+ Write : Write_MethodGroup
44
+ class Write_MethodGroup:
45
+ @typing.overload
46
+ def __call__(self, value: float) -> None:...
47
+ # Method Write(value : Single) was skipped since it collides with above method
48
+ # Method Write(value : Int32) was skipped since it collides with above method
49
+ # Method Write(value : Int64) was skipped since it collides with above method
50
+ # Method Write(value : UInt32) was skipped since it collides with above method
51
+ # Method Write(value : UInt64) was skipped since it collides with above method
52
+ @typing.overload
53
+ def __call__(self, value: Decimal) -> None:...
54
+ @typing.overload
55
+ def __call__(self, value: str) -> None:...
56
+ # Method Write(value : Char) was skipped since it collides with above method
57
+ # Method Write(value : Boolean) was skipped since it collides with above method
58
+
59
+
@@ -0,0 +1,133 @@
1
+ import typing, abc
2
+ from System.Collections.Generic import IList_1, List_1
3
+
4
+ class CollectionUndoItem_GenericClasses(abc.ABCMeta):
5
+ Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T = typing.TypeVar('Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T')
6
+ def __getitem__(self, types : typing.Type[Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T]) -> typing.Type[CollectionUndoItem_1[Generic_CollectionUndoItem_GenericClasses_CollectionUndoItem_1_T]]: ...
7
+
8
+ class CollectionUndoItem(CollectionUndoItem_0, metaclass =CollectionUndoItem_GenericClasses): ...
9
+
10
+ class CollectionUndoItem_0(abc.ABC):
11
+ # Skipped Add due to it being static, abstract and generic.
12
+
13
+ Add : Add_MethodGroup
14
+ class Add_MethodGroup:
15
+ def __getitem__(self, t:typing.Type[Add_1_T1]) -> Add_1[Add_1_T1]: ...
16
+
17
+ Add_1_T1 = typing.TypeVar('Add_1_T1')
18
+ class Add_1(typing.Generic[Add_1_T1]):
19
+ Add_1_T = CollectionUndoItem_0.Add_MethodGroup.Add_1_T1
20
+ def __call__(self, list: IList_1[Add_1_T], item: Add_1_T) -> CollectionUndoItem_1[Add_1_T]:...
21
+
22
+
23
+ # Skipped Clear due to it being static, abstract and generic.
24
+
25
+ Clear : Clear_MethodGroup
26
+ class Clear_MethodGroup:
27
+ def __getitem__(self, t:typing.Type[Clear_1_T1]) -> Clear_1[Clear_1_T1]: ...
28
+
29
+ Clear_1_T1 = typing.TypeVar('Clear_1_T1')
30
+ class Clear_1(typing.Generic[Clear_1_T1]):
31
+ Clear_1_T = CollectionUndoItem_0.Clear_MethodGroup.Clear_1_T1
32
+ def __call__(self, list: IList_1[Clear_1_T]) -> CollectionUndoItem_1[Clear_1_T]:...
33
+
34
+
35
+ # Skipped Insert due to it being static, abstract and generic.
36
+
37
+ Insert : Insert_MethodGroup
38
+ class Insert_MethodGroup:
39
+ def __getitem__(self, t:typing.Type[Insert_1_T1]) -> Insert_1[Insert_1_T1]: ...
40
+
41
+ Insert_1_T1 = typing.TypeVar('Insert_1_T1')
42
+ class Insert_1(typing.Generic[Insert_1_T1]):
43
+ Insert_1_T = CollectionUndoItem_0.Insert_MethodGroup.Insert_1_T1
44
+ def __call__(self, list: IList_1[Insert_1_T], item: Insert_1_T, idx: int) -> CollectionUndoItem_1[Insert_1_T]:...
45
+
46
+
47
+ # Skipped Remove due to it being static, abstract and generic.
48
+
49
+ Remove : Remove_MethodGroup
50
+ class Remove_MethodGroup:
51
+ def __getitem__(self, t:typing.Type[Remove_1_T1]) -> Remove_1[Remove_1_T1]: ...
52
+
53
+ Remove_1_T1 = typing.TypeVar('Remove_1_T1')
54
+ class Remove_1(typing.Generic[Remove_1_T1]):
55
+ Remove_1_T = CollectionUndoItem_0.Remove_MethodGroup.Remove_1_T1
56
+ def __call__(self, list: IList_1[Remove_1_T], item: Remove_1_T) -> CollectionUndoItem_1[Remove_1_T]:...
57
+
58
+
59
+ # Skipped RemoveAt due to it being static, abstract and generic.
60
+
61
+ RemoveAt : RemoveAt_MethodGroup
62
+ class RemoveAt_MethodGroup:
63
+ def __getitem__(self, t:typing.Type[RemoveAt_1_T1]) -> RemoveAt_1[RemoveAt_1_T1]: ...
64
+
65
+ RemoveAt_1_T1 = typing.TypeVar('RemoveAt_1_T1')
66
+ class RemoveAt_1(typing.Generic[RemoveAt_1_T1]):
67
+ RemoveAt_1_T = CollectionUndoItem_0.RemoveAt_MethodGroup.RemoveAt_1_T1
68
+ def __call__(self, list: IList_1[RemoveAt_1_T], idx: int) -> CollectionUndoItem_1[RemoveAt_1_T]:...
69
+
70
+
71
+
72
+
73
+ CollectionUndoItem_1_T = typing.TypeVar('CollectionUndoItem_1_T')
74
+ class CollectionUndoItem_1(typing.Generic[CollectionUndoItem_1_T], IUndoItem):
75
+ def __init__(self, list: IList_1[CollectionUndoItem_1_T], action: UndoRedoAction, oldStartIndex: int, oldItems: IList_1[CollectionUndoItem_1_T], newStartIndex: int, newItems: IList_1[CollectionUndoItem_1_T]) -> None: ...
76
+ def Execute(self) -> UndoExecutionResult: ...
77
+ def Redo(self) -> None: ...
78
+ def Undo(self) -> None: ...
79
+
80
+
81
+ class GroupUndoItem(IUndoItem):
82
+ @typing.overload
83
+ def __init__(self) -> None: ...
84
+ @typing.overload
85
+ def __init__(self, items: List_1[IUndoItem]) -> None: ...
86
+ @property
87
+ def Items(self) -> List_1[IUndoItem]: ...
88
+ def Execute(self) -> UndoExecutionResult: ...
89
+ def Redo(self) -> None: ...
90
+ def Undo(self) -> None: ...
91
+
92
+
93
+ class IUndoItem(typing.Protocol):
94
+ @abc.abstractmethod
95
+ def Execute(self) -> UndoExecutionResult: ...
96
+ @abc.abstractmethod
97
+ def Redo(self) -> None: ...
98
+ @abc.abstractmethod
99
+ def Undo(self) -> None: ...
100
+
101
+
102
+ class PropertyUndoItem(IUndoItem):
103
+ def __init__(self, target: typing.Any, property: str, value: typing.Any) -> None: ...
104
+ def Execute(self) -> UndoExecutionResult: ...
105
+ def Redo(self) -> None: ...
106
+ def Undo(self) -> None: ...
107
+
108
+
109
+ class UndoExecutionResult(typing.SupportsInt):
110
+ @typing.overload
111
+ def __init__(self, value : int) -> None: ...
112
+ @typing.overload
113
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
114
+ def __int__(self) -> int: ...
115
+
116
+ # Values:
117
+ Executed : UndoExecutionResult # 0
118
+ PartiallyExecuted : UndoExecutionResult # 1
119
+ Failed : UndoExecutionResult # 2
120
+
121
+
122
+ class UndoRedoAction(typing.SupportsInt):
123
+ @typing.overload
124
+ def __init__(self, value : int) -> None: ...
125
+ @typing.overload
126
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
127
+ def __int__(self) -> int: ...
128
+
129
+ # Values:
130
+ Insert : UndoRedoAction # 0
131
+ Remove : UndoRedoAction # 1
132
+ Clear : UndoRedoAction # 2
133
+