NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Unit.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Unit.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_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
class
Unit
;
33
class
NXObject
;
34
class
_UnitBuilder;
35
class
UnitImpl;
39
class
NXOPENCPPEXPORT Unit :
public
NXOpen::NXObject
40
{
41
private
:
UnitImpl
* m_unit_impl;
42
private
:
friend
class
_UnitBuilder;
43
protected
: Unit();
44
public
: ~Unit();
49
public
:
NX_DEPRECATED
(
"Deprecated in NX11.0.1. Use NXOpen::Unit::Symbol instead. This string will not be translated."
)
NXString
Abbreviation
50
(
51
);
55
public:
NXString
Symbol
56
(
57
);
62
public:
NX_DEPRECATED
(
"Deprecated in NX11.0.1. Use NXOpen::Unit::TypeName instead. This string will not be translated."
)
NXString
Name
63
(
64
);
68
public:
NXString
TypeName
69
(
70
);
74
public:
NXString
Measure
75
(
76
);
80
public:
void
MakeDefault
81
(
82
);
86
public:
void
MakeInfoUnit
87
(
88
);
93
public:
bool
IsInfoUnit
94
(
95
);
100
public:
bool
IsDefaultUnit
101
(
102
);
107
public:
bool
IsBaseUnit
108
(
109
);
113
public:
NXString
DisplaySymbol
114
(
115
);
116
};
117
}
118
#ifdef _MSC_VER
119
#pragma warning(pop)
120
#endif
121
#ifdef __GNUC__
122
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
123
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
124
#endif
125
#endif
126
#undef EXPORTLIBRARY