Ai
1 Star 2 Fork 0

eaglexmw/TstConn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Log.H 1.40 KB
一键复制 编辑 原始数据 按行查看 历史
YCKJ2082 提交于 2020-05-12 10:41 +08:00 . first commit
// File: Log.H
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.
class CTestContainer98Item;
class CLog :
public CObject
{
DECLARE_DYNAMIC( CLog );
public:
CLog();
~CLog();
CLog& operator<<( COleVariant& var );
CLog& operator<<( int n );
virtual CLog& operator<<( LPCTSTR pszString ) = NULL;
};
class CNullLog :
public CLog
{
DECLARE_DYNAMIC( CNullLog );
public:
CNullLog();
~CNullLog();
CLog& operator<<( LPCTSTR pszString );
};
class CDebugLog : public CLog
{
DECLARE_DYNAMIC( CDebugLog );
public:
CDebugLog();
~CDebugLog();
CLog& operator<<( LPCTSTR pszString );
protected:
BOOL m_tStartOfLine;
};
class CFileLog :
public CLog
{
DECLARE_DYNAMIC( CFileLog );
public:
CFileLog();
~CFileLog();
CLog& operator<<( LPCTSTR pszString );
public:
BOOL Create( LPCTSTR pszFileName );
CString GetFileName() const;
protected:
CStdioFile m_file;
};
class COutputWindowLog : public CLog
{
DECLARE_DYNAMIC( COutputWindowLog );
public:
COutputWindowLog( CEdit* pEditBox );
~COutputWindowLog();
CLog& operator<<( LPCTSTR pszString );
protected:
CEdit* m_pEditBox;
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/eaglexmw/TstConn.git
git@gitee.com:eaglexmw/TstConn.git
eaglexmw
TstConn
TstConn
master

搜索帮助