NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_DesignRuleViolation.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_DesignRuleViolation.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_routing_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
30namespace NXOpen
31{
32 namespace Routing
33 {
35 }
36 class NXObject;
37 namespace Routing
38 {
39 class DesignRule;
40 }
41 namespace Routing
42 {
44 }
45 namespace Routing
46 {
48 }
49 namespace Routing
50 {
51 class _DesignRuleViolationBuilder;
52 class DesignRuleViolationImpl;
56 class NXOPENCPP_ROUTINGEXPORT DesignRuleViolation : public NXOpen::NXObject
57 {
64 private: DesignRuleViolationImpl * m_designruleviolation_impl;
65 private: friend class _DesignRuleViolationBuilder;
66 protected: DesignRuleViolation();
67 public: ~DesignRuleViolation();
72 (
73 );
78 (
79 const NXString & shortDescription
80 );
85 (
86 const char * shortDescription
87 );
92 (
93 );
97 public: void SetLongDescription
98 (
99 const NXString & longDescription
100 );
105 (
106 const char * longDescription
107 );
111 public: std::vector<NXOpen::NXObject *> GetObjects
112 (
113 );
117 public: void SetObjects
118 (
119 const std::vector<NXOpen::NXObject *> & objects
120 );
124 public: void AddObjects
125 (
126 const std::vector<NXOpen::Routing::DesignRuleViolation *> & objects
127 );
132 (
133 );
137 public: void SetOverride
138 (
140 );
145 public: int TimeStamp
146 (
147 );
152 public: void SetTimeStamp
153 (
154 int timeStamp
155 );
160 (
161 const NXString & user ,
162 const NXString & reason ,
163 int timestamp
164 );
169 (
170 const char * user ,
171 const char * reason ,
172 int timestamp
173 );
178 (
179 );
183 public: bool IsRuleOverridden
184 (
185 );
190 (
192 );
196 public: void SetLocations
197 (
198 const std::vector<NXOpen::Routing::DesignRuleViolationLocation *> & violationLocations
199 );
203 public: std::vector<NXOpen::Routing::DesignRuleViolationLocation *> GetLocations
204 (
205 );
210 (
211 const std::vector<NXOpen::Routing::DesignRuleViolationLocation *> & locationObjects
212 );
217 (
219 );
224 (
225 );
226 };
227 }
228}
229#ifdef _MSC_VER
230#pragma warning(pop)
231#endif
232#ifdef __GNUC__
233#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
234#pragma GCC diagnostic warning "-Wdeprecated-declarations"
235#endif
236#endif
237#undef EXPORTLIBRARY