NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Validate_ValidatorOptions.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Validate_ValidatorOptions.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/GeometricUtilities_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_validate_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
Validate
34
{
35
class
ValidatorOptions
;
36
}
37
namespace
GeometricUtilities
38
{
39
class
IComponentBuilder
;
40
}
41
namespace
Validate
42
{
43
class
_ValidatorOptionsBuilder;
44
class
ValidatorOptionsImpl;
48
class
NXOPENCPP_VALIDATEEXPORT ValidatorOptions :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
49
{
51
public
:
enum
LogModeTypes
52
{
53
LogModeTypesLogPerSession
,
54
LogModeTypesLogPerPart
55
};
56
57
public
:
enum
SaveModeTypes
58
{
59
SaveModeTypesDoNotSave
,
60
SaveModeTypesSaveIfPassed
,
61
SaveModeTypesAlwaysSave
62
};
63
64
public
:
enum
ResultsDisplayModeTypes
65
{
66
ResultsDisplayModeTypesAlwaysDisplay
,
67
ResultsDisplayModeTypesDisplayIfNotPass
,
68
ResultsDisplayModeTypesDoNotDisplay
69
};
70
private
:
ValidatorOptionsImpl
* m_validatoroptions_impl;
71
private
:
friend
class
_ValidatorOptionsBuilder;
72
protected
:
ValidatorOptions
();
73
public
:
~ValidatorOptions
();
77
public
:
bool
StopOnError
78
(
79
);
83
public
:
void
SetStopOnError
84
(
85
bool
stopOnError
86
);
90
public
:
bool
StopOnWarning
91
(
92
);
96
public
:
void
SetStopOnWarning
97
(
98
bool
stopOnWarning
99
);
103
public
:
bool
GenerateLogFile
104
(
105
);
109
public
:
void
SetGenerateLogFile
110
(
111
bool
generateLogFile
112
);
116
public
:
NXString
LogFileDirectory
117
(
118
);
122
public
:
void
SetLogFileDirectory
123
(
124
const
NXString
& logFileDirectory
125
);
129
void
SetLogFileDirectory
130
(
131
const
char
* logFileDirectory
132
);
136
public
:
bool
SaveResultInPart
137
(
138
);
142
public
:
void
SetSaveResultInPart
143
(
144
bool
saveResultInPart
145
);
150
public
:
NXOpen::Validate::ValidatorOptions::SaveModeTypes
SaveResultInTeamcenter
151
(
152
);
157
public
:
void
SetSaveResultInTeamcenter
158
(
159
NXOpen::Validate::ValidatorOptions::SaveModeTypes
saveResultInTeamcenter
160
);
164
public
:
bool
SkipChecking
165
(
166
);
170
public
:
void
SetSkipChecking
171
(
172
bool
skipChecking
173
);
177
public
:
NXOpen::Validate::ValidatorOptions::SaveModeTypes
SavePartFile
178
(
179
);
183
public
:
void
SetSavePartFile
184
(
185
NXOpen::Validate::ValidatorOptions::SaveModeTypes
savePartFile
186
);
190
public
:
NXOpen::Validate::ValidatorOptions::LogModeTypes
LogFileMode
191
(
192
);
196
public
:
void
SetLogFileMode
197
(
198
NXOpen::Validate::ValidatorOptions::LogModeTypes
logFileMode
199
);
203
public
:
bool
ExcludeReadonlyParts
204
(
205
);
209
public
:
void
SetExcludeReadonlyParts
210
(
211
bool
excludeReadonlyParts
212
);
216
public
:
bool
ExcludeNonOwnerParts
217
(
218
);
222
public
:
void
SetExcludeNonOwnerParts
223
(
224
bool
excludeNonOwnerParts
225
);
229
public
:
bool
GenerateCheckFlag
230
(
231
);
235
public
:
void
SetGenerateCheckFlag
236
(
237
bool
generateCheckFlag
238
);
242
public
:
bool
TreatWarningAsFail
243
(
244
);
248
public
:
void
SetTreatWarningAsFail
249
(
250
bool
treatWarningAsFail
251
);
255
public
:
bool
SkipCheckingDontLoadPart
256
(
257
);
261
public
:
void
SetSkipCheckingDontLoadPart
262
(
263
bool
skipCheckingDontLoadPart
264
);
268
public
:
NXOpen::Validate::ValidatorOptions::ResultsDisplayModeTypes
AutoDisplayResults
269
(
270
);
274
public
:
void
SetAutoDisplayResults
275
(
276
NXOpen::Validate::ValidatorOptions::ResultsDisplayModeTypes
displayResults
277
);
281
public
:
bool
ResultsAutoUpdate
282
(
283
);
287
public
:
void
SetResultsAutoUpdate
288
(
289
bool
autoUpdate
290
);
294
public
:
bool
SkipOverriddenResultOption
295
(
296
);
300
public
:
void
SetSkipOverriddenResultOption
301
(
302
bool
skipOverriddenResult
303
);
308
public
:
virtual
bool
Validate
309
(
310
);
311
};
312
}
313
}
314
#ifdef _MSC_VER
315
#pragma warning(pop)
316
#endif
317
#ifdef __GNUC__
318
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
319
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
320
#endif
321
#endif
322
#undef EXPORTLIBRARY