NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Report_CommandLibrary.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Report_CommandLibrary.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/INXObject.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/Report_Command.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
32namespace NXOpen
33{
34 namespace Report
35 {
36 class CommandLibrary;
37 }
38 namespace Assemblies
39 {
40 class Component;
41 }
42 class BasePart;
43 class INXObject;
44 namespace Report
45 {
46 class Command;
47 }
48 namespace Report
49 {
50 class _CommandLibraryBuilder;
51 class CommandLibraryImpl;
55 class NXOPENCPP_REPORTEXPORT CommandLibrary : public NXOpen::TaggedObject, public virtual NXOpen::INXObject
56 {
63 private: CommandLibraryImpl * m_commandlibrary_impl;
64 private: friend class _CommandLibraryBuilder;
65 protected: CommandLibrary();
66 public: ~CommandLibrary();
70 public: void GetCommands
71 (
72 std::vector<NXOpen::Report::Command *> & pCommands
73 );
77 public: void Save
78 (
79 );
83 public: void MoveCommands
84 (
85 const std::vector<NXOpen::Report::Command *> & pCommand ,
87 NXOpen::Report::Command * pReferenceCommand
88 );
95 public: virtual NXOpen::INXObject * FindObject
96 (
97 const NXString & journalIdentifier
98 );
106 (
107 const char * journalIdentifier
108 );
114 (
115 );
119 public: virtual bool IsOccurrence
120 (
121 );
125 public: virtual NXOpen::INXObject * Prototype
126 (
127 );
132 (
133 );
137 public: virtual NXOpen::BasePart * OwningPart
138 (
139 );
143 public: virtual void Print
144 (
145 );
149 public: virtual NXString Name
150 (
151 );
157 public: virtual void SetName
158 (
159 const NXString & name
160 );
166 virtual void SetName
167 (
168 const char * name
169 );
170 };
171 }
172}
173#ifdef _MSC_VER
174#pragma warning(pop)
175#endif
176#ifdef __GNUC__
177#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
178#pragma GCC diagnostic warning "-Wdeprecated-declarations"
179#endif
180#endif
181#undef EXPORTLIBRARY