NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
ListingWindow.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// ListingWindow.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_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
ListingWindow
;
33
class
Session
;
34
class
ListingWindowImpl;
40
class
NXOPENCPPEXPORT
ListingWindow
41
{
43
public
:
enum
DeviceType
44
{
45
DeviceTypeWindow
,
46
DeviceTypeFile
,
47
DeviceTypeFileAndWindow
,
48
DeviceTypeNone
49
};
50
private
:
ListingWindowImpl
* m_listingwindow_impl;
51
private
:
NXOpen::Session
* m_owner;
53
public
:
explicit
ListingWindow
(
NXOpen::Session
*owner);
55
public
:
57
tag_t
Tag
()
const
;
58
public
:
~ListingWindow
();
62
public
:
void
Open
63
(
64
);
70
public
:
void
Close
71
(
72
);
76
public
:
void
CloseWindow
77
(
78
);
88
public
:
void
WriteLine
89
(
90
const
NXString
& msg
91
);
99
void
WriteLine
100
(
101
const
char
* msg
102
);
110
public
:
void
WriteFullline
111
(
112
const
NXString
& msg
113
);
121
void
WriteFullline
122
(
123
const
char
* msg
124
);
129
public
:
bool
IsOpen
130
(
131
);
147
public
:
void
SelectDevice
148
(
149
NXOpen::ListingWindow::DeviceType
deviceType ,
150
const
NXString
& fileName
151
);
167
void
SelectDevice
168
(
169
NXOpen::ListingWindow::DeviceType
deviceType ,
170
const
char
* fileName
171
);
175
public
:
NXOpen::ListingWindow::DeviceType
Device
176
(
177
);
178
};
//lint !e1712 default constructor not defined for class
179
}
180
#ifdef _MSC_VER
181
#pragma warning(pop)
182
#endif
183
#ifdef __GNUC__
184
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
185
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
186
#endif
187
#endif
188
#undef EXPORTLIBRARY