DCL 3.7.4
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 r += __T("(") + __input->toString() + __T(",");
27 if (__decoder)
28 r += __decoder->className();
29 else
30 r += __T("null");
31 r += __T(")");
32 }
33 else
34 r += __T(" closed");
35 return r;
36}
37
39{
40 __input = NULL;
42 __closeDestroy = false;
43 __extraBytes = 0;
44}
#define NULL
Definition Config.h:312
IOException *size_t r
Definition MediaInfo.cpp:82
#define __T(str)
Definition Object.h:60
CharsetDecoder * __decoder
InputStreamReader(InputStream &__noclose__ _input, CharsetDecoder &_decoder)
InputStream * __input