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

Go to the source code of this file.

Macros

#define __BUFFER_SIZE__   1024

Functions

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO (InputStreamReader, Reader) String InputStreamReader

Macro Definition Documentation

◆ __BUFFER_SIZE__

#define __BUFFER_SIZE__   1024

Function Documentation

◆ IMPLEMENT_CLASSINFO()

__DCL_BEGIN_NAMESPACE IMPLEMENT_CLASSINFO ( InputStreamReader ,
Reader  )

Definition at line 20 of file InputStreamReader.cpp.

23{
24 StringBuilder r = className();
25 if (__input)
26 {
27 r += __T("(") + __input->toString() + __T(",");
28 if (__decoder)
29 r += __decoder->className();
30 else
31 r += __T("null");
32 r += __T(")");
33 }
34 else
35 r += __T(" closed");
36 return r;
37}
38
40{
41 __input = NULL;
43 __closeDestroy = false;
44 __extraBytes = 0;
45}
#define NULL
Definition Config.h:340
#define __T(str)
Definition Object.h:44
ByteString r
CharsetDecoder * __decoder
InputStreamReader(InputStream &__noclose__ _input, CharsetDecoder &_decoder)
InputStream * __input