NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_TableColumnBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口访问JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_TableColumnBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/SelectObject.hxx>
24
#include <NXOpen/libnxopencpp_annotations_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Annotations
35
{
36
class
TableColumnBuilder
;
37
}
38
namespace
GeometricUtilities
39
{
40
class
IComponentBuilder
;
41
}
42
class
SelectDisplayableObject
;
43
namespace
Annotations
44
{
45
class
_TableColumnBuilderBuilder;
46
class
TableColumnBuilderImpl;
54
class
NXOPENCPP_ANNOTATIONSEXPORT TableColumnBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
55
{
57
public
:
enum
CategoryType
58
{
59
CategoryTypeGeneral
,
60
CategoryTypeCallout
,
61
CategoryTypeQuantity
62
};
63
64
public
:
enum
ScopeType
65
{
66
ScopeTypeCellsinNewRows
,
67
ScopeTypeAllCellsinColumn
68
};
69
private
:
TableColumnBuilderImpl
* m_tablecolumnbuilder_impl;
70
private
:
friend
class
_TableColumnBuilderBuilder;
71
protected
:
TableColumnBuilder
();
72
public
:
~TableColumnBuilder
();
76
public
:
NXOpen::Annotations::TableColumnBuilder::CategoryType
Category
77
(
78
);
82
public
:
void
SetCategory
83
(
84
NXOpen::Annotations::TableColumnBuilder::CategoryType
category
85
);
89
public
:
NXString
Title
90
(
91
);
95
public
:
void
SetTitle
96
(
97
const
NXString
& title
98
);
102
void
SetTitle
103
(
104
const
char
* title
105
);
109
public
:
NXString
AttributeName
110
(
111
);
115
public
:
void
SetAttributeName
116
(
117
const
NXString
& attributeName
118
);
122
void
SetAttributeName
123
(
124
const
char
* attributeName
125
);
129
public
:
NXString
DefaultText
130
(
131
);
135
public
:
void
SetDefaultText
136
(
137
const
NXString
& defaultText
138
);
142
void
SetDefaultText
143
(
144
const
char
* defaultText
145
);
149
public
:
bool
IncludeNestedAssemblies
150
(
151
);
155
public
:
void
SetIncludeNestedAssemblies
156
(
157
bool
includeNestedAssemblies
158
);
162
public
:
NXOpen::SelectDisplayableObject
*
SelectParentComponent
163
(
164
);
168
public
:
NXOpen::Annotations::TableColumnBuilder::ScopeType
Scope
169
(
170
);
174
public
:
void
SetScope
175
(
176
NXOpen::Annotations::TableColumnBuilder::ScopeType
scope
177
);
181
public
:
bool
KeyField
182
(
183
);
187
public
:
void
SetKeyField
188
(
189
bool
keyField
190
);
194
public
:
bool
ProtectCells
195
(
196
);
200
public
:
void
SetProtectCells
201
(
202
bool
protectCells
203
);
207
public
:
NXString
AsRequiredText
208
(
209
);
213
public
:
void
SetAsRequiredText
214
(
215
const
NXString
& asRequiredText
216
);
220
void
SetAsRequiredText
221
(
222
const
char
* asRequiredText
223
);
227
public
:
NXString
NestedAssemblyQuantity
228
(
229
);
233
public
:
void
SetNestedAssemblyQuantity
234
(
235
const
NXString
& nestedAssemblyQuantity
236
);
240
void
SetNestedAssemblyQuantity
241
(
242
const
char
* nestedAssemblyQuantity
243
);
247
public
:
NXString
ParentAssemblyQuantity
248
(
249
);
253
public
:
void
SetParentAssemblyQuantity
254
(
255
const
NXString
& parentAssemblyQuantity
256
);
260
void
SetParentAssemblyQuantity
261
(
262
const
char
* parentAssemblyQuantity
263
);
267
public
:
bool
ShowCombinedMassForAssemblies
268
(
269
);
273
public
:
void
SetShowCombinedMassForAssemblies
274
(
275
bool
showCombinedMassForAssemblies
276
);
281
public
:
virtual
bool
Validate
282
(
283
);
284
};
285
}
286
}
287
#ifdef _MSC_VER
288
#pragma warning(pop)
289
#endif
290
#ifdef __GNUC__
291
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
292
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
293
#endif
294
#endif
295
#undef EXPORTLIBRARY