NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
ReferenceSet.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// ReferenceSet.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/DisplayableObject.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
30
namespace
NXOpen
31
{
32
class
ReferenceSet
;
33
class
DisplayableObject
;
34
class
NXObject
;
35
class
_ReferenceSetBuilder;
36
class
ReferenceSetImpl;
40
class
NXOPENCPPEXPORT ReferenceSet :
public
NXOpen::DisplayableObject
41
{
42
private
:
ReferenceSetImpl
* m_referenceset_impl;
43
private
:
friend
class
_ReferenceSetBuilder;
44
protected
: ReferenceSet();
45
public
: ~ReferenceSet();
49
public
:
void
AddObjectsToReferenceSet
50
(
51
const
std::vector<NXOpen::NXObject *> & components
52
);
56
public
:
void
RemoveObjectsFromReferenceSet
57
(
58
const
std::vector<NXOpen::NXObject *> & components
59
);
65
public
: std::vector<NXOpen::NXObject *>
AskMembersInReferenceSet
66
(
67
);
71
public
: std::vector<NXOpen::NXObject *>
AskAllDirectMembers
72
(
73
);
77
public
:
void
SetAddComponentsAutomatically
78
(
79
bool
newValue ,
80
bool
addExistingComponents
81
);
85
public
:
bool
GetAddComponentsAutomatically
86
(
87
);
88
};
89
}
90
#ifdef _MSC_VER
91
#pragma warning(pop)
92
#endif
93
#ifdef __GNUC__
94
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
95
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
96
#endif
97
#endif
98
#undef EXPORTLIBRARY