NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
LogFile.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件,用于JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// LogFile.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
LogFile
;
33
class
Session
;
34
class
LogFileImpl;
38
class
NXOPENCPPEXPORT
LogFile
39
{
40
private
:
LogFileImpl
* m_logfile_impl;
41
private
:
NXOpen::Session
* m_owner;
43
public
:
explicit
LogFile
(
NXOpen::Session
*owner);
45
public
:
47
tag_t
Tag
()
const
;
48
public
:
~LogFile
();
52
public
:
void
Write
53
(
54
const
NXString
& s
55
);
59
void
Write
60
(
61
const
char
* s
62
);
66
public
:
void
WriteLine
67
(
68
const
NXString
& s
69
);
73
void
WriteLine
74
(
75
const
char
* s
76
);
80
public
:
NXString
FileName
81
(
82
);
83
};
//lint !e1712 类未定义默认构造函数
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