NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_StructureDesignCollection.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_StructureDesignCollection.ja
9//
10// 生成方式:
11// apiwrap
12//
13// 警告:
14// 此文件是自动生成的 - 请勿手动编辑
15//
16#pragma once
17#include <NXOpen/NXDeprecation.hxx>
18#include <iterator>
19#include <vector>
20#include <NXOpen/NXString.hxx>
21#include <NXOpen/Callback.hxx>
22#include <NXOpen/BasePart.hxx>
23#include <NXOpen/TaggedObjectCollection.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/libnxopencpp_features_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
35 namespace Features
36 {
38 }
39 namespace Features
40 {
42 }
43 namespace Features
44 {
45 class Feature;
46 }
47 namespace Features
48 {
49 namespace StructureDesign
50 {
52 }
53 }
54 namespace Features
55 {
56 namespace StructureDesign
57 {
59 }
60 }
61 namespace Features
62 {
63 namespace StructureDesign
64 {
65 class BeamCurve;
66 }
67 }
68 namespace Features
69 {
70 namespace StructureDesign
71 {
72 class BeamCurveBuilder;
73 }
74 }
75 namespace Features
76 {
77 namespace StructureDesign
78 {
79 class BeamPreparation;
80 }
81 }
82 namespace Features
83 {
84 namespace StructureDesign
85 {
87 }
88 }
89 namespace Features
90 {
91 namespace StructureDesign
92 {
93 class BoltedConnection;
94 }
95 }
96 namespace Features
97 {
98 namespace StructureDesign
99 {
101 }
102}
103 namespace Features
104 {
105 namespace StructureDesign
106 {
108 }
109 }
110 namespace Features
111 {
112 namespace StructureDesign
113 {
114 class ConsolidateBuilder;
115 }
116 }
117 namespace Features
118 {
119 namespace StructureDesign
120 {
121 class ContainerBuilder;
122 }
123 }
124 namespace Features
125 {
126 namespace StructureDesign
127 {
128 class Corner;
129 }
130 }
131 namespace Features
132 {
133 namespace StructureDesign
134 {
136 }
137 }
138 namespace Features
139 {
140 namespace StructureDesign
141 {
142 class DrawingsBuilder;
143 }
144 }
145 namespace Features
146 {
147 namespace StructureDesign
148 {
149 class EditCornerBuilder;
150 }
151 }
152 namespace Features
153 {
154 namespace StructureDesign
155 {
156 class EditStockBuilder;
157 }
158 }
159 namespace Features
160 {
161 namespace StructureDesign
162 {
164 }
165 }
166 namespace Features
167 {
168 namespace StructureDesign
169 {
170 class Endcap;
171 }
172 }
173 namespace Features
174 {
175 namespace StructureDesign
176 {
177 class EndcapBuilder;
178 }
179 }
180 namespace Features
181 {
182 namespace StructureDesign
183 {
184 class ExportDSTVBuilder;
185 }
186 }
187 namespace Features
188 {
189 namespace StructureDesign
190 {
191 class ExtendMember;
192 }
193 }
194 namespace Features
195 {
196 namespace StructureDesign
197 {
199 }
200 }
201 namespace Features
202 {
203 namespace StructureDesign
204 {
205 class GrabTab;
206 }
207}
208 namespace Features
209 {
210 namespace StructureDesign
211 {
212 class GrabTabBuilder;
213 }
214 }
215 namespace Features
216 {
217 namespace StructureDesign
218 {
219 class Gusset;
220 }
221 }
222 namespace Features
223 {
224 namespace StructureDesign
225 {
226 class GussetBuilder;
227 }
228 }
229 namespace Features
230 {
231 namespace StructureDesign
232 {
234 }
235 }
236 namespace Features
237 {
238 namespace StructureDesign
239 {
240 class Handrail;
241 }
242 }
243 namespace Features
244 {
245 namespace StructureDesign
246 {
247 class HandrailBuilder;
248 }
249 }
250 namespace Features
251 {
252 namespace StructureDesign
253 {
254 class Haunch;
255 }
256 }
257 namespace Features
258 {
259 namespace StructureDesign
260 {
261 class HaunchBuilder;
262 }
263 }
264 namespace Features
265 {
266 namespace StructureDesign
267 {
268 class LibraryBuilder;
269 }
270 }
271 namespace Features
272 {
273 namespace StructureDesign
274 {
275 class Member;
276 }
277 }
278 namespace Features
279 {
280 namespace StructureDesign
281 {
282 class MemberBuilder;
283 }
284 }
285 namespace Features
286 {
287 namespace StructureDesign
288 {
290 }
291 }
292 namespace Features
293 {
294 namespace StructureDesign
295 {
296 class Pad;
297 }
298 }
299 namespace Features
300 {
301 namespace StructureDesign
302 {
303 class PadBuilder;
304 }
305 }
306 namespace Features
307 {
308 namespace StructureDesign
309 {
311 }
312}
313 namespace Features
314 {
315 namespace StructureDesign
316 {
317 class Plate;
318 }
319 }
320 namespace Features
321 {
322 namespace StructureDesign
323 {
324 class PlateBuilder;
325 }
326 }
327 namespace Features
328 {
329 namespace StructureDesign
330 {
331 class Platform;
332 }
333 }
334 namespace Features
335 {
336 namespace StructureDesign
337 {
338 class PlatformBuilder;
339 }
340 }
341 namespace Features
342 {
343 namespace StructureDesign
344 {
346 }
347 }
348 namespace Features
349 {
350 namespace StructureDesign
351 {
352 class Rail;
353 }
354 }
355 namespace Features
356 {
357 namespace StructureDesign
358 {
359 class RailBuilder;
360 }
361 }
362 namespace Features
363 {
364 namespace StructureDesign
365 {
366 class RuleBuilder;
367 }
368 }
369 namespace Features
370 {
371 namespace StructureDesign
372 {
373 class SplitRailBuilder;
374 }
375 }
376 namespace Features
377 {
378 namespace StructureDesign
379 {
380 class Stiffener;
381 }
382 }
383 namespace Features
384 {
385 namespace StructureDesign
386 {
387 class StiffenerBuilder;
388 }
389 }
390 namespace Features
391 {
392 namespace StructureDesign
393 {
394 class SuperFrame;
395 }
396 }
397 namespace Features
398 {
399 namespace StructureDesign
400 {
401 class SuperFrameBuilder;
402 }
403 }
404 class NXObject;
405 namespace ShipDesign
406 {
407 class NavigatorNode;
408 }
409 namespace Features
410 {
411 class StructureDesignCollectionImpl;
415 class NXOPENCPP_FEATURESEXPORT StructureDesignCollection : public NXOpen::TaggedObjectCollection
416 {
417 private: StructureDesignCollectionImpl * m_structuredesigncollection_impl;
418 private: NXOpen::Features::FeatureCollection* m_owner;
422 public:
424 tag_t Tag() const;
427 //lint -sem(NXOpen::Features::StructureDesignCollection::iterator::copy,initializer)
428 class iterator : public std::iterator<std::forward_iterator_tag, NXOpen::Features::Feature *>
429 {
430 public:
432 iterator() : m_context(nullptr), m_current(NULL_TAG)
433 {
434 // coverity[uninit_member]
435 } //lint !e1401 m_state is not initialized
436
437 explicit iterator(NXOpen::Features::StructureDesignCollection *context) : m_context(context), m_current(NULL_TAG)
438 {
439 // coverity[uninit_member]
440 }//lint !e1401 m_state is not initialized
442
443 iterator(const iterator &other): m_context(nullptr), m_current(NULL_TAG)
444 {
445 copy(other);
446 }
447
448 iterator &operator =(const iterator &other)
449 {
450 if (&other != this)
451 copy(other);
452 return *this;
453 }
454
455 bool operator ==(const iterator &other) const
456 {
457 return m_current == other.m_current && m_context == other.m_context;
458 }
459
460 bool operator !=(const iterator &other) const
461 {
462 return !operator == (other);
463 }
464
465 NXOPENCPP_FEATURESEXPORT value_type operator * () const;
467 iterator & operator ++()
468 {
469 next();
470 return *this;
471 }
472
473 iterator operator ++(int)
474 {
475 iterator tmp(*this);
476 ++*this;
477 return tmp;
478 }
479 private:
480 void copy(const iterator &other)
481 {
482 m_context = other.m_context;
483 m_current = other.m_current;
484 for (int i = 0; i < sizeof(m_state)/sizeof(m_state[0]); i++)
485 m_state[i] = other.m_state[i];
486 }
487 NXOPENCPP_FEATURESEXPORT void next();
489 tag_t m_current;
490 unsigned int m_state[8];
491 };
492
496 {
497 return iterator(this);
498 }
499
503 (
505 );
510 (
512 );
517 (
519 );
524 (
525 );
530 (
531 );
536 (
538 );
543 (
545 bool bOnlyUpdateSize ,
547 );
552 (
553 );
558 (
559 );
564 (
566 );
571 (
572 );
577 (
578 );
583 (
585 );
590 (
591 );
596 (
598 );
603 (
605 );
610 (
612 );
617 (
619 );
624 (
625 );
629 public: void CleanCorners
630 (
631 );
636 (
638 );
643 (
644 );
649 (
650 bool bEnable
651 );
656 (
658 );
663 (
664 );
669 (
670 bool isEdit ,
671 NXOpen::ShipDesign::NavigatorNode * parentNodeTag
672 );
677 (
678 );
683 (
684 NXOpen::NXObject * containerPartOrOcc ,
685 NXOpen::NXObject * partOrOcc
686 );
691 (
692 NXOpen::NXObject * naviNode ,
693 const NXString & name
694 );
699 (
700 NXOpen::NXObject * naviNode ,
701 const char * name
702 );
707 (
708 NXOpen::NXObject * parentNode ,
709 const NXString & nodeName
710 );
715 (
716 NXOpen::NXObject * parentNode ,
717 const char * nodeName
718 );
723 (
725 int whichOne
726 );
731 (
733 );
738 (
739 );
744 (
745 );
750 (
752 );
757 (
758 );
763 (
765 );
770 (
772 );
777 (
779 );
784 (
785 );
786 }; //lint !e1712 default constructor not defined for class
787 }
788}
789#ifdef _MSC_VER
790#pragma warning(pop)
791#endif
792#ifdef __GNUC__
793#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
794#pragma GCC diagnostic warning "-Wdeprecated-declarations"
795#endif
796#endif
797#undef EXPORTLIBRARY