DCL
4.0
Loading...
Searching...
No Matches
XOutputStream.h
Go to the documentation of this file.
1
#ifndef __DCL_XOUTPUT_STREAM_H__
2
#define __DCL_XOUTPUT_STREAM_H__ 20071009
3
4
#ifndef __DCL_OUTPUT_STREAM_H__
5
#include <
dcl/OutputStream.h
>
6
#endif
7
#ifndef __DCL_THREAD_H__
8
#include <
dcl/Thread.h
>
9
#endif
10
11
__DCL_BEGIN_NAMESPACE
12
37
class
DCLCAPI
XOutputStream :
public
OutputStream
38
{
39
DECLARE_CLASSINFO
(XOutputStream)
40
public
:
44
virtual
String
toString
()
const
;
45
54
XOutputStream(
OutputStream
*
__destroy__
_pOutput);
55
66
OutputStream
* setOutputStream(
OutputStream
*
__destroy__
_pOutput);
67
72
virtual
~XOutputStream();
73
78
virtual
void
close()
79
__DCL_THROWS1
(
IOException
*);
80
84
virtual
void
flush()
85
__DCL_THROWS1
(
IOException
*);
86
90
virtual
OutputStream
& write(
const
void
* _buf,
size_t
_n)
91
__DCL_THROWS1
(
IOException
*);
92
96
virtual
int
vprintf(
const
char
* _format, va_list _arglist)
97
__DCL_THROWS1
(
IOException
*);
98
99
private
:
100
OutputStream
* __output;
101
Thread::Mutex
__lock;
102
};
103
104
__DCL_END_NAMESPACE
105
106
#endif
// __DCL_XOUTPUT_STREAM_H__
__destroy__
#define __destroy__
Definition
Config.h:363
DCLCAPI
#define DCLCAPI
Definition
Config.h:100
__DCL_THROWS1
#define __DCL_THROWS1(e)
Definition
Config.h:167
DECLARE_CLASSINFO
#define DECLARE_CLASSINFO(class_name)
Definition
Object.h:210
OutputStream.h
Thread.h
IOException
Definition
Exception.h:93
Object::toString
virtual String toString() const
Definition
Object.cpp:187
OutputStream
Definition
OutputStream.h:31
Thread::Mutex
Definition
Thread.h:264
include
dcl
XOutputStream.h
Generated by
1.14.0