equal
deleted
inserted
replaced
53 typedef basic_streambuf<char, char_traits<char> > _Base; |
53 typedef basic_streambuf<char, char_traits<char> > _Base; |
54 typedef void* (*__alloc_fn)(size_t); |
54 typedef void* (*__alloc_fn)(size_t); |
55 typedef void (*__free_fn)(void*); |
55 typedef void (*__free_fn)(void*); |
56 public: // Constructor, destructor |
56 public: // Constructor, destructor |
57 |
57 |
58 explicit strstreambuf(streamsize _Initial_capacity = 0); |
58 _STLP_DECLSPEC explicit strstreambuf(streamsize _Initial_capacity = 0); |
59 |
59 |
60 _STLP_DECLSPEC strstreambuf(__alloc_fn, __free_fn); |
60 _STLP_DECLSPEC strstreambuf(__alloc_fn, __free_fn); |
61 |
61 |
62 _STLP_DECLSPEC strstreambuf(char* __get, streamsize __n, char* __put = 0); |
62 _STLP_DECLSPEC strstreambuf(char* __get, streamsize __n, char* __put = 0); |
63 _STLP_DECLSPEC strstreambuf(signed char* __get, streamsize __n, signed char* __put = 0); |
63 _STLP_DECLSPEC strstreambuf(signed char* __get, streamsize __n, signed char* __put = 0); |
142 public: |
142 public: |
143 _STLP_DECLSPEC explicit istrstream(char*); |
143 _STLP_DECLSPEC explicit istrstream(char*); |
144 _STLP_DECLSPEC explicit istrstream(const char*); |
144 _STLP_DECLSPEC explicit istrstream(const char*); |
145 _STLP_DECLSPEC istrstream(char* , streamsize); |
145 _STLP_DECLSPEC istrstream(char* , streamsize); |
146 _STLP_DECLSPEC istrstream(const char*, streamsize); |
146 _STLP_DECLSPEC istrstream(const char*, streamsize); |
147 virtual ~istrstream(); |
147 _STLP_DECLSPEC virtual ~istrstream(); |
148 |
148 |
149 _STLP_DECLSPEC strstreambuf* rdbuf() const; |
149 _STLP_DECLSPEC strstreambuf* rdbuf() const; |
150 _STLP_DECLSPEC char* str(); |
150 _STLP_DECLSPEC char* str(); |
151 |
151 |
152 private: |
152 private: |
162 #endif |
162 #endif |
163 { |
163 { |
164 public: |
164 public: |
165 _STLP_DECLSPEC ostrstream(); |
165 _STLP_DECLSPEC ostrstream(); |
166 _STLP_DECLSPEC ostrstream(char*, int, ios_base::openmode = ios_base::out); |
166 _STLP_DECLSPEC ostrstream(char*, int, ios_base::openmode = ios_base::out); |
167 virtual ~ostrstream(); |
167 _STLP_DECLSPEC virtual ~ostrstream(); |
168 |
168 |
169 _STLP_DECLSPEC strstreambuf* rdbuf() const; |
169 _STLP_DECLSPEC strstreambuf* rdbuf() const; |
170 _STLP_DECLSPEC void freeze(bool = true); |
170 _STLP_DECLSPEC void freeze(bool = true); |
171 _STLP_DECLSPEC char* str(); |
171 _STLP_DECLSPEC char* str(); |
172 _STLP_DECLSPEC int pcount() const; |
172 _STLP_DECLSPEC int pcount() const; |
189 typedef char_traits<char>::pos_type pos_type; |
189 typedef char_traits<char>::pos_type pos_type; |
190 typedef char_traits<char>::off_type off_type; |
190 typedef char_traits<char>::off_type off_type; |
191 |
191 |
192 _STLP_DECLSPEC strstream(); |
192 _STLP_DECLSPEC strstream(); |
193 _STLP_DECLSPEC strstream(char*, int, ios_base::openmode = ios_base::in | ios_base::out); |
193 _STLP_DECLSPEC strstream(char*, int, ios_base::openmode = ios_base::in | ios_base::out); |
194 virtual ~strstream(); |
194 _STLP_DECLSPEC virtual ~strstream(); |
195 |
195 |
196 _STLP_DECLSPEC strstreambuf* rdbuf() const; |
196 _STLP_DECLSPEC strstreambuf* rdbuf() const; |
197 _STLP_DECLSPEC void freeze(bool = true); |
197 _STLP_DECLSPEC void freeze(bool = true); |
198 _STLP_DECLSPEC int pcount() const; |
198 _STLP_DECLSPEC int pcount() const; |
199 _STLP_DECLSPEC char* str(); |
199 _STLP_DECLSPEC char* str(); |