DCL 4.0
Loading...
Searching...
No Matches
OutputStreamWriter.cpp File Reference
#include <dcl/Config.h>
#include <dcl/Charset.h>
#include <dcl/OutputStreamWriter.h>

Go to the source code of this file.

Functions

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO (OutputStreamWriter, Writer) String OutputStreamWriter

Function Documentation

◆ IMPLEMENT_CLASSINFO()

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO ( OutputStreamWriter ,
Writer  )

Definition at line 23 of file OutputStreamWriter.cpp.

26{
27 StringBuilder r = className();
28 if (__output)
29 {
30 r += __T("(") + __output->toString() + __T(",");
31 if (__encoder)
32 r += __encoder->className();
33 else
34 r += __T("null");
35 r += __T(")");
36 }
37 else
38 r += __T(" closed");
39 return r;
40}
41
43{
44 __output = NULL;
46 __closeDestroy = false;
47}
#define NULL
Definition Config.h:340
#define __T(str)
Definition Object.h:44
ByteString r
CharsetEncoder * __encoder
OutputStreamWriter(OutputStream &__noclose__ _output, CharsetEncoder &_encoder)