NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Report_Report.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Report_Report.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/NXObject.hxx>
22
#include <NXOpen/Report_TemplateItem.hxx>
23
#include <NXOpen/Report_UserInput.hxx>
24
#include <NXOpen/libnxopencpp_report_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
Report
35
{
36
class
Report
;
37
}
38
class
NXObject
;
39
namespace
Report
40
{
41
class
IReportCollection
;
42
}
43
namespace
Report
44
{
45
class
IUserItem
;
46
}
47
namespace
Report
48
{
49
class
TemplateItem
;
50
}
51
namespace
Report
52
{
53
class
_ReportBuilder;
54
class
ReportImpl;
58
class
NXOPENCPP_REPORTEXPORT Report :
public
NXOpen::NXObject
59
{
61
public
:
enum
MoveItemLocation
62
{
63
MoveItemLocationBefore
,
64
MoveItemLocationAfter
65
};
66
private
:
ReportImpl
* m_report_impl;
67
private
:
friend
class
_ReportBuilder;
68
protected
:
Report
();
69
public
:
~Report
();
73
public
:
void
GetTemplateItems
74
(
75
std::vector<NXOpen::Report::TemplateItem *> & pTemplateItems
76
);
80
public
:
NXOpen::Report::IUserItem
*
CreateUserItem
81
(
82
NXOpen::Report::UserInput::Type
inputType
83
);
87
public
:
NXOpen::Report::IUserItem
*
CopyUserItem
88
(
89
NXOpen::Report::IUserItem
* userItem
90
);
94
public
:
void
GetUserItems
95
(
96
std::vector<NXOpen::Report::IUserItem *> & userItems
97
);
101
public
:
void
MoveUserItems
102
(
103
const
std::vector<NXOpen::Report::IUserItem *> & userItems ,
104
NXOpen::Report::Report::MoveItemLocation
newLocation ,
105
NXOpen::Report::IUserItem
* referencedItem
106
);
110
public
:
NXOpen::Report::IReportCollection
*
ReportCollection
111
(
112
);
116
public
:
void
Export
117
(
118
const
NXString
& reportDocument ,
119
bool
listError
120
);
124
void
Export
125
(
126
const
char
* reportDocument ,
127
bool
listError
128
);
132
public
:
NXString
TemplateFile
133
(
134
);
138
public
:
void
SetTemplateFile
139
(
140
const
NXString
& templateFile
141
);
145
void
SetTemplateFile
146
(
147
const
char
* templateFile
148
);
152
public
:
void
ClearTemplateItems
153
(
154
);
158
public
:
void
DeleteUserItems
159
(
160
);
164
public
:
void
HideTempalteItemsWithoutInput
165
(
166
bool
hideTemplateItemsWithoutInput
167
);
171
public
:
void
SynchronizeWithCommands
172
(
173
);
174
};
175
}
176
}
177
#ifdef _MSC_VER
178
#pragma warning(pop)
179
#endif
180
#ifdef __GNUC__
181
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
182
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
183
#endif
184
#endif
185
#undef EXPORTLIBRARY