NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_ComparisonResult.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_ComparisonResult.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/Mechatronics_ComparisonResultAttribute.hxx>
22
#include <NXOpen/Mechatronics_ComparisonResultElectricalPart.hxx>
23
#include <NXOpen/Mechatronics_ComparisonResultBase.hxx>
24
#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Mechatronics
35
{
36
class
ComparisonResult
;
37
}
38
namespace
Mechatronics
39
{
40
class
ComparisonResultAttribute
;
41
}
42
namespace
Mechatronics
43
{
44
class
ComparisonResultBase
;
45
}
46
namespace
Mechatronics
47
{
48
class
ComparisonResultElectricalPart
;
49
}
50
namespace
Mechatronics
51
{
52
class
LogicObject
;
53
}
54
namespace
Mechatronics
55
{
56
}
57
namespace
Mechatronics
58
{
59
class
ComparisonResultImpl;
63
class
NXOPENCPP_MECHATRONICSEXPORT
ComparisonResult
:
public
NXOpen::Mechatronics::ComparisonResultBase
64
{
66
public
:
enum
Category
67
{
68
CategoryCreate
,
69
CategoryUpdateAttributes
,
70
CategoryUpdateParts
,
71
CategoryMove
,
72
CategoryDelete
,
73
CategoryCreateConflict
,
74
CategoryMoveConflict
,
75
CategoryNotFoundConflict
,
76
CategoryNoAction
77
};
78
private
:
ComparisonResultImpl
* m_comparisonresult_impl;
80
public
:
explicit
ComparisonResult
(
void
*ptr);
82
85
public
:
virtual
~ComparisonResult
();
89
public
:
NXOpen::Mechatronics::ComparisonResult::Category
ResultCategory
90
(
91
);
95
public
:
void
SetResultCategory
96
(
97
NXOpen::Mechatronics::ComparisonResult::Category
category
98
);
102
public
:
NXString
ResultName
103
(
104
);
108
public
:
NXString
ResultType
109
(
110
);
114
public
:
NXOpen::Mechatronics::LogicObject
*
LogicalObject
115
(
116
);
120
public
:
void
SetLogicalObject
121
(
122
NXOpen::Mechatronics::LogicObject
* logicalObject
123
);
127
public
:
NXOpen::Mechatronics::LogicObject
*
ConflictLogicalObject
128
(
129
);
133
public
:
void
SetConflictLogicalObject
134
(
135
NXOpen::Mechatronics::LogicObject
* conflictLogicalObject
136
);
140
public
:
void
GetAttributes
141
(
142
std::vector<NXOpen::Mechatronics::ComparisonResultAttribute *> & attributes
143
);
147
public
:
void
GetElectricalParts
148
(
149
std::vector<NXOpen::Mechatronics::ComparisonResultElectricalPart *> & electricalParts
150
);
151
};
//lint !e1712 class未定义默认构造函数
152
}
153
}
154
#ifdef _MSC_VER
155
#pragma warning(pop)
156
#endif
157
#ifdef __GNUC__
158
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
159
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
160
#endif
161
#endif
162
#undef EXPORTLIBRARY