NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
NestingStock.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口头文件:JA API
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// NestingStock.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/TransientObject.hxx>
22#include <NXOpen/libnxopencpp_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 class NestingStock;
33 class NestingStockImpl;
37 class NXOPENCPPEXPORT NestingStock : public NXOpen::TransientObject
38 {
48 private: NestingStockImpl * m_nestingstock_impl;
50 public: explicit NestingStock(void *ptr);
52
55 public: virtual ~NestingStock();
59 public: NXString Name
60 (
61 );
65 public: double Length
66 (
67 );
71 public: void SetLength
72 (
73 double length
74 );
78 public: double Width
79 (
80 );
84 public: void SetWidth
85 (
86 double width
87 );
91 public: double Thickness
92 (
93 );
97 public: void SetThickness
98 (
99 double thickness
100 );
104 public: int Quantity
105 (
106 );
110 public: void SetQuantity
111 (
112 int quantity
113 );
118 (
119 );
123 public: void SetPriority
124 (
126 );
127 }; //lint !e1712 default constructor not defined for class
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