NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Gateway_BookmarkFile.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Gateway_BookmarkFile.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/BasePart.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_gateway_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
31
namespace
NXOpen
32
{
33
namespace
Gateway
34
{
35
class
BookmarkFile
;
36
}
37
class
Session
;
38
namespace
Gateway
39
{
40
class
BookmarkFileImpl;
45
class
NXOPENCPP_GATEWAYEXPORT
BookmarkFile
46
{
47
private
:
BookmarkFileImpl
* m_bookmarkfile_impl;
48
private
:
NXOpen::Session
* m_owner;
50
public
:
explicit
BookmarkFile
(
NXOpen::Session
*owner);
52
public
:
54
tag_t
Tag
()
const
;
55
public
:
~BookmarkFile
();
61
public
:
void
SaveWithDescription
62
(
63
const
NXString
& pathName ,
64
NXOpen::BasePart::BookmarkOption
bookmarkOption ,
65
const
NXString
& description
66
);
72
void
SaveWithDescription
73
(
74
const
char
* pathName ,
75
NXOpen::BasePart::BookmarkOption
bookmarkOption ,
76
const
char
* description
77
);
82
public
:
NXString
Rename
83
(
84
const
NXString
& oldPathName ,
85
const
NXString
& newFileName ,
87
bool
okToOverwriteExistingFile
88
);
93
NXString
Rename
94
(
95
const
char
* oldPathName ,
96
const
char
* newFileName ,
98
bool
okToOverwriteExistingFile
99
);
103
public
:
void
SetDescription
104
(
105
const
NXString
& pathName ,
106
const
NXString
& description
107
);
111
void
SetDescription
112
(
113
const
char
* pathName ,
114
const
char
* description
115
);
119
public
:
void
Delete
120
(
121
const
NXString
& pathName
122
);
126
void
Delete
127
(
128
const
char
* pathName
129
);
130
};
//lint !e1712 默认构造函数未为类定义
131
}
132
}
133
#ifdef _MSC_VER
134
#pragma warning(pop)
135
#endif
136
#ifdef __GNUC__
137
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
138
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
139
#endif
140
#endif
141
#undef EXPORTLIBRARY