NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
BlockStyler_ExpressionBlock.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++ 接口访问 JA API 的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// BlockStyler_ExpressionBlock.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/BlockStyler_UIBlock.hxx>
22#include <NXOpen/libnxopenuicpp_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
30namespace NXOpen
31{
32 namespace BlockStyler
33 {
34 class ExpressionBlock;
35 }
36 namespace BlockStyler
37 {
38 class UIBlock;
39 }
40 class TaggedObject;
41 namespace BlockStyler
42 {
43 class _ExpressionBlockBuilder;
44 class ExpressionBlockImpl;
48 class NXOPENUICPPEXPORT ExpressionBlock : public NXOpen::BlockStyler::UIBlock
49 {
50 private: ExpressionBlockImpl * m_expressionblock_impl;
51 private: friend class _ExpressionBlockBuilder;
52 protected: ExpressionBlock();
53 public: ~ExpressionBlock();
58 (
59 );
64 (
65 const NXString & imageString
66 );
71 (
72 const char * imageString
73 );
78 (
79 );
84 (
85 const NXString & enumString
86 );
91 (
92 const char * enumString
93 );
97 public: std::vector<NXString> GetBalloonTooltipLayoutMembers
98 (
99 );
104 (
105 );
110 (
111 const NXString & balloonTooltipText
112 );
117 (
118 const char * balloonTooltipText
119 );
124 (
125 );
130 (
131 const NXString & enumString
132 );
137 (
138 const char * enumString
139 );
143 public: std::vector<NXString> GetDimensionalityMembers
144 (
145 );
150 (
151 );
156 (
157 NXOpen::TaggedObject * expressionObject
158 );
163 (
164 );
168 public: void SetFormula
169 (
170 const NXString & formulaString
171 );
176 (
177 const char * formulaString
178 );
183 public: bool HasUnitsMenu
184 (
185 );
190 public: void SetHasUnitsMenu
191 (
192 bool hasMenu
193 );
197 public: double MaximumValue
198 (
199 );
203 public: void SetMaximumValue
204 (
205 double maxValue
206 );
210 public: bool MaxInclusive
211 (
212 );
216 public: void SetMaxInclusive
217 (
218 bool maxInclusive
219 );
223 public: double MinimumValue
224 (
225 );
229 public: void SetMinimumValue
230 (
231 double minValue
232 );
236 public: bool MinInclusive
237 (
238 );
242 public: void SetMinInclusive
243 (
244 bool minInclusive
245 );
250 (
251 );
255 public: void SetUnits
256 (
257 NXOpen::TaggedObject * units
258 );
262 public: double Value
263 (
264 );
268 public: void SetValue
269 (
270 double expressionValue
271 );
275 public: bool WithScale
276 (
277 );
281 public: void SetWithScale
282 (
283 bool withScale
284 );
290 (
291 );
297 (
298 bool scaleLimits
299 );
305 public: double PageIncrement
306 (
307 );
313 public: void SetPageIncrement
314 (
315 double pageIncrement
316 );
322 public: double LineIncrement
323 (
324 );
330 public: void SetLineIncrement
331 (
332 double lineIncrement
333 );
337 public: bool RetainValue
338 (
339 );
343 public: void SetRetainValue
344 (
345 bool retain
346 );
350 public: bool RetainUnits
351 (
352 );
356 public: void SetRetainUnits
357 (
358 bool retain
359 );
363 public: void TestValueChanged
364 (
365 double dimensionValue
366 );
367 };
368 }
369}
370#ifdef _MSC_VER
371#pragma warning(pop)
372#endif
373#ifdef __GNUC__
374#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
375#pragma GCC diagnostic warning "-Wdeprecated-declarations"
376#endif
377#endif
378#undef EXPORTLIBRARY