NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Routing_DesignRule.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Routing_DesignRule.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
30
namespace
NXOpen
31
{
32
namespace
Routing
33
{
34
class
DesignRule
;
35
}
36
class
NXObject
;
37
namespace
Routing
38
{
39
class
DesignRuleViolation
;
40
}
41
namespace
Routing
42
{
43
class
_DesignRuleBuilder;
44
class
DesignRuleImpl;
48
class
NXOPENCPP_ROUTINGEXPORT DesignRule :
public
NXOpen::NXObject
49
{
50
private
:
DesignRuleImpl
* m_designrule_impl;
51
private
:
friend
class
_DesignRuleBuilder;
52
protected
: DesignRule();
53
public
: ~DesignRule();
57
public
:
NXString
Drname
58
(
59
);
63
public
:
NXString
Description
64
(
65
);
69
public
:
NXString
Application
70
(
71
);
75
public
: std::vector<NXOpen::Routing::DesignRuleViolation *>
GetViolations
76
(
77
);
81
public
:
NXOpen::Routing::DesignRuleViolation
*
CreateViolation
82
(
83
const
NXString
& shortDescription ,
84
const
NXString
& longDescription ,
85
const
std::vector<NXOpen::NXObject *> & objects
86
);
90
NXOpen::Routing::DesignRuleViolation
*
CreateViolation
91
(
92
const
char
* shortDescription ,
93
const
char
* longDescription ,
94
const
std::vector<NXOpen::NXObject *> & objects
95
);
101
public
:
void
ClearViolationOnObject
102
(
103
NXOpen::NXObject
* objectToCheck
104
);
105
};
106
}
107
}
108
#ifdef _MSC_VER
109
#pragma warning(pop)
110
#endif
111
#ifdef __GNUC__
112
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
113
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
114
#endif
115
#endif
116
#undef EXPORTLIBRARY