NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_OverstockApplicationCollection.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 布线过盈件应用集合JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_OverstockApplicationCollection.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/TaggedObjectCollection.hxx>
23#include <NXOpen/Routing_CharacteristicList.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/libnxopencpp_routing_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 Routing
36 {
38 }
39 namespace Routing
40 {
41 class RouteManager;
42 }
43 namespace Routing
44 {
46 }
47 class Expression;
48 class Point;
49 namespace Routing
50 {
52 }
53 namespace Routing
54 {
55 class ControlPoint;
56 }
57 namespace Routing
58 {
59 class ISegment;
60 }
61 namespace Routing
62 {
63 class Overstock;
64 }
65 namespace Routing
66 {
67 class Stock;
68 }
69 namespace Routing
70 {
77
85
94
102
109 }
110namespace Routing
111 {
112 class OverstockApplicationCollectionImpl;
118 {
119 private: OverstockApplicationCollectionImpl * m_overstockapplicationcollection_impl;
120 private: NXOpen::Routing::RouteManager* m_owner;
124 public:
126 tag_t Tag() const;
129 //lint -sem(NXOpen::Routing::OverstockApplicationCollection::iterator::copy,initializer)
130 class iterator : public std::iterator<std::forward_iterator_tag, NXOpen::Routing::OverstockApplication *>
131 {
132 public:
134 iterator() : m_context(nullptr), m_current(NULL_TAG)
135 {
136 // coverity[uninit_member]
137 } //lint !e1401 m_state 未初始化
138
139 explicit iterator(NXOpen::Routing::OverstockApplicationCollection *context) : m_context(context), m_current(NULL_TAG)
140 {
141 // coverity[uninit_member]
142 }//lint !e1401 m_state 未初始化
144
145 iterator(const iterator &other): m_context(nullptr), m_current(NULL_TAG)
146 {
147 copy(other);
148 }
149
150 iterator &operator =(const iterator &other)
151 {
152 if (&other != this)
153 copy(other);
154 return *this;
155 }
156
157 bool operator ==(const iterator &other) const
158 {
159 return m_current == other.m_current && m_context == other.m_context;
160 }
161
162 bool operator !=(const iterator &other) const
163 {
164 return !operator == (other);
165 }
166
167 NXOPENCPP_ROUTINGEXPORT value_type operator * () const;
169 iterator & operator ++()
170 {
171 next();
172 return *this;
173 }
174
175 iterator operator ++(int)
176 {
177 iterator tmp(*this);
178 ++*this;
179 return tmp;
180 }
181 private:
182 void copy(const iterator &other)
183 {
184 m_context = other.m_context;
185 m_current = other.m_current;
186 for (int i = 0; i < sizeof(m_state)/sizeof(m_state[0]); i++)
187 m_state[i] = other.m_state[i];
188 }
189 NXOPENCPP_ROUTINGEXPORT void next();
191 tag_t m_current;
192 unsigned int m_state[8];
193 };
194
198 {
199 return iterator(this);
200 }
201
207 (
208 NXOpen::Routing::ControlPoint * startControlPoint ,
209 const std::vector<NXOpen::Routing::ISegment *> & segments ,
210 const std::vector<NXOpen::Routing::Stock *> & stocks ,
213 NXOpen::Expression * wrapValue
214 );
220 (
221 NXOpen::Routing::ControlPoint * startControlPoint ,
222 const std::vector<NXOpen::Routing::ISegment *> & segments ,
223 const std::vector<NXOpen::Routing::Stock *> & stocks ,
224 NXOpen::Expression * startOffset ,
225 NXOpen::Expression * endOffset ,
226 NXOpen::Expression * pieceLength ,
227 NXOpen::Expression * gap ,
228 NXOpen::Expression * numberOfPieces ,
229 NXOpen::Point * startPoint ,
232 NXOpen::Expression * wrapValue
233 );
239 (
240 NXOpen::Routing::ControlPoint * startControlPoint ,
241 const std::vector<NXOpen::Routing::ISegment *> & segments ,
242 const std::vector<NXOpen::Routing::Stock *> & stocks ,
243 NXOpen::Point * startPoint ,
244 NXOpen::Point * endPoint ,
247 NXOpen::Expression * wrapValue
248 );
254 (
255 NXOpen::Routing::ControlPoint * startControlPoint ,
256 const std::vector<NXOpen::Routing::ISegment *> & segments ,
257 const std::vector<NXOpen::Routing::Stock *> & stocks ,
258 NXOpen::Point * definingPoint ,
259 NXOpen::Routing::PointDefinition definingDirection ,
260 NXOpen::Expression * pieceLength ,
263 NXOpen::Expression * wrapValue
264 );
271 (
272 NXOpen::Routing::ControlPoint * startControlPoint ,
273 const std::vector<NXOpen::Routing::ISegment *> & segments ,
274 const std::vector<NXOpen::Routing::Stock *> & stocks ,
276 NXOpen::Routing::CharacteristicList * reqOptCharxList ,
277 NXOpen::Expression * wrapValue ,
278 const std::vector<NXOpen::Routing::Overstock *> & overstocks
279 );
286 (
287 NXOpen::Routing::ControlPoint * startControlPoint ,
288 const std::vector<NXOpen::Routing::ISegment *> & segments ,
289 const std::vector<NXOpen::Routing::Stock *> & stocks ,
290 NXOpen::Expression * startOffset ,
291 NXOpen::Expression * endOffset ,
292 NXOpen::Expression * pieceLength ,
293 NXOpen::Expression * gap ,
294 NXOpen::Expression * numberOfPieces ,
295 NXOpen::Point * startPoint ,
297 NXOpen::Routing::CharacteristicList * reqOptCharxList ,
298 NXOpen::Expression * wrapValue ,
299 const std::vector<NXOpen::Routing::Overstock *> & overstocks
300 );
307 (
308 NXOpen::Routing::ControlPoint * startControlPoint ,
309 const std::vector<NXOpen::Routing::ISegment *> & segments ,
310 const std::vector<NXOpen::Routing::Stock *> & stocks ,
311 NXOpen::Point * startPoint ,
312 NXOpen::Point * endPoint ,
314 NXOpen::Routing::CharacteristicList * reqOptCharxList ,
315 NXOpen::Expression * wrapValue ,
316 const std::vector<NXOpen::Routing::Overstock *> & overstocks
317 );
324 (
325 NXOpen::Routing::ControlPoint * startControlPoint ,
326 const std::vector<NXOpen::Routing::ISegment *> & segments ,
327 const std::vector<NXOpen::Routing::Stock *> & stocks ,
328 NXOpen::Point * definingPoint ,
329 NXOpen::Routing::PointDefinition definingDirection ,
330 NXOpen::Expression * pieceLength ,
332 NXOpen::Routing::CharacteristicList * reqOptCharxList ,
333 NXOpen::Expression * wrapValue ,
334 const std::vector<NXOpen::Routing::Overstock *> & overstocks
335 );
340 (
342 NXOpen::Routing::Overstock * overstock
343 );
344 }; //lint !e1712 default constructor not defined for class
345 }
346}
347#ifdef _MSC_VER
348#pragma warning(pop)
349#endif
350#ifdef __GNUC__
351#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
352#pragma GCC diagnostic warning "-Wdeprecated-declarations"
353#endif
354#endif
355#undef EXPORTLIBRARY