NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Preferences_SessionPdm.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Preferences_SessionPdm.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/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_preferences_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
namespace
Preferences
33
{
34
class
SessionPdm
;
35
}
36
namespace
Preferences
37
{
38
class
SessionPreferences
;
39
}
40
namespace
Preferences
41
{
42
class
SessionPdmImpl;
46
class
NXOPENCPP_PREFERENCESEXPORT
SessionPdm
47
{
49
public
:
enum
SynchroniseOnLoadType
50
{
51
SynchroniseOnLoadTypeComplete
,
52
SynchroniseOnLoadTypeAddWithTransforms
,
53
SynchroniseOnLoadTypeNone
54
};
55
56
public
:
enum
SynchroniseOnSaveType
57
{
58
SynchroniseOnSaveTypeComplete
,
59
SynchroniseOnSaveTypeNone
60
};
61
62
public
:
enum
UnpopulatedBehaviourType
63
{
64
UnpopulatedBehaviourTypeOnSave
,
65
UnpopulatedBehaviourTypeModifiedPrompt
,
66
UnpopulatedBehaviourTypeModifiedNoPrompt
,
67
UnpopulatedBehaviourTypeNever
,
68
UnpopulatedBehaviourTypePreNx4
69
};
70
71
public
:
enum
JtUpdateFromSourceType
72
{
73
JtUpdateFromSourceTypeComplete
,
74
JtUpdateFromSourceTypeNone
75
};
76
77
public
:
enum
MessagesInconsistentRevisionsType
78
{
79
MessagesInconsistentRevisionsTypeNone
,
80
MessagesInconsistentRevisionsTypeWarning
,
81
MessagesInconsistentRevisionsTypeError
82
};
83
84
public
:
enum
LockingPolicyType
85
{
86
LockingPolicyTypeAutocheckinSave
,
87
LockingPolicyTypeAutocheckinClose
,
88
LockingPolicyTypeManual
,
89
LockingPolicyTypeManualplusplus
,
90
LockingPolicyTypeSupermanualplusplus
91
};
92
private
:
SessionPdmImpl
* m_sessionpdm_impl;
93
private
:
NXOpen::Preferences::SessionPreferences
* m_owner;
95
public
:
explicit
SessionPdm
(
NXOpen::Preferences::SessionPreferences
*owner);
97
public
:
99
tag_t
Tag
()
const
;
100
public
:
~SessionPdm
();
104
public
:
NXOpen::Preferences::SessionPdm::SynchroniseOnLoadType
SynchroniseOnLoad
105
(
106
);
110
public
:
void
SetSynchroniseOnLoad
111
(
112
NXOpen::Preferences::SessionPdm::SynchroniseOnLoadType
sync
113
);
117
public
:
NXOpen::Preferences::SessionPdm::SynchroniseOnSaveType
SynchroniseOnSave
118
(
119
);
123
public
:
void
SetSynchroniseOnSave
124
(
125
NXOpen::Preferences::SessionPdm::SynchroniseOnSaveType
sync
126
);
130
public
:
NXOpen::Preferences::SessionPdm::UnpopulatedBehaviourType
UnpopulatedBehaviour
131
(
132
);
136
public
:
void
SetUnpopulatedBehaviour
137
(
138
NXOpen::Preferences::SessionPdm::UnpopulatedBehaviourType
behaviour
139
);
143
public
:
NXOpen::Preferences::SessionPdm::UnpopulatedBehaviourType
UnpopulatedWithJtBehaviour
144
(
145
);
149
public
:
void
SetUnpopulatedWithJtBehaviour
150
(
151
NXOpen::Preferences::SessionPdm::UnpopulatedBehaviourType
behaviour
152
);
156
public
:
NXOpen::Preferences::SessionPdm::JtUpdateFromSourceType
JtUpdateFromSource
157
(
158
);
162
public
:
void
SetJtUpdateFromSource
163
(
164
NXOpen::Preferences::SessionPdm::JtUpdateFromSourceType
update
165
);
169
public
:
NXOpen::Preferences::SessionPdm::MessagesInconsistentRevisionsType
MessagesInconsistentRevisions
170
(
171
);
175
public
:
void
SetMessagesInconsistentRevisions
176
(
177
NXOpen::Preferences::SessionPdm::MessagesInconsistentRevisionsType
message
178
);
182
public
:
void
SetDefaultSeed
183
(
184
const
NXString
& seedName
185
);
189
void
SetDefaultSeed
190
(
191
const
char
* seedName
192
);
196
public
:
NXOpen::Preferences::SessionPdm::LockingPolicyType
LockingPolicy
197
(
198
);
202
public
:
void
SetLockingPolicy
203
(
204
NXOpen::Preferences::SessionPdm::LockingPolicyType
lock
205
);
206
};
//lint !e1712 default constructor not defined for class
207
}
208
}
209
#ifdef _MSC_VER
210
#pragma warning(pop)
211
#endif
212
#ifdef __GNUC__
213
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
214
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
215
#endif
216
#endif
217
#undef EXPORTLIBRARY