NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
WidthDefinition.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// WidthDefinition.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/ColorWidth.hxx>
22#include <NXOpen/CustomWidth.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_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 class WidthDefinition;
35 class ColorWidth;
36 class CustomWidth;
37 class _WidthDefinitionBuilder;
38 class WidthDefinitionImpl;
43 class NXOPENCPPEXPORT WidthDefinition : public NXOpen::TaggedObject
44 {
45 private: WidthDefinitionImpl * m_widthdefinition_impl;
46 private: friend class _WidthDefinitionBuilder;
47 protected: WidthDefinition();
48 public: ~WidthDefinition();
52 public: int Use
53 (
54 );
58 public: void SetUse
59 (
60 int use
61 );
65 public: int Single
66 (
67 );
71 public: void SetSingle
72 (
73 int single
74 );
78 public: double SingleWidth
79 (
80 );
84 public: void SetSingleWidth
85 (
86 double singleWidth
87 );
91 public: int SingleSource
92 (
93 );
97 public: void SetSingleSource
98 (
99 int singleSource
100 );
104 public: std::vector<NXOpen::CustomWidth *> GetCustomWidths
105 (
106 );
111 public: std::vector<NXOpen::ColorWidth *> GetColorWidths
112 (
113 );
117 public: int Units
118 (
119 );
123 public: void SetUnits
124 (
125 int units
126 );
127 };
128}
129#ifdef _MSC_VER
130#pragma warning(pop)
131#endif
132#ifdef __GNUC__
133#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
134#pragma GCC diagnostic warning "-Wdeprecated-declarations"
135#endif
136#endif
137#undef EXPORTLIBRARY