NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_DeviceRelationship.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件 - JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_DeviceRelationship.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_ObjectRelationship.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
DeviceRelationship
;
35
}
36
namespace
Routing
37
{
38
class
ObjectRelationship
;
39
}
40
namespace
Routing
41
{
42
class
SingleDevice
;
43
}
44
namespace
Routing
45
{
46
class
_DeviceRelationshipBuilder;
47
class
DeviceRelationshipImpl;
57
class
NXOPENCPP_ROUTINGEXPORT DeviceRelationship :
public
NXOpen::Routing::ObjectRelationship
58
{
63
public
:
enum
RelationType
64
{
65
RelationTypeAssociatedEquipment
66
};
67
private
:
DeviceRelationshipImpl
* m_devicerelationship_impl;
68
private
:
friend
class
_DeviceRelationshipBuilder;
69
protected
:
DeviceRelationship
();
70
public
:
~DeviceRelationship
();
74
public
:
NXOpen::Routing::DeviceRelationship::RelationType
RelationshipType
75
(
76
);
80
public
:
void
SetRelationshipType
81
(
82
NXOpen::Routing::DeviceRelationship::RelationType
relationshipType
83
);
87
public
:
NXOpen::Routing::SingleDevice
*
GetRelatingSingleDevice
88
(
89
);
93
public
:
void
SetRelatingSingleDevice
94
(
95
NXOpen::Routing::SingleDevice
* relatingDevice
96
);
100
public
: std::vector<NXOpen::Routing::SingleDevice *>
GetRelatedSingleDevices
101
(
102
);
106
public
:
void
AddRelatedSingleDevice
107
(
108
NXOpen::Routing::SingleDevice
* relatedDevice
109
);
113
public
:
void
RemoveRelatedSingleDevice
114
(
115
NXOpen::Routing::SingleDevice
* relatedDevice
116
);
120
public
:
void
ReplaceRelatedSingleDevices
121
(
122
const
std::vector<NXOpen::Routing::SingleDevice *> & relatedDevices
123
);
124
};
125
}
126
}
127
#ifdef _MSC_VER
128
#pragma warning(pop)
129
#endif
130
#ifdef __GNUC__
131
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
132
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
133
#endif
134
#endif
135
#undef EXPORTLIBRARY