NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
LoadOptions.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// LoadOptions.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/TaggedObject.hxx>
22#include <NXOpen/libnxopencpp_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 class LoadOptions;
33 class PartCollection;
34 class LoadOptionsImpl;
38 class NXOPENCPPEXPORT LoadOptions
39 {
49
55
66
75
89
103
111
130 private: LoadOptionsImpl * m_loadoptions_impl;
131 private: NXOpen::PartCollection* m_owner;
133 public: explicit LoadOptions(NXOpen::PartCollection *owner);
135 public:
137 tag_t Tag() const;
138 public: ~LoadOptions();
143 (
145 );
150 (
151 );
156 (
158 );
163 (
164 );
173 (
175 );
184 (
185 );
192 (
193 bool option
194 );
200 public: bool UsePartialLoading
201 (
202 );
208 (
209 bool option
210 );
216 (
217 );
222 (
223 bool option
224 );
229 (
230 );
235 public: void SetInterpartData
236 (
237 bool interpartOption ,
238 NXOpen::LoadOptions::Parent parentOption
239 );
243 public: void GetInterpartData
244 (
245 bool* interpartOption ,
246 NXOpen::LoadOptions::Parent* parentOption
247 );
252 (
253 bool restoreAnt ,
254 bool restoreFullyLoadedStatus ,
255 NXOpen::LoadOptions::BookmarkComponents componentsLoadOption
256 );
261 (
262 bool* restoreAnt ,
263 NXOpen::LoadOptions::BookmarkComponents* componentsLoadOption
264 );
269 (
271 );
276 (
277 );
281 public: void SetAbortOnFailure
282 (
283 bool option
284 );
288 public: bool AbortOnFailure
289 (
290 );
296 (
297 bool option
298 );
303 public: bool AllowSubstitution
304 (
305 );
309 public: void SetLoadLatest
310 (
311 bool option
312 );
316 public: bool LoadLatest
317 (
318 );
323 (
324 std::vector<NXString> & searchDirectories ,
325 const std::vector<bool> & searchSubDirs
326 );
331 (
332 std::vector<NXString> & searchDirectories ,
333 std::vector<bool> & searchSubDirs
334 );
339 (
340 std::vector<NXString> & referenceSets
341 );
345 public: std::vector<NXString> GetDefaultReferenceSets
346 (
347 );
352 (
353 bool option
354 );
359 (
360 );
364 public: void Save
365 (
366 const NXString & optionsFile
367 );
371 void Save
372 (
373 const char * optionsFile
374 );
378 public: void Restore
379 (
380 const NXString & optionsFile
381 );
386 (
387 const char * optionsFile
388 );
393 (
395 );
400 (
401 );
405 public: void SetPartLoadOption
406 (
408 );
413 (
414 );
416
419 public: void SetReferenceOnlyComponentLoadOption
420 (
421 bool refCompLoadOption
422 );
425
428 public: bool ReferenceOnlyComponentLoadOption
429 (
430 );
433
436 public: void SetSecondaryComponentsLoadOption
437 (
438 bool option
439 );
442
445 public: bool SecondaryComponentsLoadOption
446 (
447 );
449 }; //lint !e1712 default constructor not defined for class
450}
451#ifdef _MSC_VER
452#pragma warning(pop)
453#endif
454#ifdef __GNUC__
455#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
456#pragma GCC diagnostic warning "-Wdeprecated-declarations"
457#endif
458#endif
459#undef EXPORTLIBRARY