NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
SectionList.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// SectionList.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/ObjectList.hxx>
23
#include <NXOpen/libnxopencpp_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
class
SectionList
;
34
class
Section
;
35
class
_SectionListBuilder;
36
class
SectionListImpl;
40
class
NXOPENCPPEXPORT SectionList :
public
NXOpen::TaggedObject
41
{
42
private
:
SectionListImpl
* m_sectionlist_impl;
43
private
:
friend
class
_SectionListBuilder;
44
protected
: SectionList();
45
public
: ~SectionList();
49
public
:
void
Append
50
(
51
const
std::vector<NXOpen::Section *> & objects
52
);
56
public
:
void
Append
57
(
58
NXOpen::Section
*
object
59
);
63
public
:
int
Length
64
(
65
);
69
public
:
void
ClearIndex
70
(
71
int
deleteIdx
72
);
77
public
:
int
FindIndex
78
(
79
NXOpen::Section
* obj
80
);
85
public
:
NXOpen::Section
*
FindItem
86
(
87
int
index
88
);
93
public
:
void
Erase
94
(
95
int
index
96
);
101
public
:
void
Erase
102
(
103
int
index ,
104
NXOpen::ObjectList::DeleteOption
deleteOption
105
);
110
public
:
void
Erase
111
(
112
NXOpen::Section
* obj
113
);
118
public
:
void
Erase
119
(
120
NXOpen::Section
* obj ,
121
NXOpen::ObjectList::DeleteOption
deleteOption
122
);
127
public
:
void
Clear
128
(
129
);
133
public
:
void
Clear
134
(
135
NXOpen::ObjectList::DeleteOption
deleteOption
136
);
140
public
: std::vector<NXOpen::Section *>
GetContents
141
(
142
);
147
public
:
void
SetContents
148
(
149
const
std::vector<NXOpen::Section *> & objects
150
);
156
public
:
void
Swap
157
(
158
int
index1 ,
159
int
index2
160
);
166
public
:
void
Swap
167
(
168
NXOpen::Section
* object1 ,
169
NXOpen::Section
* object2
170
);
174
public
:
void
Insert
175
(
176
int
location ,
177
NXOpen::Section
*
object
178
);
182
public
:
void
MoveToTop
183
(
184
int
index
185
);
189
public
:
void
MoveToBottom
190
(
191
int
index
192
);
193
};
194
}
195
#ifdef _MSC_VER
196
#pragma warning(pop)
197
#endif
198
#ifdef __GNUC__
199
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
200
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
201
#endif
202
#endif
203
#undef EXPORTLIBRARY