NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_ElectricalPartBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_ElectricalPartBuilder.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/Builder.hxx>
22
#include <NXOpen/libnxopencpp_mechatronics_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
Mechatronics
33
{
34
class
ElectricalPartBuilder
;
35
}
36
class
Builder
;
37
namespace
Mechatronics
38
{
39
class
SystemObject
;
40
}
41
namespace
Mechatronics
42
{
43
class
_ElectricalPartBuilderBuilder;
44
class
ElectricalPartBuilderImpl;
48
class
NXOPENCPP_MECHATRONICSEXPORT ElectricalPartBuilder :
public
NXOpen::Builder
49
{
51
public
:
52
struct
Attribute
53
{
54
public
:
NXString
AttributeName
;
55
public
:
NXString
AttributeValue
;
56
public
: Attribute() :
57
AttributeName
(),
58
AttributeValue
()
59
{
60
}
62
public
:
Attribute
(
const
NXString
&attributeNameInitial ,
63
const
NXString
&attributeValueInitial ) :
64
AttributeName
(attributeNameInitial),
65
AttributeValue
(attributeValueInitial)
66
{
67
}
68
};
69
private
:
ElectricalPartBuilderImpl
* m_electricalpartbuilder_impl;
70
private
:
friend
class
_ElectricalPartBuilderBuilder;
71
protected
:
ElectricalPartBuilder
();
72
public
:
~ElectricalPartBuilder
();
76
public
:
NXString
PartNumber
77
(
78
);
82
public
:
void
SetPartNumber
83
(
84
const
NXString
& partNumber
85
);
89
void
SetPartNumber
90
(
91
const
char
* partNumber
92
);
96
public
:
NXOpen::Mechatronics::SystemObject
*
GetOwner
97
(
98
);
102
public
:
void
SetOwner
103
(
104
NXOpen::Mechatronics::SystemObject
* owner
105
);
109
public
: std::vector<NXOpen::Mechatronics::ElectricalPartBuilder::Attribute>
GetAttributes
110
(
111
);
115
public
:
void
SetAttributes
116
(
117
const
std::vector<NXOpen::Mechatronics::ElectricalPartBuilder::Attribute> & attribute
118
);
119
};
120
}
121
}
122
#ifdef _MSC_VER
123
#pragma warning(pop)
124
#endif
125
#ifdef __GNUC__
126
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
127
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
128
#endif
129
#endif
130
#undef EXPORTLIBRARY