NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_CustomFeatureData.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_CustomFeatureData.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/Features_CustomAttribute.hxx>
22
#include <NXOpen/TransientObject.hxx>
23
#include <NXOpen/libnxopencpp_features_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
Features
34
{
35
class
CustomFeatureData
;
36
}
37
namespace
Features
38
{
39
class
CustomAttribute
;
40
}
41
namespace
Features
42
{
43
class
CustomDoubleArrayAttribute
;
44
}
45
namespace
Features
46
{
47
class
CustomDoubleAttribute
;
48
}
49
namespace
Features
50
{
51
class
CustomExpressionArrayAttribute
;
52
}
53
namespace
Features
54
{
55
class
CustomExpressionAttribute
;
56
}
57
namespace
Features
58
{
59
class
CustomIntegerArrayAttribute
;
60
}
61
namespace
Features
62
{
63
class
CustomIntegerAttribute
;
64
}
65
namespace
Features
66
{
67
class
CustomLogicalArrayAttribute
;
68
}
69
namespace
Features
70
{
71
class
CustomLogicalAttribute
;
72
}
73
namespace
Features
74
{
75
class
CustomStringArrayAttribute
;
76
}
77
namespace
Features
78
{
79
class
CustomStringAttribute
;
80
}
81
namespace
Features
82
{
83
class
CustomTagArrayAttribute
;
84
}
85
namespace
Features
86
{
87
class
CustomTagAttribute
;
88
}
89
namespace
Features
90
{
91
}
92
namespace
Features
93
{
94
class
CustomFeatureDataImpl;
98
class
NXOPENCPP_FEATURESEXPORT
CustomFeatureData
:
public
NXOpen::TransientObject
99
{
100
private
:
CustomFeatureDataImpl
* m_customfeaturedata_impl;
102
public
:
explicit
CustomFeatureData
(
void
*ptr);
104
107
public
:
virtual
~CustomFeatureData
();
111
public
:
NXString
ClassName
112
(
113
);
117
public
:
void
GetAllCustomAttributeNameAndTypes
118
(
119
std::vector<NXString> & attributeNames ,
120
std::vector<NXOpen::Features::CustomAttribute::Type> & attributeType
121
);
125
public
:
void
AddCustomAttributes
126
(
127
const
std::vector<NXOpen::Features::CustomAttribute *> & attributes
128
);
132
public
:
NXOpen::Features::CustomTagAttribute
*
CustomTagAttributeByName
133
(
134
const
NXString
& attributeName
135
);
139
NXOpen::Features::CustomTagAttribute
*
CustomTagAttributeByName
140
(
141
const
char
* attributeName
142
);
146
public
:
NXOpen::Features::CustomTagArrayAttribute
*
CustomTagArrayAttributeByName
147
(
148
const
NXString
& attributeName
149
);
153
NXOpen::Features::CustomTagArrayAttribute
*
CustomTagArrayAttributeByName
154
(
155
const
char
* attributeName
156
);
160
public
:
NXOpen::Features::CustomStringAttribute
*
CustomStringAttributeByName
161
(
162
const
NXString
& attributeName
163
);
167
NXOpen::Features::CustomStringAttribute
*
CustomStringAttributeByName
168
(
169
const
char
* attributeName
170
);
174
public
:
NXOpen::Features::CustomStringArrayAttribute
*
CustomStringArrayAttributeByName
175
(
176
const
NXString
& attributeName
177
);
181
NXOpen::Features::CustomStringArrayAttribute
*
CustomStringArrayAttributeByName
182
(
183
const
char
* attributeName
184
);
188
public
:
NXOpen::Features::CustomLogicalAttribute
*
CustomLogicalAttributeByName
189
(
190
const
NXString
& attributeName
191
);
195
NXOpen::Features::CustomLogicalAttribute
*
CustomLogicalAttributeByName
196
(
197
const
char
* attributeName
198
);
202
public
:
NXOpen::Features::CustomLogicalArrayAttribute
*
CustomLogicalArrayAttributeByName
203
(
204
const
NXString
& attributeName
205
);
209
NXOpen::Features::CustomLogicalArrayAttribute
*
CustomLogicalArrayAttributeByName
210
(
211
const
char
* attributeName
212
);
216
public
:
NXOpen::Features::CustomIntegerAttribute
*
CustomIntegerAttributeByName
217
(
218
const
NXString
& attributeName
219
);
223
NXOpen::Features::CustomIntegerAttribute
*
CustomIntegerAttributeByName
224
(
225
const
char
* attributeName
226
);
230
public
:
NXOpen::Features::CustomIntegerArrayAttribute
*
CustomIntegerArrayAttributeByName
231
(
232
const
NXString
& attributeName
233
);
237
NXOpen::Features::CustomIntegerArrayAttribute
*
CustomIntegerArrayAttributeByName
238
(
239
const
char
* attributeName
240
);
244
public
:
NXOpen::Features::CustomExpressionAttribute
*
CustomExpressionAttributeByName
245
(
246
const
NXString
& attributeName
247
);
251
NXOpen::Features::CustomExpressionAttribute
*
CustomExpressionAttributeByName
252
(
253
const
char
* attributeName
254
);
258
public
:
NXOpen::Features::CustomExpressionArrayAttribute
*
CustomExpressionArrayAttributeByName
259
(
260
const
NXString
& attributeName
261
);
265
NXOpen::Features::CustomExpressionArrayAttribute
*
CustomExpressionArrayAttributeByName
266
(
267
const
char
* attributeName
268
);
272
public
:
NXOpen::Features::CustomDoubleAttribute
*
CustomDoubleAttributeByName
273
(
274
const
NXString
& attributeName
275
);
279
NXOpen::Features::CustomDoubleAttribute
*
CustomDoubleAttributeByName
280
(
281
const
char
* attributeName
282
);
286
public
:
NXOpen::Features::CustomDoubleArrayAttribute
*
CustomDoubleArrayAttributeByName
287
(
288
const
NXString
& attributeName
289
);
293
NXOpen::Features::CustomDoubleArrayAttribute
*
CustomDoubleArrayAttributeByName
294
(
295
const
char
* attributeName
296
);
300
public
:
bool
HasCustomAttribute
301
(
302
const
NXString
& attributeName ,
303
NXOpen::Features::CustomAttribute::Type
type
304
);
308
bool
HasCustomAttribute
309
(
310
const
char
* attributeName ,
311
NXOpen::Features::CustomAttribute::Type
type
312
);
316
public
:
void
RemoveCustomAttribute
317
(
318
NXOpen::Features::CustomAttribute
* attribute
319
);
320
};
//lint !e1712 类未定义默认构造函数
321
}
322
}
323
#ifdef _MSC_VER
324
#pragma warning(pop)
325
#endif
326
#ifdef __GNUC__
327
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
328
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
329
#endif
330
#endif
331
#undef EXPORTLIBRARY