NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_FeatureGroup.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_FeatureGroup.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/Features_Feature.hxx>
22
#include <NXOpen/libnxopencpp_features_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
namespace
Features
33
{
34
class
FeatureGroup
;
35
}
36
namespace
Features
37
{
38
class
Feature
;
39
}
40
namespace
Features
41
{
42
class
_FeatureGroupBuilder;
43
class
FeatureGroupImpl;
47
class
NXOPENCPP_FEATURESEXPORT FeatureGroup :
public
NXOpen::Features::Feature
48
{
50
public
:
enum
Type
51
{
52
TypeNonEmbeddFeatureGroup
,
53
TypeEmbeddFeatureGroup
54
};
55
private
:
FeatureGroupImpl
* m_featuregroup_impl;
56
private
:
friend
class
_FeatureGroupBuilder;
57
protected
:
FeatureGroup
();
58
public
:
~FeatureGroup
();
62
public
:
NXOpen::Features::FeatureGroup::Type
GetFeatureGroupType
63
(
64
);
68
public
:
void
SetFeatureGroupType
69
(
70
NXOpen::Features::FeatureGroup::Type
type
71
);
75
public
:
void
RemoveAllMembers
76
(
77
);
81
public
:
void
NewRemoveMembers
82
(
83
const
std::vector<NXOpen::Features::Feature *> & members ,
84
bool
reorderTimestamp
85
);
90
public
:
NX_DEPRECATED
(
"在NX8.5.1中已弃用。请使用NXOpen::Features::FeatureGroup::AddMembersWithRelocation替代。"
) void NewAddMembers
91
(
92
const std::vector<
NXOpen
::
Features
::Feature *> & members ,
93
bool
reorderTimestamp
94
);
98
public:
void
AddMembersWithRelocation
99
(
100
const std::vector<
NXOpen
::
Features
::Feature *> & members ,
101
bool
reorderTimestamp ,
102
bool
updateRelocatedFeatures
103
);
107
public:
bool
AllowDeleteMembers
108
(
109
);
113
public:
void
SetAllowDeleteMembers
114
(
115
bool
allowDeleteMembers
116
);
120
public:
void
GetMembers
121
(
122
std::vector<
NXOpen
::
Features
::Feature *> & members
123
);
128
public:
NX_DEPRECATED
(
"在NX8.5.1中已弃用。请使用NXOpen::Features::FeatureGroup::MakeTimestampsSequential替代。"
)
void
MakeTimestampsConsecutive
129
(
130
);
134
public:
void
MakeTimestampsSequential
135
(
136
bool
updateRelocatedFeatures
137
);
141
public:
void
ConvertToTimestampedFeatureGroup
142
(
143
);
147
public:
void
ConvertToFloatingFeatureGroup
148
(
149
);
150
};
151
}
152
}
153
#ifdef _MSC_VER
154
#pragma warning(pop)
155
#endif
156
#ifdef __GNUC__
157
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
158
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
159
#endif
160
#endif
161
#undef EXPORTLIBRARY