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.
- PySimultan2/CHANGELOG.md +4 -0
- PySimultan2/__about__.py +1 -1
- PySimultan2/data_model.py +3 -3
- PySimultan2/default_types.py +39 -8
- PySimultan2/files.py +1 -1
- PySimultan2/object_mapper.py +2 -0
- PySimultan2/resources/BruTile.dll +0 -0
- PySimultan2/resources/ComponentBuilder.dll +0 -0
- PySimultan2/resources/ComponentBuilder.xml +93 -15
- PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
- PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
- PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
- PySimultan2/resources/HelixToolkit.dll +0 -0
- PySimultan2/resources/Python.Runtime.dll +0 -0
- PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
- PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
- PySimultan2/resources/SIMULTAN.UI.dll +0 -0
- PySimultan2/resources/SIMULTAN.UI.xml +57 -0
- PySimultan2/resources/SIMULTAN.dll +0 -0
- PySimultan2/resources/SIMULTAN.xml +73 -3
- PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
- PySimultan2/resources/defaultsettings.xml +0 -0
- PySimultan2/simultan_object.py +6 -1
- PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
- PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
- PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
- PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
- PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
- PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
- PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
- PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
- PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
- PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
- PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
- PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
- PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
- PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
- PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
- PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
- PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
- PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
- PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
- PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
- PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
- PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
- PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
- PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
- PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
- PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
- PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
- PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
- PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
- PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
- PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
- PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
- PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
- PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
- PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
- PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
- PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
- PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
- PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
- PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
- PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
- PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
- PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
- PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
- PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
- PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
- PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
- PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
- PySimultan2/typings/System/Collections/__init__.pyi +403 -0
- PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
- PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
- PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
- PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
- PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
- PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
- PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
- PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
- PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
- PySimultan2/typings/System/IO/__init__.pyi +2747 -0
- PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
- PySimultan2/typings/System/Net/__init__.pyi +81 -0
- PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
- PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
- PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
- PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
- PySimultan2/typings/System/Resources/__init__.pyi +205 -0
- PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
- PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
- PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
- PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
- PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
- PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
- PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
- PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
- PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
- PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
- PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
- PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
- PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
- PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
- PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
- PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
- PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
- PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
- PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
- PySimultan2/typings/System/Security/__init__.pyi +347 -0
- PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
- PySimultan2/typings/System/Text/__init__.pyi +1590 -0
- PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
- PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
- PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
- PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
- PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
- PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
- PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
- PySimultan2/typings/System/__init__.pyi +17821 -0
- PySimultan2/utils.py +9 -4
- {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +1 -1
- pysimultan-0.6.0.1.dist-info/RECORD +174 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
- PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
- PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
- PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
- PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
- pysimultan-0.5.9.7.dist-info/RECORD +0 -81
- {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
- {pysimultan-0.5.9.7.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,112 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System import Exception, Array_1
|
3
|
+
from System.Collections import IDictionary
|
4
|
+
from System.Reflection import MethodBase
|
5
|
+
from System.IO import FileInfo, DirectoryInfo
|
6
|
+
from SIMULTAN.Projects import ExtendedProjectData, HierarchicalProject, CompactProject
|
7
|
+
from System.Collections.Generic import IEnumerable_1, List_1
|
8
|
+
from SIMULTAN.Data.Components import SimComponent
|
9
|
+
from SIMULTAN.Data.Assets import ResourceEntry
|
10
|
+
from SIMULTAN.Data.MultiValues import SimMultiValueCollection, SimMultiValue
|
11
|
+
from SIMULTAN.Serializer.SimGeo import SimGeoIOError
|
12
|
+
from SIMULTAN.Data.Taxonomy import SimTaxonomy
|
13
|
+
from SIMULTAN.Data.Users import SimUser
|
14
|
+
from SIMULTAN.Utils import IServicesProvider
|
15
|
+
|
16
|
+
class CreateProjectException(Exception):
|
17
|
+
def __init__(self, reason: CreateProjectExceptionReason) -> None: ...
|
18
|
+
@property
|
19
|
+
def Data(self) -> IDictionary: ...
|
20
|
+
@property
|
21
|
+
def HelpLink(self) -> str: ...
|
22
|
+
@HelpLink.setter
|
23
|
+
def HelpLink(self, value: str) -> str: ...
|
24
|
+
@property
|
25
|
+
def HResult(self) -> int: ...
|
26
|
+
@HResult.setter
|
27
|
+
def HResult(self, value: int) -> int: ...
|
28
|
+
@property
|
29
|
+
def InnerException(self) -> Exception: ...
|
30
|
+
@property
|
31
|
+
def Message(self) -> str: ...
|
32
|
+
@property
|
33
|
+
def Reason(self) -> CreateProjectExceptionReason: ...
|
34
|
+
@property
|
35
|
+
def Source(self) -> str: ...
|
36
|
+
@Source.setter
|
37
|
+
def Source(self, value: str) -> str: ...
|
38
|
+
@property
|
39
|
+
def StackTrace(self) -> str: ...
|
40
|
+
@property
|
41
|
+
def TargetSite(self) -> MethodBase: ...
|
42
|
+
|
43
|
+
|
44
|
+
class CreateProjectExceptionReason(typing.SupportsInt):
|
45
|
+
@typing.overload
|
46
|
+
def __init__(self, value : int) -> None: ...
|
47
|
+
@typing.overload
|
48
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
49
|
+
def __int__(self) -> int: ...
|
50
|
+
|
51
|
+
# Values:
|
52
|
+
MissingMultiValuesFile : CreateProjectExceptionReason # 0
|
53
|
+
MissingComponentFile : CreateProjectExceptionReason # 1
|
54
|
+
|
55
|
+
|
56
|
+
class ProjectExportImport(abc.ABC):
|
57
|
+
@staticmethod
|
58
|
+
def ExportComponentLibrary(_file: FileInfo, projectData: ExtendedProjectData, _components: IEnumerable_1[SimComponent]) -> None: ...
|
59
|
+
@staticmethod
|
60
|
+
def ExportGeometryWithRelations(file: FileInfo, projectData: ExtendedProjectData, geometryFiles: IEnumerable_1[ResourceEntry]) -> None: ...
|
61
|
+
@staticmethod
|
62
|
+
def ExportMultiValueLibrary(_file: FileInfo, _value_factory: SimMultiValueCollection, _values: IEnumerable_1[SimMultiValue]) -> None: ...
|
63
|
+
@staticmethod
|
64
|
+
def ImportComponentLibrary(_project: HierarchicalProject, _archive_file: FileInfo) -> SimComponent: ...
|
65
|
+
@staticmethod
|
66
|
+
def ImportGeometryWithRelations(_project: HierarchicalProject, _archive_file: FileInfo, _target_directory: DirectoryInfo, _nameCollisionFormat: str) -> List_1[SimGeoIOError]: ...
|
67
|
+
@staticmethod
|
68
|
+
def ImportMultiValueLibrary(_project: HierarchicalProject, _value_file: FileInfo) -> None: ...
|
69
|
+
|
70
|
+
|
71
|
+
class ProjectIO(abc.ABC):
|
72
|
+
@staticmethod
|
73
|
+
def CreateFromSeparateFiles(_project_file: FileInfo, _files_to_convert_to_project: IEnumerable_1[FileInfo], _non_managed_files: IEnumerable_1[FileInfo], _associated_files: IEnumerable_1[FileInfo], _project_data_manager: ExtendedProjectData, _encryption_key: Array_1[int]) -> CompactProject: ...
|
74
|
+
@staticmethod
|
75
|
+
def CreateMinimalProject(_project_file: FileInfo, _path_to_local_tmp_folder: str, _project_data_manager: ExtendedProjectData) -> CompactProject: ...
|
76
|
+
@staticmethod
|
77
|
+
def CreateMissingLinkFile(_project: HierarchicalProject) -> None: ...
|
78
|
+
@staticmethod
|
79
|
+
def ExportTaxonomyFile(file: FileInfo, taxonomies: IEnumerable_1[SimTaxonomy], projectData: ExtendedProjectData) -> None: ...
|
80
|
+
@staticmethod
|
81
|
+
def ImportTaxonomyFile(file: FileInfo, projectData: ExtendedProjectData) -> None: ...
|
82
|
+
|
83
|
+
|
84
|
+
class ZipProjectIO:
|
85
|
+
def __init__(self) -> None: ...
|
86
|
+
@classmethod
|
87
|
+
@property
|
88
|
+
def EncryptionKey(cls) -> Array_1[int]: ...
|
89
|
+
@staticmethod
|
90
|
+
def Close(_project: HierarchicalProject, _unloading_follows: bool) -> None: ...
|
91
|
+
@staticmethod
|
92
|
+
def Load(_project_file: FileInfo, _data_manager: ExtendedProjectData) -> HierarchicalProject: ...
|
93
|
+
@staticmethod
|
94
|
+
def NewProject(_project_file: FileInfo, _path_to_local_tmp_folder: str, _project_data_manager: ExtendedProjectData, initialUser: SimUser) -> HierarchicalProject: ...
|
95
|
+
@staticmethod
|
96
|
+
def OpenAfterAuthentication(_project: HierarchicalProject, _data_manager: ExtendedProjectData) -> None: ...
|
97
|
+
@staticmethod
|
98
|
+
def Save(_project: HierarchicalProject, _save_changes_only: bool) -> None: ...
|
99
|
+
@staticmethod
|
100
|
+
def SaveAs(_project: HierarchicalProject, _new_project_file: FileInfo) -> None: ...
|
101
|
+
@staticmethod
|
102
|
+
def Unload(_project: HierarchicalProject) -> bool: ...
|
103
|
+
# Skipped AuthenticateUserAfterLoading due to it being static, abstract and generic.
|
104
|
+
|
105
|
+
AuthenticateUserAfterLoading : AuthenticateUserAfterLoading_MethodGroup
|
106
|
+
class AuthenticateUserAfterLoading_MethodGroup:
|
107
|
+
@typing.overload
|
108
|
+
def __call__(self, _project: HierarchicalProject, _data_manager: ExtendedProjectData, user: SimUser) -> SimUser:...
|
109
|
+
@typing.overload
|
110
|
+
def __call__(self, _project: HierarchicalProject, _data_manager: ExtendedProjectData, serviceProvider: IServicesProvider) -> bool:...
|
111
|
+
|
112
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import abc
|
2
|
+
from SIMULTAN.Serializer.DXF import DXFSectionParserElement_1
|
3
|
+
from SIMULTAN.Data.SitePlanner import SitePlannerProject
|
4
|
+
from System.IO import FileInfo
|
5
|
+
from SIMULTAN.Projects import ProjectData
|
6
|
+
|
7
|
+
class SiteplannerDxfIO(abc.ABC):
|
8
|
+
@classmethod
|
9
|
+
@property
|
10
|
+
def SiteplannerSectionElement(cls) -> DXFSectionParserElement_1[SitePlannerProject]: ...
|
11
|
+
@staticmethod
|
12
|
+
def CreateEmptySitePlannerProject(file: FileInfo, projectData: ProjectData) -> None: ...
|
13
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
import typing
|
2
|
+
from SIMULTAN.Data.Taxonomy import SimTaxonomyEntry
|
3
|
+
from SIMULTAN.Projects import ProjectData
|
4
|
+
from SIMULTAN.Data.Geometry import GeometryModel, OffsetAlgorithm
|
5
|
+
from SIMULTAN.Data.Assets import ResourceFileEntry
|
6
|
+
from System.Collections.Generic import List_1, IEnumerable_1, Dictionary_2
|
7
|
+
from System import Array_1
|
8
|
+
|
9
|
+
class SimGeoIO:
|
10
|
+
def __init__(self) -> None: ...
|
11
|
+
@classmethod
|
12
|
+
@property
|
13
|
+
def SimGeoVersion(cls) -> int: ...
|
14
|
+
@staticmethod
|
15
|
+
def GetLegacyParentTaxonomyEntry(projectData: ProjectData) -> SimTaxonomyEntry: ...
|
16
|
+
@staticmethod
|
17
|
+
def Load(geometryFile: ResourceFileEntry, projectData: ProjectData, errors: List_1[SimGeoIOError], offsetAlg: OffsetAlgorithm = ...) -> GeometryModel: ...
|
18
|
+
@staticmethod
|
19
|
+
def MigrateAfterImport(geometryFiles: IEnumerable_1[ResourceFileEntry], projectData: ProjectData, errors: List_1[SimGeoIOError], importedKeysLookup: Dictionary_2[int, int], importedFilesLookup: Dictionary_2[str, str], offsetAlg: OffsetAlgorithm = ...) -> None: ...
|
20
|
+
@staticmethod
|
21
|
+
def Save(model: GeometryModel, file: ResourceFileEntry, mode: SimGeoIO.WriteMode) -> bool: ...
|
22
|
+
|
23
|
+
class WriteMode(typing.SupportsInt):
|
24
|
+
@typing.overload
|
25
|
+
def __init__(self, value : int) -> None: ...
|
26
|
+
@typing.overload
|
27
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
28
|
+
def __int__(self) -> int: ...
|
29
|
+
|
30
|
+
# Values:
|
31
|
+
Plaintext : SimGeoIO.WriteMode # 0
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
class SimGeoIOError:
|
36
|
+
def __init__(self, reason: SimGeoIOErrorReason, data: Array_1[typing.Any]) -> None: ...
|
37
|
+
@property
|
38
|
+
def Data(self) -> Array_1[typing.Any]: ...
|
39
|
+
@property
|
40
|
+
def Reason(self) -> SimGeoIOErrorReason: ...
|
41
|
+
|
42
|
+
|
43
|
+
class SimGeoIOErrorReason(typing.SupportsInt):
|
44
|
+
@typing.overload
|
45
|
+
def __init__(self, value : int) -> None: ...
|
46
|
+
@typing.overload
|
47
|
+
def __init__(self, value : int, force_if_true: bool) -> None: ...
|
48
|
+
def __int__(self) -> int: ...
|
49
|
+
|
50
|
+
# Values:
|
51
|
+
InvalidLinkedModel : SimGeoIOErrorReason # 0
|
52
|
+
ReferenceConvertFailed : SimGeoIOErrorReason # 1
|
53
|
+
ModelWithSameId : SimGeoIOErrorReason # 2
|
54
|
+
|
@@ -0,0 +1,46 @@
|
|
1
|
+
import typing
|
2
|
+
from System.IO import FileInfo
|
3
|
+
from System.Collections.Generic import IEnumerable_1
|
4
|
+
from SIMULTAN.Data.Taxonomy import SimTaxonomy
|
5
|
+
from SIMULTAN.Projects import ExtendedProjectData
|
6
|
+
from SIMULTAN.Serializer.DXF import DXFStreamWriter, DXFParserInfo, DXFStreamReader
|
7
|
+
|
8
|
+
class SimTaxonomyDxfIO:
|
9
|
+
def __init__(self) -> None: ...
|
10
|
+
# Skipped Export due to it being static, abstract and generic.
|
11
|
+
|
12
|
+
Export : Export_MethodGroup
|
13
|
+
class Export_MethodGroup:
|
14
|
+
@typing.overload
|
15
|
+
def __call__(self, file: FileInfo, taxonomies: IEnumerable_1[SimTaxonomy], projectData: ExtendedProjectData) -> None:...
|
16
|
+
@typing.overload
|
17
|
+
def __call__(self, writer: DXFStreamWriter, taxonomies: IEnumerable_1[SimTaxonomy], projectData: ExtendedProjectData) -> None:...
|
18
|
+
|
19
|
+
# Skipped Import due to it being static, abstract and generic.
|
20
|
+
|
21
|
+
Import : Import_MethodGroup
|
22
|
+
class Import_MethodGroup:
|
23
|
+
@typing.overload
|
24
|
+
def __call__(self, file: FileInfo, info: DXFParserInfo) -> None:...
|
25
|
+
@typing.overload
|
26
|
+
def __call__(self, reader: DXFStreamReader, parserInfo: DXFParserInfo) -> None:...
|
27
|
+
|
28
|
+
# Skipped Read due to it being static, abstract and generic.
|
29
|
+
|
30
|
+
Read : Read_MethodGroup
|
31
|
+
class Read_MethodGroup:
|
32
|
+
@typing.overload
|
33
|
+
def __call__(self, file: FileInfo, info: DXFParserInfo) -> None:...
|
34
|
+
@typing.overload
|
35
|
+
def __call__(self, reader: DXFStreamReader, parserInfo: DXFParserInfo) -> None:...
|
36
|
+
|
37
|
+
# Skipped Write due to it being static, abstract and generic.
|
38
|
+
|
39
|
+
Write : Write_MethodGroup
|
40
|
+
class Write_MethodGroup:
|
41
|
+
@typing.overload
|
42
|
+
def __call__(self, file: FileInfo, taxonomies: IEnumerable_1[SimTaxonomy], projectData: ExtendedProjectData) -> None:...
|
43
|
+
@typing.overload
|
44
|
+
def __call__(self, writer: DXFStreamWriter, taxonomies: IEnumerable_1[SimTaxonomy], projectData: ExtendedProjectData) -> None:...
|
45
|
+
|
46
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import typing
|
2
|
+
from SIMULTAN.Projects import ProjectData
|
3
|
+
from System.IO import FileInfo, TextWriter
|
4
|
+
from System.Collections.Generic import IEnumerable_1
|
5
|
+
from SIMULTAN.Data.SimNetworks import SimNetwork
|
6
|
+
|
7
|
+
class XMIExporter:
|
8
|
+
def __init__(self) -> None: ...
|
9
|
+
# Skipped Export due to it being static, abstract and generic.
|
10
|
+
|
11
|
+
Export : Export_MethodGroup
|
12
|
+
class Export_MethodGroup:
|
13
|
+
@typing.overload
|
14
|
+
def __call__(self, projectData: ProjectData, fileToSave: FileInfo) -> None:...
|
15
|
+
@typing.overload
|
16
|
+
def __call__(self, projectData: ProjectData, writer: TextWriter) -> None:...
|
17
|
+
@typing.overload
|
18
|
+
def __call__(self, projectData: ProjectData, networks: IEnumerable_1[SimNetwork], fileToSave: FileInfo) -> None:...
|
19
|
+
@typing.overload
|
20
|
+
def __call__(self, projectData: ProjectData, networks: IEnumerable_1[SimNetwork], writer: TextWriter) -> None:...
|
21
|
+
|
22
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System.IO import FileInfo
|
3
|
+
from SIMULTAN.Serializer.DXF import DXFParserInfo
|
4
|
+
from SIMULTAN.Projects import ProjectData
|
5
|
+
from System.Xml import XmlElement, XmlNamespaceManager, XmlWriter
|
6
|
+
from System import Action_1
|
7
|
+
|
8
|
+
class ExcelDxfIO(abc.ABC):
|
9
|
+
@staticmethod
|
10
|
+
def Read(file: FileInfo, parserInfo: DXFParserInfo) -> None: ...
|
11
|
+
@staticmethod
|
12
|
+
def ReadLibrary(file: FileInfo, parserInfo: DXFParserInfo) -> None: ...
|
13
|
+
@staticmethod
|
14
|
+
def Write(file: FileInfo, projectData: ProjectData) -> None: ...
|
15
|
+
|
16
|
+
|
17
|
+
class XMLIOExtensions(abc.ABC):
|
18
|
+
@staticmethod
|
19
|
+
def LoadInnerText(node: XmlElement, xpath: str, converter: Action_1[str], nsmgr: XmlNamespaceManager = ...) -> bool: ...
|
20
|
+
# Skipped WriteKeyValue due to it being static, abstract and generic.
|
21
|
+
|
22
|
+
WriteKeyValue : WriteKeyValue_MethodGroup
|
23
|
+
class WriteKeyValue_MethodGroup:
|
24
|
+
def __getitem__(self, t:typing.Type[WriteKeyValue_1_T1]) -> WriteKeyValue_1[WriteKeyValue_1_T1]: ...
|
25
|
+
|
26
|
+
WriteKeyValue_1_T1 = typing.TypeVar('WriteKeyValue_1_T1')
|
27
|
+
class WriteKeyValue_1(typing.Generic[WriteKeyValue_1_T1]):
|
28
|
+
WriteKeyValue_1_T = XMLIOExtensions.WriteKeyValue_MethodGroup.WriteKeyValue_1_T1
|
29
|
+
def __call__(self, sw: XmlWriter, key: str, value: WriteKeyValue_1_T) -> None:...
|
30
|
+
|
31
|
+
|
32
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System.ComponentModel import BackgroundWorker, DoWorkEventArgs
|
3
|
+
|
4
|
+
class BackgroundAlgorithmInfo(IBackgroundAlgorithmInfo):
|
5
|
+
def __init__(self, worker: BackgroundWorker, args: DoWorkEventArgs, percentStart: float, percentEnd: float, userText: str) -> None: ...
|
6
|
+
@property
|
7
|
+
def Cancel(self) -> None: ...
|
8
|
+
@Cancel.setter
|
9
|
+
def Cancel(self, value: bool) -> None: ...
|
10
|
+
@property
|
11
|
+
def CancellationPending(self) -> bool: ...
|
12
|
+
def ReportProgress(self, percent: int) -> None: ...
|
13
|
+
|
14
|
+
|
15
|
+
class BackgroundUserState:
|
16
|
+
def __init__(self, text: str) -> None: ...
|
17
|
+
@property
|
18
|
+
def Text(self) -> str: ...
|
19
|
+
@Text.setter
|
20
|
+
def Text(self, value: str) -> str: ...
|
21
|
+
|
22
|
+
|
23
|
+
class EmptyBackgroundAlgorithmInfo(IBackgroundAlgorithmInfo):
|
24
|
+
def __init__(self) -> None: ...
|
25
|
+
@property
|
26
|
+
def Cancel(self) -> None: ...
|
27
|
+
@Cancel.setter
|
28
|
+
def Cancel(self, value: bool) -> None: ...
|
29
|
+
@property
|
30
|
+
def CancellationPending(self) -> bool: ...
|
31
|
+
def ReportProgress(self, percent: int) -> None: ...
|
32
|
+
|
33
|
+
|
34
|
+
class IBackgroundAlgorithmInfo(typing.Protocol):
|
35
|
+
@property
|
36
|
+
def Cancel(self) -> None: ...
|
37
|
+
@Cancel.setter
|
38
|
+
def Cancel(self, value: bool) -> None: ...
|
39
|
+
@property
|
40
|
+
def CancellationPending(self) -> bool: ...
|
41
|
+
@abc.abstractmethod
|
42
|
+
def ReportProgress(self, percent: int) -> None: ...
|
43
|
+
|
@@ -0,0 +1,216 @@
|
|
1
|
+
import typing, clr, abc
|
2
|
+
from System.Collections.ObjectModel import ObservableCollection_1
|
3
|
+
from System.Collections.Generic import IEnumerable_1, IReadOnlyCollection_1, IReadOnlyDictionary_2, KeyValuePair_2, ICollection_1, IEnumerator_1, IDictionary_2
|
4
|
+
from System.Collections.Specialized import INotifyCollectionChanged
|
5
|
+
from System.ComponentModel import INotifyPropertyChanged
|
6
|
+
from System import Comparison_1
|
7
|
+
|
8
|
+
class ElectivelyObservableCollection_GenericClasses(abc.ABCMeta):
|
9
|
+
Generic_ElectivelyObservableCollection_GenericClasses_ElectivelyObservableCollection_1_T = typing.TypeVar('Generic_ElectivelyObservableCollection_GenericClasses_ElectivelyObservableCollection_1_T')
|
10
|
+
def __getitem__(self, types : typing.Type[Generic_ElectivelyObservableCollection_GenericClasses_ElectivelyObservableCollection_1_T]) -> typing.Type[ElectivelyObservableCollection_1[Generic_ElectivelyObservableCollection_GenericClasses_ElectivelyObservableCollection_1_T]]: ...
|
11
|
+
|
12
|
+
ElectivelyObservableCollection : ElectivelyObservableCollection_GenericClasses
|
13
|
+
|
14
|
+
ElectivelyObservableCollection_1_T = typing.TypeVar('ElectivelyObservableCollection_1_T')
|
15
|
+
class ElectivelyObservableCollection_1(typing.Generic[ElectivelyObservableCollection_1_T], ObservableCollection_1[ElectivelyObservableCollection_1_T], IReadOnlyObservableCollection_1[ElectivelyObservableCollection_1_T]):
|
16
|
+
@typing.overload
|
17
|
+
def __init__(self) -> None: ...
|
18
|
+
@typing.overload
|
19
|
+
def __init__(self, collection: IEnumerable_1[ElectivelyObservableCollection_1_T]) -> None: ...
|
20
|
+
@property
|
21
|
+
def Count(self) -> int: ...
|
22
|
+
@property
|
23
|
+
def Item(self) -> ElectivelyObservableCollection_1_T: ...
|
24
|
+
@Item.setter
|
25
|
+
def Item(self, value: ElectivelyObservableCollection_1_T) -> ElectivelyObservableCollection_1_T: ...
|
26
|
+
@property
|
27
|
+
def SuppressNotification(self) -> bool: ...
|
28
|
+
@SuppressNotification.setter
|
29
|
+
def SuppressNotification(self, value: bool) -> bool: ...
|
30
|
+
|
31
|
+
|
32
|
+
class IReadOnlyObservableCollection_GenericClasses(abc.ABCMeta):
|
33
|
+
Generic_IReadOnlyObservableCollection_GenericClasses_IReadOnlyObservableCollection_1_T = typing.TypeVar('Generic_IReadOnlyObservableCollection_GenericClasses_IReadOnlyObservableCollection_1_T')
|
34
|
+
def __getitem__(self, types : typing.Type[Generic_IReadOnlyObservableCollection_GenericClasses_IReadOnlyObservableCollection_1_T]) -> typing.Type[IReadOnlyObservableCollection_1[Generic_IReadOnlyObservableCollection_GenericClasses_IReadOnlyObservableCollection_1_T]]: ...
|
35
|
+
|
36
|
+
IReadOnlyObservableCollection : IReadOnlyObservableCollection_GenericClasses
|
37
|
+
|
38
|
+
IReadOnlyObservableCollection_1_T = typing.TypeVar('IReadOnlyObservableCollection_1_T')
|
39
|
+
class IReadOnlyObservableCollection_1(typing.Generic[IReadOnlyObservableCollection_1_T], IReadOnlyCollection_1[IReadOnlyObservableCollection_1_T], INotifyCollectionChanged, typing.Protocol):
|
40
|
+
pass
|
41
|
+
|
42
|
+
|
43
|
+
class IReadonlyObservableDictionary_GenericClasses(abc.ABCMeta):
|
44
|
+
Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TKey = typing.TypeVar('Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TKey')
|
45
|
+
Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TValue = typing.TypeVar('Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TValue')
|
46
|
+
def __getitem__(self, types : typing.Tuple[typing.Type[Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TKey], typing.Type[Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TValue]]) -> typing.Type[IReadonlyObservableDictionary_2[Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TKey, Generic_IReadonlyObservableDictionary_GenericClasses_IReadonlyObservableDictionary_2_TValue]]: ...
|
47
|
+
|
48
|
+
IReadonlyObservableDictionary : IReadonlyObservableDictionary_GenericClasses
|
49
|
+
|
50
|
+
IReadonlyObservableDictionary_2_TKey = typing.TypeVar('IReadonlyObservableDictionary_2_TKey')
|
51
|
+
IReadonlyObservableDictionary_2_TValue = typing.TypeVar('IReadonlyObservableDictionary_2_TValue')
|
52
|
+
class IReadonlyObservableDictionary_2(typing.Generic[IReadonlyObservableDictionary_2_TKey, IReadonlyObservableDictionary_2_TValue], IReadOnlyDictionary_2[IReadonlyObservableDictionary_2_TKey, IReadonlyObservableDictionary_2_TValue], INotifyCollectionChanged, typing.Protocol):
|
53
|
+
pass
|
54
|
+
|
55
|
+
|
56
|
+
class MultiDictionary_GenericClasses(abc.ABCMeta):
|
57
|
+
Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TKey = typing.TypeVar('Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TKey')
|
58
|
+
Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TValue = typing.TypeVar('Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TValue')
|
59
|
+
def __getitem__(self, types : typing.Tuple[typing.Type[Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TKey], typing.Type[Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TValue]]) -> typing.Type[MultiDictionary_2[Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TKey, Generic_MultiDictionary_GenericClasses_MultiDictionary_2_TValue]]: ...
|
60
|
+
|
61
|
+
MultiDictionary : MultiDictionary_GenericClasses
|
62
|
+
|
63
|
+
MultiDictionary_2_TKey = typing.TypeVar('MultiDictionary_2_TKey')
|
64
|
+
MultiDictionary_2_TValue = typing.TypeVar('MultiDictionary_2_TValue')
|
65
|
+
class MultiDictionary_2(typing.Generic[MultiDictionary_2_TKey, MultiDictionary_2_TValue], IEnumerable_1[KeyValuePair_2[MultiDictionary_2_TKey, IEnumerable_1[MultiDictionary_2_TValue]]]):
|
66
|
+
@typing.overload
|
67
|
+
def __init__(self) -> None: ...
|
68
|
+
@typing.overload
|
69
|
+
def __init__(self, original: MultiDictionary_2[MultiDictionary_2_TKey, MultiDictionary_2_TValue]) -> None: ...
|
70
|
+
@property
|
71
|
+
def Item(self) -> IEnumerable_1[MultiDictionary_2_TValue]: ...
|
72
|
+
@property
|
73
|
+
def Keys(self) -> ICollection_1[MultiDictionary_2_TKey]: ...
|
74
|
+
def Clear(self) -> None: ...
|
75
|
+
def ContainsKey(self, key: MultiDictionary_2_TKey) -> bool: ...
|
76
|
+
def GetEnumerator(self) -> IEnumerator_1[KeyValuePair_2[MultiDictionary_2_TKey, IEnumerable_1[MultiDictionary_2_TValue]]]: ...
|
77
|
+
def TryGetValues(self, key: MultiDictionary_2_TKey, values: clr.Reference[IEnumerable_1[MultiDictionary_2_TValue]]) -> bool: ...
|
78
|
+
# Skipped Add due to it being static, abstract and generic.
|
79
|
+
|
80
|
+
Add : Add_MethodGroup[MultiDictionary_2_TKey, MultiDictionary_2_TValue]
|
81
|
+
Add_MethodGroup_MultiDictionary_2_TKey = typing.TypeVar('Add_MethodGroup_MultiDictionary_2_TKey')
|
82
|
+
Add_MethodGroup_MultiDictionary_2_TValue = typing.TypeVar('Add_MethodGroup_MultiDictionary_2_TValue')
|
83
|
+
class Add_MethodGroup(typing.Generic[Add_MethodGroup_MultiDictionary_2_TKey, Add_MethodGroup_MultiDictionary_2_TValue]):
|
84
|
+
Add_MethodGroup_MultiDictionary_2_TKey = MultiDictionary_2.Add_MethodGroup_MultiDictionary_2_TKey
|
85
|
+
Add_MethodGroup_MultiDictionary_2_TValue = MultiDictionary_2.Add_MethodGroup_MultiDictionary_2_TValue
|
86
|
+
@typing.overload
|
87
|
+
def __call__(self, key: Add_MethodGroup_MultiDictionary_2_TKey, values: IEnumerable_1[Add_MethodGroup_MultiDictionary_2_TValue]) -> None:...
|
88
|
+
@typing.overload
|
89
|
+
def __call__(self, key: Add_MethodGroup_MultiDictionary_2_TKey, value: Add_MethodGroup_MultiDictionary_2_TValue) -> None:...
|
90
|
+
|
91
|
+
# Skipped Remove due to it being static, abstract and generic.
|
92
|
+
|
93
|
+
Remove : Remove_MethodGroup[MultiDictionary_2_TKey, MultiDictionary_2_TValue]
|
94
|
+
Remove_MethodGroup_MultiDictionary_2_TKey = typing.TypeVar('Remove_MethodGroup_MultiDictionary_2_TKey')
|
95
|
+
Remove_MethodGroup_MultiDictionary_2_TValue = typing.TypeVar('Remove_MethodGroup_MultiDictionary_2_TValue')
|
96
|
+
class Remove_MethodGroup(typing.Generic[Remove_MethodGroup_MultiDictionary_2_TKey, Remove_MethodGroup_MultiDictionary_2_TValue]):
|
97
|
+
Remove_MethodGroup_MultiDictionary_2_TKey = MultiDictionary_2.Remove_MethodGroup_MultiDictionary_2_TKey
|
98
|
+
Remove_MethodGroup_MultiDictionary_2_TValue = MultiDictionary_2.Remove_MethodGroup_MultiDictionary_2_TValue
|
99
|
+
@typing.overload
|
100
|
+
def __call__(self, key: Remove_MethodGroup_MultiDictionary_2_TKey) -> bool:...
|
101
|
+
@typing.overload
|
102
|
+
def __call__(self, key: Remove_MethodGroup_MultiDictionary_2_TKey, value: Remove_MethodGroup_MultiDictionary_2_TValue) -> bool:...
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
class MultiDictionaryOptimized_GenericClasses(abc.ABCMeta):
|
107
|
+
Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TKey = typing.TypeVar('Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TKey')
|
108
|
+
Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TValue = typing.TypeVar('Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TValue')
|
109
|
+
def __getitem__(self, types : typing.Tuple[typing.Type[Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TKey], typing.Type[Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TValue]]) -> typing.Type[MultiDictionaryOptimized_2[Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TKey, Generic_MultiDictionaryOptimized_GenericClasses_MultiDictionaryOptimized_2_TValue]]: ...
|
110
|
+
|
111
|
+
MultiDictionaryOptimized : MultiDictionaryOptimized_GenericClasses
|
112
|
+
|
113
|
+
MultiDictionaryOptimized_2_TKey = typing.TypeVar('MultiDictionaryOptimized_2_TKey')
|
114
|
+
MultiDictionaryOptimized_2_TValue = typing.TypeVar('MultiDictionaryOptimized_2_TValue')
|
115
|
+
class MultiDictionaryOptimized_2(typing.Generic[MultiDictionaryOptimized_2_TKey, MultiDictionaryOptimized_2_TValue]):
|
116
|
+
@typing.overload
|
117
|
+
def __init__(self) -> None: ...
|
118
|
+
@typing.overload
|
119
|
+
def __init__(self, original: MultiDictionaryOptimized_2[MultiDictionaryOptimized_2_TKey, MultiDictionaryOptimized_2_TValue]) -> None: ...
|
120
|
+
@property
|
121
|
+
def Item(self) -> IReadOnlyCollection_1[MultiDictionaryOptimized_2_TValue]: ...
|
122
|
+
def Add(self, key: MultiDictionaryOptimized_2_TKey, value: MultiDictionaryOptimized_2_TValue) -> None: ...
|
123
|
+
def Clear(self) -> None: ...
|
124
|
+
def ContainsKey(self, key: MultiDictionaryOptimized_2_TKey) -> bool: ...
|
125
|
+
def TryGetValues(self, key: MultiDictionaryOptimized_2_TKey, values: clr.Reference[IEnumerable_1[MultiDictionaryOptimized_2_TValue]]) -> bool: ...
|
126
|
+
# Skipped Remove due to it being static, abstract and generic.
|
127
|
+
|
128
|
+
Remove : Remove_MethodGroup[MultiDictionaryOptimized_2_TKey, MultiDictionaryOptimized_2_TValue]
|
129
|
+
Remove_MethodGroup_MultiDictionaryOptimized_2_TKey = typing.TypeVar('Remove_MethodGroup_MultiDictionaryOptimized_2_TKey')
|
130
|
+
Remove_MethodGroup_MultiDictionaryOptimized_2_TValue = typing.TypeVar('Remove_MethodGroup_MultiDictionaryOptimized_2_TValue')
|
131
|
+
class Remove_MethodGroup(typing.Generic[Remove_MethodGroup_MultiDictionaryOptimized_2_TKey, Remove_MethodGroup_MultiDictionaryOptimized_2_TValue]):
|
132
|
+
Remove_MethodGroup_MultiDictionaryOptimized_2_TKey = MultiDictionaryOptimized_2.Remove_MethodGroup_MultiDictionaryOptimized_2_TKey
|
133
|
+
Remove_MethodGroup_MultiDictionaryOptimized_2_TValue = MultiDictionaryOptimized_2.Remove_MethodGroup_MultiDictionaryOptimized_2_TValue
|
134
|
+
@typing.overload
|
135
|
+
def __call__(self, key: Remove_MethodGroup_MultiDictionaryOptimized_2_TKey) -> bool:...
|
136
|
+
@typing.overload
|
137
|
+
def __call__(self, key: Remove_MethodGroup_MultiDictionaryOptimized_2_TKey, value: Remove_MethodGroup_MultiDictionaryOptimized_2_TValue) -> bool:...
|
138
|
+
|
139
|
+
|
140
|
+
|
141
|
+
class ObservableDictionary_GenericClasses(abc.ABCMeta):
|
142
|
+
Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TKey = typing.TypeVar('Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TKey')
|
143
|
+
Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TValue = typing.TypeVar('Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TValue')
|
144
|
+
def __getitem__(self, types : typing.Tuple[typing.Type[Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TKey], typing.Type[Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TValue]]) -> typing.Type[ObservableDictionary_2[Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TKey, Generic_ObservableDictionary_GenericClasses_ObservableDictionary_2_TValue]]: ...
|
145
|
+
|
146
|
+
ObservableDictionary : ObservableDictionary_GenericClasses
|
147
|
+
|
148
|
+
ObservableDictionary_2_TKey = typing.TypeVar('ObservableDictionary_2_TKey')
|
149
|
+
ObservableDictionary_2_TValue = typing.TypeVar('ObservableDictionary_2_TValue')
|
150
|
+
class ObservableDictionary_2(typing.Generic[ObservableDictionary_2_TKey, ObservableDictionary_2_TValue], IReadonlyObservableDictionary_2[ObservableDictionary_2_TKey, ObservableDictionary_2_TValue], IDictionary_2[ObservableDictionary_2_TKey, ObservableDictionary_2_TValue], INotifyPropertyChanged):
|
151
|
+
@typing.overload
|
152
|
+
def __init__(self) -> None: ...
|
153
|
+
@typing.overload
|
154
|
+
def __init__(self, dictionary: IDictionary_2[ObservableDictionary_2_TKey, ObservableDictionary_2_TValue]) -> None: ...
|
155
|
+
@typing.overload
|
156
|
+
def __init__(self, input: IEnumerable_1[KeyValuePair_2[ObservableDictionary_2_TKey, ObservableDictionary_2_TValue]]) -> None: ...
|
157
|
+
@typing.overload
|
158
|
+
def __init__(self, keys: IEnumerable_1[ObservableDictionary_2_TKey], values: IEnumerable_1[ObservableDictionary_2_TValue]) -> None: ...
|
159
|
+
@property
|
160
|
+
def Count(self) -> int: ...
|
161
|
+
@property
|
162
|
+
def Item(self) -> ObservableDictionary_2_TValue: ...
|
163
|
+
@Item.setter
|
164
|
+
def Item(self, value: ObservableDictionary_2_TValue) -> ObservableDictionary_2_TValue: ...
|
165
|
+
@property
|
166
|
+
def Keys(self) -> ICollection_1[ObservableDictionary_2_TKey]: ...
|
167
|
+
@property
|
168
|
+
def Values(self) -> ICollection_1[ObservableDictionary_2_TValue]: ...
|
169
|
+
def Add(self, key: ObservableDictionary_2_TKey, value: ObservableDictionary_2_TValue) -> None: ...
|
170
|
+
def Clear(self) -> None: ...
|
171
|
+
def ContainsKey(self, key: ObservableDictionary_2_TKey) -> bool: ...
|
172
|
+
def ContainsValue(self, value: ObservableDictionary_2_TValue) -> bool: ...
|
173
|
+
def Remove(self, key: ObservableDictionary_2_TKey) -> bool: ...
|
174
|
+
def TryGetValue(self, key: ObservableDictionary_2_TKey, value: clr.Reference[ObservableDictionary_2_TValue]) -> bool: ...
|
175
|
+
# Skipped AddRange due to it being static, abstract and generic.
|
176
|
+
|
177
|
+
AddRange : AddRange_MethodGroup[ObservableDictionary_2_TKey, ObservableDictionary_2_TValue]
|
178
|
+
AddRange_MethodGroup_ObservableDictionary_2_TKey = typing.TypeVar('AddRange_MethodGroup_ObservableDictionary_2_TKey')
|
179
|
+
AddRange_MethodGroup_ObservableDictionary_2_TValue = typing.TypeVar('AddRange_MethodGroup_ObservableDictionary_2_TValue')
|
180
|
+
class AddRange_MethodGroup(typing.Generic[AddRange_MethodGroup_ObservableDictionary_2_TKey, AddRange_MethodGroup_ObservableDictionary_2_TValue]):
|
181
|
+
AddRange_MethodGroup_ObservableDictionary_2_TKey = ObservableDictionary_2.AddRange_MethodGroup_ObservableDictionary_2_TKey
|
182
|
+
AddRange_MethodGroup_ObservableDictionary_2_TValue = ObservableDictionary_2.AddRange_MethodGroup_ObservableDictionary_2_TValue
|
183
|
+
@typing.overload
|
184
|
+
def __call__(self, range: IEnumerable_1[KeyValuePair_2[AddRange_MethodGroup_ObservableDictionary_2_TKey, AddRange_MethodGroup_ObservableDictionary_2_TValue]]) -> None:...
|
185
|
+
@typing.overload
|
186
|
+
def __call__(self, keys: IEnumerable_1[AddRange_MethodGroup_ObservableDictionary_2_TKey], values: IEnumerable_1[AddRange_MethodGroup_ObservableDictionary_2_TValue]) -> None:...
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
class PriorityQueue_GenericClasses(abc.ABCMeta):
|
191
|
+
Generic_PriorityQueue_GenericClasses_PriorityQueue_1_T = typing.TypeVar('Generic_PriorityQueue_GenericClasses_PriorityQueue_1_T')
|
192
|
+
def __getitem__(self, types : typing.Type[Generic_PriorityQueue_GenericClasses_PriorityQueue_1_T]) -> typing.Type[PriorityQueue_1[Generic_PriorityQueue_GenericClasses_PriorityQueue_1_T]]: ...
|
193
|
+
|
194
|
+
PriorityQueue : PriorityQueue_GenericClasses
|
195
|
+
|
196
|
+
PriorityQueue_1_T = typing.TypeVar('PriorityQueue_1_T')
|
197
|
+
class PriorityQueue_1(typing.Generic[PriorityQueue_1_T]):
|
198
|
+
# Constructor .ctor(isdesc : Boolean, comparison : Comparison`1) was skipped since it collides with above method
|
199
|
+
@typing.overload
|
200
|
+
def __init__(self, capacity: int, comparison: Comparison_1[PriorityQueue_1_T]) -> None: ...
|
201
|
+
@typing.overload
|
202
|
+
def __init__(self, capacity: int, isdesc: bool, comparison: Comparison_1[PriorityQueue_1_T]) -> None: ...
|
203
|
+
@typing.overload
|
204
|
+
def __init__(self, collection: IEnumerable_1[PriorityQueue_1_T], comparison: Comparison_1[PriorityQueue_1_T]) -> None: ...
|
205
|
+
@typing.overload
|
206
|
+
def __init__(self, collection: IEnumerable_1[PriorityQueue_1_T], isdesc: bool, comparison: Comparison_1[PriorityQueue_1_T]) -> None: ...
|
207
|
+
@typing.overload
|
208
|
+
def __init__(self, comparison: Comparison_1[PriorityQueue_1_T]) -> None: ...
|
209
|
+
IsDescending : bool
|
210
|
+
@property
|
211
|
+
def Count(self) -> int: ...
|
212
|
+
def Clear(self) -> None: ...
|
213
|
+
def Dequeue(self) -> PriorityQueue_1_T: ...
|
214
|
+
def Enqueue(self, x: PriorityQueue_1_T) -> None: ...
|
215
|
+
def Peek(self) -> PriorityQueue_1_T: ...
|
216
|
+
|
@@ -0,0 +1,66 @@
|
|
1
|
+
import typing, abc
|
2
|
+
from System import Attribute, Exception, ValueTuple_2, ValueTuple_3, Array_1
|
3
|
+
from System.Collections import IDictionary
|
4
|
+
from System.Reflection import MethodBase
|
5
|
+
from System.Collections.Generic import IList_1
|
6
|
+
|
7
|
+
class BulkElevationProviderAttribute(Attribute):
|
8
|
+
def __init__(self) -> None: ...
|
9
|
+
@property
|
10
|
+
def TypeId(self) -> typing.Any: ...
|
11
|
+
|
12
|
+
|
13
|
+
class ElevationNotFoundException(Exception):
|
14
|
+
@typing.overload
|
15
|
+
def __init__(self) -> None: ...
|
16
|
+
@typing.overload
|
17
|
+
def __init__(self, message: str) -> None: ...
|
18
|
+
@typing.overload
|
19
|
+
def __init__(self, message: str, inner: Exception) -> None: ...
|
20
|
+
@property
|
21
|
+
def Data(self) -> IDictionary: ...
|
22
|
+
@property
|
23
|
+
def HelpLink(self) -> str: ...
|
24
|
+
@HelpLink.setter
|
25
|
+
def HelpLink(self, value: str) -> str: ...
|
26
|
+
@property
|
27
|
+
def HResult(self) -> int: ...
|
28
|
+
@HResult.setter
|
29
|
+
def HResult(self, value: int) -> int: ...
|
30
|
+
@property
|
31
|
+
def InnerException(self) -> Exception: ...
|
32
|
+
@property
|
33
|
+
def Message(self) -> str: ...
|
34
|
+
@property
|
35
|
+
def Source(self) -> str: ...
|
36
|
+
@Source.setter
|
37
|
+
def Source(self, value: str) -> str: ...
|
38
|
+
@property
|
39
|
+
def StackTrace(self) -> str: ...
|
40
|
+
@property
|
41
|
+
def TargetSite(self) -> MethodBase: ...
|
42
|
+
|
43
|
+
|
44
|
+
class ElevationProviderAttribute(Attribute):
|
45
|
+
def __init__(self) -> None: ...
|
46
|
+
@property
|
47
|
+
def TypeId(self) -> typing.Any: ...
|
48
|
+
|
49
|
+
|
50
|
+
class IBulkElevationProvider(IElevationProvider, typing.Protocol):
|
51
|
+
@abc.abstractmethod
|
52
|
+
def GetElevationAtPoints(self, coordinates: IList_1[ValueTuple_2[float, float]], zoomLevel: int = ...) -> IList_1[float]: ...
|
53
|
+
@abc.abstractmethod
|
54
|
+
def GetTileData(self, pointInTile: ValueTuple_2[float, float], zoomLevel: int = ...) -> ValueTuple_3[Array_1[float], int, int]: ...
|
55
|
+
|
56
|
+
|
57
|
+
class IElevationProvider(typing.Protocol):
|
58
|
+
@property
|
59
|
+
def MaxZoomLevel(self) -> int: ...
|
60
|
+
@abc.abstractmethod
|
61
|
+
def GetDisplayName(self) -> str: ...
|
62
|
+
@abc.abstractmethod
|
63
|
+
def GetElevationAtPoint(self, longitude: float, latitude: float, zoomLevel: int = ...) -> float: ...
|
64
|
+
@abc.abstractmethod
|
65
|
+
def GetZoomLevelForGridCellSize(self, gridCellSize: float) -> int: ...
|
66
|
+
|