NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
VisualReporting_Condition.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// VisualReporting_Condition.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/NXObject.hxx>
22
#include <NXOpen/VisualReporting_Property.hxx>
23
#include <NXOpen/libnxopencpp_visualreporting_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
VisualReporting
34
{
35
class
Condition
;
36
}
37
class
NXObject
;
38
namespace
VisualReporting
39
{
40
class
Property
;
41
}
42
namespace
VisualReporting
43
{
44
class
_ConditionBuilder;
45
class
ConditionImpl;
49
class
NXOPENCPP_VISUALREPORTINGEXPORT Condition :
public
NXOpen::NXObject
50
{
54
public
:
enum
TypeOption
55
{
56
TypeOptionAndCondition
,
57
TypeOptionOrCondition
,
58
TypeOptionNotCondition
,
59
TypeOptionValueCondition
60
};
61
63
public
:
enum
OperatorOption
64
{
65
OperatorOptionEqualOperator
,
66
OperatorOptionLessThanOperator
,
67
OperatorOptionNotLessThanOperator
,
68
OperatorOptionGreaterThanOperator
,
69
OperatorOptionNotGreaterThanOperator
,
70
OperatorOptionNotEqualOperator
,
71
OperatorOptionRegularExpressionOperator
,
72
OperatorOptionContainsOperator
,
73
OperatorOptionDoesNotContainOperator
,
74
OperatorOptionOnOrBeforeOperator
,
75
OperatorOptionOnOrAfterOperator
76
};
77
private
:
ConditionImpl
* m_condition_impl;
78
private
:
friend
class
_ConditionBuilder;
79
protected
:
Condition
();
80
public
:
~Condition
();
93
public
:
NXOpen::VisualReporting::Condition::TypeOption
Type
94
(
95
);
99
public
:
NXOpen::VisualReporting::Property
*
Property
100
(
101
);
105
public
:
void
SetProperty
106
(
107
NXOpen::VisualReporting::Property
* property
108
);
121
public
:
NXOpen::VisualReporting::Property::DatatypeOption
Datatype
122
(
123
);
127
public
:
bool
HasUserSpecifiedValue
128
(
129
);
133
public
:
void
SetHasUserSpecifiedValue
134
(
135
bool
isUserSpecified
136
);
140
public
:
NXString
UserPrompt
141
(
142
);
146
public
:
void
SetUserPrompt
147
(
148
const
NXString
& userPrompt
149
);
153
void
SetUserPrompt
154
(
155
const
char
* userPrompt
156
);
160
public
:
NXString
Description
161
(
162
);
167
public
:
void
SetDescription
168
(
169
const
NXString
& description
170
);
175
void
SetDescription
176
(
177
const
char
* description
178
);
183
public
:
NXString
Value
184
(
185
);
190
public
:
void
SetValue
191
(
192
const
NXString
& conditionValue
193
);
198
void
SetValue
199
(
200
const
char
* conditionValue
201
);
206
public
:
NXOpen::VisualReporting::Condition::OperatorOption
OperatorType
207
(
208
);
213
public
:
void
SetOperatorType
214
(
215
NXOpen::VisualReporting::Condition::OperatorOption
operatorType
216
);
224
public
:
NXOpen::VisualReporting::Condition
*
ParentCondition
225
(
226
);
230
public
:
bool
IsChildCondition
231
(
232
NXOpen::VisualReporting::Condition
* childCondition
233
);
237
public
:
NXOpen::VisualReporting::Condition
*
GetChildCondition
238
(
239
int
index
240
);
244
public
: std::vector<NXOpen::VisualReporting::Condition *>
GetChildConditions
245
(
246
);
247
};
248
}
249
}
250
#ifdef _MSC_VER
251
#pragma warning(pop)
252
#endif
253
#ifdef __GNUC__
254
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
255
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
256
#endif
257
#endif
258
#undef EXPORTLIBRARY