18#ifndef _LOG4CXX_HELPERS_OUTPUTSTREAM_H
19#define _LOG4CXX_HELPERS_OUTPUTSTREAM_H
46#if LOG4CXX_ABI_VERSION <= 15
55#define LOG4CXX_CLOSE_OUTPUT_STREAM_FORMAL_PARAMETERS helpers::Pool& p
61#define LOG4CXX_FLUSH_OUTPUT_STREAM_FORMAL_PARAMETERS helpers::Pool& p
67#define LOG4CXX_WRITE_OUTPUT_STREAM_FORMAL_PARAMETERS ByteBuffer& buf, helpers::Pool& p
69 virtual void close() = 0;
70#define LOG4CXX_CLOSE_OUTPUT_STREAM_FORMAL_PARAMETERS
71 virtual void flush() = 0;
72#define LOG4CXX_FLUSH_OUTPUT_STREAM_FORMAL_PARAMETERS
73 virtual void write(ByteBuffer& buf) = 0;
74#define LOG4CXX_WRITE_OUTPUT_STREAM_FORMAL_PARAMETERS ByteBuffer& buf
78 [[deprecated(
"Use close() without a Pool parameter instead")]]
83 [[deprecated(
"Use flush() without a Pool parameter instead")]]
88 [[deprecated(
"Use write() without a Pool parameter instead")]]
89 void write(ByteBuffer& buf, Pool& p);
93 OutputStream(
const OutputStream&);
94 OutputStream& operator=(
const OutputStream&);
An area of memory and a cursor into that memory.
Definition bytebuffer.h:41
base class for java-like objects.
Definition object.h:102
Abstract class for writing to character streams.
Definition outputstream.h:34
virtual void flush(Pool &p)=0
void write(ByteBuffer &buf)
virtual void write(ByteBuffer &buf, Pool &p)=0
virtual void close(Pool &p)=0
#define LOG4CXX_CAST_ENTRY(Interface)
Definition object.h:154
#define DECLARE_ABSTRACT_LOG4CXX_OBJECT(object)
Definition object.h:37
#define END_LOG4CXX_CAST_MAP()
Definition object.h:148
#define BEGIN_LOG4CXX_CAST_MAP()
Definition object.h:142