|
|
|
1 |
|
// iostream standard header for Microsoft |
2 |
|
#pragma once |
3 |
|
#ifndef _IOSTREAM_ |
4 |
|
#define _IOSTREAM_ |
5 |
|
#ifndef RC_INVOKED |
6 |
|
#include <istream> |
7 |
|
|
8 |
|
#ifdef _MSC_VER |
9 |
|
#pragma pack(push,_CRT_PACKING) |
10 |
|
#pragma warning(push,3) |
11 |
|
#endif /* _MSC_VER */ |
12 |
|
_STD_BEGIN |
13 |
|
|
14 |
|
// OBJECTS |
15 |
|
#if !defined(_M_CEE_PURE) |
16 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 istream *_Ptr_cin; |
17 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 ostream *_Ptr_cout; |
18 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 ostream *_Ptr_cerr; |
19 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 ostream *_Ptr_clog; |
20 |
|
#endif // !defined(_M_CEE_PURE) |
21 |
|
|
22 |
|
#if !defined(_M_CEE_PURE) |
23 |
|
// CLASS _Winit |
24 |
|
class _CRTIMP2_PURE _Winit { |
25 |
|
public: |
26 |
|
__thiscall _Winit(); |
27 |
|
__thiscall ~_Winit(); |
28 |
|
private: |
29 |
|
__PURE_APPDOMAIN_GLOBAL static int _Init_cnt; |
30 |
|
}; |
31 |
|
#endif |
32 |
|
|
33 |
|
// WIDE OBJECTS |
34 |
|
#if !defined(_M_CEE_PURE) |
35 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 wistream *_Ptr_wcin; |
36 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 wostream *_Ptr_wcout; |
37 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 wostream *_Ptr_wcerr; |
38 |
|
__PURE_APPDOMAIN_GLOBAL extern _CRTDATA2 wostream *_Ptr_wclog; |
39 |
|
#endif // !defined(_M_CEE_PURE) |
40 |
|
|
41 |
|
#ifdef _M_CEE_PURE |
42 |
|
extern istream &cin; |
43 |
|
extern ostream &cout; |
44 |
|
extern ostream &cerr; |
45 |
|
extern ostream &clog; |
46 |
|
|