NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Report_AutomationLogger.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Report_AutomationLogger.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_report_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
30namespace NXOpen
31{
32 namespace Report
33 {
34 class AutomationLogger;
35 }
36 namespace Report
37 {
38 class ReportManager;
39 }
40 namespace Report
41 {
42 class AutomationLoggerImpl;
46 class NXOPENCPP_REPORTEXPORT AutomationLogger
47 {
56 private: AutomationLoggerImpl * m_automationlogger_impl;
57 private: NXOpen::Report::ReportManager* m_owner;
59 public: explicit AutomationLogger(NXOpen::Report::ReportManager *owner);
61 public:
63 tag_t Tag() const;
64 public: ~AutomationLogger();
68 public: void LogMessage
69 (
70 const NXString & message
71 );
76 (
77 const char * message
78 );
82 public: void LogMessage
83 (
84 const NXString & message ,
86 );
91 (
92 const char * message ,
94 );
98 public: void Clear
99 (
100 );
104 public: void SaveLog
105 (
106 const NXString & logFileName
107 );
112 (
113 const char * logFileName
114 );
118 public: bool IsEmpty
119 (
120 );
121 }; //lint !e1712 default constructor not defined for class
122 }
123}
124#ifdef _MSC_VER
125#pragma warning(pop)
126#endif
127#ifdef __GNUC__
128#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
129#pragma GCC diagnostic warning "-Wdeprecated-declarations"
130#endif
131#endif
132#undef EXPORTLIBRARY