NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Issue_IssueAttachment.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Issue_IssueAttachment.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/libnxopencpp_issue_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
Issue
33
{
34
class
IssueAttachment
;
35
}
36
class
NXObject
;
37
namespace
Issue
38
{
39
class
_IssueAttachmentBuilder;
40
class
IssueAttachmentImpl;
44
class
NXOPENCPP_ISSUEEXPORT IssueAttachment :
public
NXOpen::NXObject
45
{
48
public
:
enum
Type
49
{
50
TypeGeneric
,
51
TypeText
,
52
TypePart
,
53
TypeXml
,
54
TypeImage
,
55
TypeValidationLog
,
56
TypeBookmark
,
57
TypeSnapshot
,
58
TypeValidationResult
,
59
TypeWorkset
,
60
TypeShapeDesignElement
,
61
TypeReuseDesignElement
,
62
TypeSubordinateDesignElement
,
63
TypePromissoryDesignElement
,
64
TypeDesignControlElement
,
65
TypeSubset
,
66
TypeMSWord
,
67
TypeMSExcel
,
68
TypeMSPowerPoint
,
69
TypeVisualizationSession
70
};
71
private
:
IssueAttachmentImpl
* m_issueattachment_impl;
72
private
:
friend
class
_IssueAttachmentBuilder;
73
protected
:
IssueAttachment
();
74
public
:
~IssueAttachment
();
78
public
:
NXOpen::Issue::IssueAttachment::Type
AttachmentType
79
(
80
);
84
public
:
void
SetAttachmentType
85
(
86
NXOpen::Issue::IssueAttachment::Type
type
87
);
91
public
:
NXString
ReferencedAttachmentId
92
(
93
);
97
public
:
void
SetReferencedAttachmentId
98
(
99
const
NXString
& referencedAttachmentId
100
);
104
void
SetReferencedAttachmentId
105
(
106
const
char
* referencedAttachmentId
107
);
111
public
:
void
RecaptureSnapshot
112
(
113
const
NXString
& bookmarkFileSpec ,
114
const
NXString
& imageFileSpec
115
);
119
void
RecaptureSnapshot
120
(
121
const
char
* bookmarkFileSpec ,
122
const
char
* imageFileSpec
123
);
124
};
125
}
126
}
127
#ifdef _MSC_VER
128
#pragma warning(pop)
129
#endif
130
#ifdef __GNUC__
131
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
132
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
133
#endif
134
#endif
135
#undef EXPORTLIBRARY