apoxi/include/Compat/DebugOutputStream.hpp
Kirill Zhumarin d7d9bcf23a apoxi headers
2025-03-27 22:28:46 +03:00

49 lines
1.6 KiB
C++

/* ------------------------------------------------------------------------
Copyright (C) 2000 COMNEON GmbH& Co. OHG. All rights reserved.
------------------------------------------------------------------------
This document contains proprietary information belonging to COMNEON.
Passing on and copying of this document, use and communication of its
contents is not permitted without prior written authorisation.
------------------------------------------------------------------------ */
#if !defined(Apoxi_DebugOutputStream_hpp)
#define Apoxi_DebugOutputStream_hpp
#include <Kernel/Types.hpp>
#ifndef APOXI_NOSTREAMING
class DebugOutputStream : public OutputStream {
public:
DebugOutputStream();
virtual ~DebugOutputStream();
virtual INT Write (const BYTE data);
virtual INT Write (const BYTE* data, INT len);
virtual OutputStream& operator << (const char c);
virtual OutputStream& operator << (const unsigned char c);
virtual OutputStream& operator << (const signed char c);
virtual OutputStream& operator << (const char* s);
virtual OutputStream& operator << (const wchar_t* w);
virtual OutputStream& operator << (const short n);
virtual OutputStream& operator << (const unsigned short n);
virtual OutputStream& operator << (const int n);
virtual OutputStream& operator << (const unsigned int n);
virtual OutputStream& operator << (const long n);
virtual OutputStream& operator << (const unsigned long n);
virtual void Flush();
};
#endif
#endif // Apoxi_DebugOutputStream_hpp