annotate lib/swig/swigwin-2.0.11/Lib/std/std_ios.i @ 1980:c1c74df0a33e

changing most of auto types to their actual types
author Grumpy7
date Wed, 30 Oct 2013 00:47:37 -0700
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 %include <std_char_traits.i>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 %include <std_basic_string.i>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 %include <std_except.i>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 %{
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 #ifndef SWIG_STD_NOMODERN_STL
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6 # include <ios>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 #else
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 # include <streambuf.h>
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10 %}
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12 namespace std {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 template<typename _CharT, typename _Traits = char_traits<_CharT> >
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 class basic_streambuf;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 template<typename _CharT, typename _Traits = char_traits<_CharT> >
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 class basic_istream;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 template<typename _CharT, typename _Traits = char_traits<_CharT> >
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 class basic_ostream;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23 // 27.4.2 Class ios_base
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
24 typedef size_t streamsize;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
25
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
26 class locale;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
27
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
28
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
29 class ios_base
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
30 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
31 public:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
32
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
33 #ifdef SWIG_NESTED_CLASSES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
34 // 27.4.2.1.1 Class ios_base::failure
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
35 class failure : public exception
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
36 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
37 public:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
38 explicit failure(const string& __str) throw();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
39 };
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
40 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
41
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
42 // 27.4.2.1.2 Type ios_base::fmtflags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
43 typedef int fmtflags;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
44 // 27.4.2.1.2 Type fmtflags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
45 static const fmtflags boolalpha ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
46 static const fmtflags dec ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
47 static const fmtflags fixed ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
48 static const fmtflags hex ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
49 static const fmtflags internal ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
50 static const fmtflags left ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
51 static const fmtflags oct ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
52 static const fmtflags right ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
53 static const fmtflags scientific ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
54 static const fmtflags showbase ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
55 static const fmtflags showpoint ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
56 static const fmtflags showpos ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
57 static const fmtflags skipws ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
58 static const fmtflags unitbuf ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
59 static const fmtflags uppercase ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
60 static const fmtflags adjustfield ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
61 static const fmtflags basefield ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
62 static const fmtflags floatfield ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
63
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
64 // 27.4.2.1.3 Type ios_base::iostate
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
65 typedef int iostate;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
66 static const iostate badbit ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
67 static const iostate eofbit ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
68 static const iostate failbit ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
69 static const iostate goodbit ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
70
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
71 // 27.4.2.1.4 Type openmode
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
72 typedef int openmode;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
73 static const openmode app ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
74 static const openmode ate ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
75 static const openmode binary ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
76 static const openmode in ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
77 static const openmode out ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
78 static const openmode trunc ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
79
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
80 // 27.4.2.1.5 Type seekdir
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
81 typedef int seekdir;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
82 static const seekdir beg ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
83 static const seekdir cur ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
84 static const seekdir end ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
85
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
86
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
87 // Callbacks;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
88 enum event
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
89 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
90 erase_event,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
91 imbue_event,
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
92 copyfmt_event
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
93 };
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
94
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
95 typedef void (*event_callback) (event, ios_base&, int);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
96
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
97 void
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
98 register_callback(event_callback __fn, int __index);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
99
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
100 // Fmtflags state:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
101 inline fmtflags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
102 flags() const ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
103
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
104 inline fmtflags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
105 flags(fmtflags __fmtfl);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
106
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
107 inline fmtflags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
108 setf(fmtflags __fmtfl);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
109
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
110 inline fmtflags
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
111 setf(fmtflags __fmtfl, fmtflags __mask);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
112
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
113 inline void
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
114 unsetf(fmtflags __mask) ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
115
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
116 inline streamsize
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
117 precision() const ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
118
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
119 inline streamsize
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
120 precision(streamsize __prec);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
121
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
122 inline streamsize
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
123 width() const ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
124
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
125 inline streamsize
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
126 width(streamsize __wide);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
127
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
128 static bool
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
129 sync_with_stdio(bool __sync = true);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
130
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
131 // Locales:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
132 locale
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
133 imbue(const locale& __loc);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
134
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
135 inline locale
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
136 getloc() const { return _M_ios_locale; }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
137
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
138 // Storage:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
139 static int
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
140 xalloc() throw();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
141
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
142 inline long&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
143 iword(int __ix);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
144
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
145 inline void*&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
146 pword(int __ix);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
147
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
148 // Destructor
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
149 ~ios_base();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
150
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
151 protected:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
152 ios_base();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
153
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
154 //50. Copy constructor and assignment operator of ios_base
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
155 private:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
156 ios_base(const ios_base&);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
157
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
158 ios_base&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
159 operator=(const ios_base&);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
160 };
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
161
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
162 template<typename _CharT, typename _Traits = char_traits<_CharT> >
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
163 class basic_ios : public ios_base
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
164 {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
165 public:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
166 // Types:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
167 typedef _CharT char_type;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
168 typedef typename _Traits::int_type int_type;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
169 typedef typename _Traits::pos_type pos_type;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
170 typedef typename _Traits::off_type off_type;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
171 typedef _Traits traits_type;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
172
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
173 public:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
174
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
175 iostate
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
176 rdstate() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
177
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
178 void
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
179 clear(iostate __state = goodbit);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
180
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
181 void
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
182 setstate(iostate __state);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
183
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
184 bool
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
185 good() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
186
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
187 bool
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
188 eof() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
189
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
190 bool
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
191 fail() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
192
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
193 bool
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
194 bad() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
195
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
196 iostate
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
197 exceptions() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
198
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
199 void
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
200 exceptions(iostate __except);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
201
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
202 // Constructor/destructor:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
203 explicit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
204 basic_ios(basic_streambuf<_CharT, _Traits>* __sb) : ios_base();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
205
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
206 virtual
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
207 ~basic_ios() ;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
208
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
209 // Members:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
210 basic_ostream<_CharT, _Traits>*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
211 tie() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
212
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
213 basic_ostream<_CharT, _Traits>*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
214 tie(basic_ostream<_CharT, _Traits>* __tiestr);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
215
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
216 basic_streambuf<_CharT, _Traits>*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
217 rdbuf() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
218
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
219 basic_streambuf<_CharT, _Traits>*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
220 rdbuf(basic_streambuf<_CharT, _Traits>* __sb);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
221
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
222 basic_ios&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
223 copyfmt(const basic_ios& __rhs);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
224
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
225 char_type
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
226 fill() const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
227
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
228 char_type
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
229 fill(char_type __ch);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
230
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
231 // Locales:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
232 locale
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
233 imbue(const locale& __loc);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
234
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
235 char
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
236 narrow(char_type __c, char __dfault) const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
237
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
238 char_type
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
239 widen(char __c) const;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
240
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
241 protected:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
242 // 27.4.5.1 basic_ios constructors
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
243 basic_ios();
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
244 private:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
245 ios_base(const ios_base&);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
246
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
247 ios_base&
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
248 operator=(const ios_base&);
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
249 };
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
250
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
251 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
252
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
253 namespace std {
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
254 %template(ios) basic_ios<char>;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
255 #if defined(SWIG_WCHAR)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
256 %template(wios) basic_ios<wchar_t>;
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
257 #endif
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
258 }
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
259
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
260