NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Layer_StateCollection.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Layer_StateCollection.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/Layer.hxx>
22#include <NXOpen/TransientObject.hxx>
23#include <NXOpen/libnxopencpp_layer_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Layer
34 {
35 class StateCollection;
36 }
37 namespace Layer
38 {
39 class Category;
40 }
41 namespace Layer
42 {
43 class StateCollectionImpl;
48 class NXOPENCPP_LAYEREXPORT StateCollection : public NXOpen::TransientObject
49 {
50 private: StateCollectionImpl * m_statecollection_impl;
52 public: explicit StateCollection(void *ptr);
54
57 public: NXOpen::Layer::State GetState
58 (
59 int layer
60 );
64 public: void SetState
65 (
66 int layer ,
67 NXOpen::Layer::State state
68 );
72 public: void SetStateOfCategory
73 (
74 NXOpen::Layer::Category * category ,
75 NXOpen::Layer::State state
77 );
81 public: virtual ~StateCollection();
82 }; //lint !e1712 类未定义默认构造函数
83 }
84}
85#ifdef _MSC_VER
86#pragma warning(pop)
87#endif
88#ifdef __GNUC__
89#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
90#pragma GCC diagnostic warning "-Wdeprecated-declarations"
91#endif
92#endif
93#undef EXPORTLIBRARY