NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Diagramming_PortBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Diagramming_PortBuilder.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/Diagramming_ConnectableElement.hxx>
22#include <NXOpen/Diagramming_Connection.hxx>
23#include <NXOpen/Diagramming_DataType.hxx>
24#include <NXOpen/Diagramming_Port.hxx>
25#include <NXOpen/Diagramming_SheetElementBuilder.hxx>
26#include <NXOpen/libnxopencpp_diagramming_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Diagramming
37 {
38 class PortBuilder;
39 }
40 namespace Diagramming
41 {
43 }
44 namespace Diagramming
45 {
46 class Connection;
47 }
48 namespace Diagramming
49 {
50 class Port;
51 }
52 namespace Diagramming
53 {
55 }
56 namespace Diagramming
57 {
58 class _PortBuilderBuilder;
59 class PortBuilderImpl;
65 class NXOPENCPP_DIAGRAMMINGEXPORT PortBuilder : public NXOpen::Diagramming::SheetElementBuilder
66 {
67 private: PortBuilderImpl * m_portbuilder_impl;
68 private: friend class _PortBuilderBuilder;
69 protected: PortBuilder();
70 public: ~PortBuilder();
75 (
76 );
80 public: void SetDirection
81 (
83 );
88 (
89 );
94 (
95 int numberAllowedConnections
96 );
100 public: bool Pinned
101 (
102 );
106 public: void SetPinned
107 (
108 bool isPinned
109 );
114 (
115 );
119 public: void SetProxy
120 (
122 );
127 (
128 bool* isAllowedLeftSide ,
129 bool* isAllowedRightSide ,
130 bool* isAllowedUpSide ,
131 bool* isAllowedDownSide
132 );
137 (
138 );
143 (
144 );
149 (
150 );
154 public: std::vector<NXOpen::Diagramming::Connection *> GetConnections
155 (
156 );
157 };
158 }
159}
160#ifdef _MSC_VER
161#pragma warning(pop)
162#endif
163#ifdef __GNUC__
164#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
165#pragma GCC diagnostic warning "-Wdeprecated-declarations"
166#endif
167#endif
168#undef EXPORTLIBRARY