NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Issue_IssueContent.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Issue_IssueContent.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/Issue_IssueAttachment.hxx>
22#include <NXOpen/Issue_IssueFolder.hxx>
23#include <NXOpen/Issue_IssueProperty.hxx>
24#include <NXOpen/NXObject.hxx>
25#include <NXOpen/libnxopencpp_issue_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
35 namespace Issue
36 {
37 class IssueContent;
38 }
39 namespace Issue
40 {
41 class IssueAttachment;
42 }
43 namespace Issue
44 {
45 class IssueFolder;
46 }
47 namespace Issue
48 {
49 class IssueProperty;
50 }
51 class NXObject;
52 namespace Issue
53 {
54 class _IssueContentBuilder;
55 class IssueContentImpl;
59 class NXOPENCPP_ISSUEEXPORT IssueContent : public NXOpen::NXObject
60 {
61 private: IssueContentImpl * m_issuecontent_impl;
62 private: friend class _IssueContentBuilder;
63 protected: IssueContent();
64 public: ~IssueContent();
69 (
70 );
74 public: void SetTitle
75 (
76 const NXString & title
77 );
82 (
83 const char * title
84 );
89 (
90 );
94 public: void SetComment
95 (
96 const NXString & comment
97 );
102 (
103 const char * comment
104 );
109 (
110 );
114 public: void SetAssignedUser
115 (
116 const NXString & assignedUser
117 );
122 (
123 const char * assignedUser
124 );
129 (
130 );
134 public: void SetStatus
135 (
136 const NXString & status
137 );
142 (
143 const char * status
144 );
149 (
150 );
154 public: void SetPriority
155 (
156 const NXString & priority
157 );
162 (
163 const char * priority
164 );
169 (
170 );
174 public: void SetDueDate
175 (
176 const NXString & dueDate
177 );
182 (
183 const char * dueDate
184 );
189 (
190 );
194 public: bool IsLocked
195 (
196 );
200 public: std::vector<NXOpen::Issue::IssueProperty *> GetUserProperties
201 (
202 );
207 (
208 const NXString & propertyName
209 );
214 (
215 const char * propertyName
216 );
220 public: void ReloadProperties
221 (
222 );
226 public: void SetPropertyValue
227 (
228 const NXString & propertyName ,
229 const NXString & propertyValue
230 );
235 (
236 const char * propertyName ,
237 const char * propertyValue
238 );
243 (
244 const NXString & propertyName
245 );
250 (
251 const char * propertyName
252 );
256 public: std::vector<NXOpen::Issue::IssueAttachment *> GetAllAttachments
257 (
258 );
262 public: std::vector<NXOpen::Issue::IssueAttachment *> GetChildAttachments
263 (
264 );
269 (
270 const NXString & attachmentName
271 );
276 (
277 const char * attachmentName
278 );
283 (
284 );
288 public: void LoadAttachments
289 (
290 );
294 public: void AddAttachment
295 (
297 );
301 public: void RemoveAttachment
302 (
304 );
308 public: std::vector<NXOpen::Issue::IssueFolder *> GetFolders
309 (
310 );
314 public: void SaveChanges
315 (
316 );
320 public: void DiscardIssue
321 (
322 );
326 public: bool IsCheckedOut
327 (
328 NXString* user
329 );
333 public: void Close
334 (
335 const NXString & coseNote
336 );
340 void Close
341 (
342 const char * coseNote
343 );
347 public: bool IsClosed
348 (
349 );
353 public: bool IsReadOnly
354 (
355 );
359 public: void SendToWorkflow
360 (
361 const NXString & workflowTemplate
362 );
367 (
368 const char * workflowTemplate
369 );
373 public: void Review
374 (
375 const NXString & reviewDecision ,
376 const NXString & comment
377 );
382 (
383 const char * reviewDecision ,
384 const char * comment
385 );
390 (
391 );
395 public: void SetPreviewImage
396 (
397 NXOpen::Issue::IssueAttachment * previewImage
398 );
399 };
400 }
401}
402#ifdef _MSC_VER
403#pragma warning(pop)
404#endif
405#ifdef __GNUC__
406#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
407#pragma GCC diagnostic warning "-Wdeprecated-declarations"
408#endif
409#endif
410#undef EXPORTLIBRARY