NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_CustomAttribute.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_CustomAttribute.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_features_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 namespace Features
33 {
34 class CustomAttribute;
35 }
36 namespace Features
37 {
38 }
39 namespace Features
40 {
41 class CustomAttributeImpl;
47 class NXOPENCPP_FEATURESEXPORT CustomAttribute : public NXOpen::TransientObject
48 {
66
74 private: CustomAttributeImpl * m_customattribute_impl;
76 public: explicit CustomAttribute(void *ptr);
78
81 public: virtual ~CustomAttribute();
85 public: NXString Name
86 (
87 );
91 public: void SetName
92 (
93 const NXString & attributeName
94 );
99 (
100 const char * attributeName
101 );
105 public: void AddProperty
106 (
108 );
112 public: void RemoveProperty
113 (
115 );
119 public: bool HasProperty
120 (
122 );
126 public: std::vector<NXOpen::Features::CustomAttribute::Property> GetProperties
127 (
128 );
133 (
134 );
135 }; //lint !e1712 class未定义默认构造函数
136 }
137}
138#ifdef _MSC_VER
139#pragma warning(pop)
140#endif
141#ifdef __GNUC__
142#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
143#pragma GCC diagnostic warning "-Wdeprecated-declarations"
144#endif
145#endif
146#undef EXPORTLIBRARY