NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_SingleDevice.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件(JA API)
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_SingleDevice.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/Routing_RouteObject.hxx>
22
#include <NXOpen/libnxopencpp_routing_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
Routing
33
{
34
class
SingleDevice
;
35
}
36
class
NXObject
;
37
namespace
Routing
38
{
39
class
DeviceRelationship
;
40
}
41
namespace
Routing
42
{
43
class
ItemDefinition
;
44
}
45
namespace
Routing
46
{
47
class
LogicalConnection
;
48
}
49
namespace
Routing
50
{
51
class
RouteObject
;
52
}
53
namespace
Routing
54
{
55
class
_SingleDeviceBuilder;
56
class
SingleDeviceImpl;
62
class
NXOPENCPP_ROUTINGEXPORT SingleDevice :
public
NXOpen::Routing::RouteObject
63
{
65
public
:
enum
DeleteObjectResult
66
{
67
DeleteObjectResultOk
,
68
DeleteObjectResultStillRouted
,
70
DeleteObjectResultStillAssigned
,
72
DeleteObjectResultCantDeleteUnknown
74
};
75
private
:
SingleDeviceImpl
* m_singledevice_impl;
76
private
:
friend
class
_SingleDeviceBuilder;
77
protected
:
SingleDevice
();
78
public
:
~SingleDevice
();
86
public
:
NXOpen::NXObject
*
NxEquivalent
87
(
88
);
96
public
:
void
SetNxEquivalent
97
(
98
NXOpen::NXObject
* routeNxEquivalent
99
);
103
public
: std::vector<NXOpen::Routing::DeviceRelationship *>
GetReferencingDeviceRelshps
104
(
105
);
109
public
: std::vector<NXOpen::Routing::SingleDevice *>
GetRelatedSingleDevices
110
(
111
);
115
public
:
NXOpen::Routing::SingleDevice
*
GetRelatingSingleDevice
116
(
117
);
121
public
: std::vector<NXOpen::Routing::LogicalConnection *>
GetImplementedConnections
122
(
123
);
127
public
:
NXString
PartName
128
(
129
);
133
public
:
void
SetPartName
134
(
135
const
NXString
& routePartName
136
);
140
void
SetPartName
141
(
142
const
char
* routePartName
143
);
147
public
:
NXString
PartNumber
148
(
149
);
153
public
:
void
SetPartNumber
154
(
155
const
NXString
& routePartNumber
156
);
160
void
SetPartNumber
161
(
162
const
char
* routePartNumber
163
);
167
public
:
NXOpen::Routing::SingleDevice::DeleteObjectResult
ManuallyDelete
168
(
169
);
173
public
:
NXOpen::Routing::ItemDefinition
*
GetItemDefinition
174
(
175
);
176
};
177
}
178
}
179
#ifdef _MSC_VER
180
#pragma warning(pop)
181
#endif
182
#ifdef __GNUC__
183
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
184
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
185
#endif
186
#endif
187
#undef EXPORTLIBRARY